Feed Advanced Search

Mar 22 2022

waqar closed T10863: When writing in Kate in a RTL language, Kate acts weird as Resolved.
Mar 22 2022, 6:07 PM · KTextEditor, Kate

Jan 22 2022

jack_sprat added a comment to D16668: Remove document preview plugin: current technology harms workflow.

Hi - this isn't a proposal for a fix, but as a keen user of the preview plug-in, I thought I'd mention my workaround - which is good enough to make it usable, which is what I want to be able to avoid having to switch tools for text creation/editing.

Jan 22 2022, 11:59 PM · Kate

Jun 4 2021

gpark added a watcher for Kate: gpark.
Jun 4 2021, 6:31 AM

May 6 2021

iothes added a comment to T13399: T13075 Sidebar and navigation mock ups.

Made some mockups, showing the various colors, some KDE apps can include.



There are more to do, I know. But those are some of those widgets and decorations you can find around.

May 6 2021, 9:23 PM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG

Jan 2 2021

waqar added a watcher for Kate: waqar.
Jan 2 2021, 6:56 PM

Dec 11 2020

waqar added a comment to T10863: When writing in Kate in a RTL language, Kate acts weird.
Dec 11 2020, 10:48 AM · KTextEditor, Kate
safaalfulaij added a comment to T10863: When writing in Kate in a RTL language, Kate acts weird.

This is the Qt issue similar to the one in KTextEditor:
https://bugreports.qt.io/browse/QTBUG-71489

Dec 11 2020, 10:35 AM · KTextEditor, Kate
waqar added a project to T10863: When writing in Kate in a RTL language, Kate acts weird: KTextEditor.
Dec 11 2020, 10:25 AM · KTextEditor, Kate
waqar updated subscribers of T10863: When writing in Kate in a RTL language, Kate acts weird.
Dec 11 2020, 10:25 AM · KTextEditor, Kate
waqar added a comment to T10863: When writing in Kate in a RTL language, Kate acts weird.

I just stumbled upon this bug (issue #1) recently and it is quite annoying. I believe this is a bug in Kate, and not in Qt and it triggers with the space character. So, if you are writing a line which hits the border and wraps, it wont have this issue unless the last character before the wrap was a space.

Dec 11 2020, 10:24 AM · KTextEditor, Kate

Oct 10 2020

cullmann abandoned D25339: update lineHeight if boundingRect indicates a larger value..
Oct 10 2020, 7:13 PM · Frameworks, Kate
cullmann commandeered D25339: update lineHeight if boundingRect indicates a larger value..

I think the solution we have in current master is ok enough.

Oct 10 2020, 7:13 PM · Frameworks, Kate

Sep 6 2020

ngraham closed T11064: Improve the UI for the "make the editor follow the system color scheme" feature as Resolved.

This was done in https://invent.kde.org/frameworks/ktexteditor/-/merge_requests/20!

Sep 6 2020, 6:19 PM · VDG, KTextEditor, Kate

Aug 11 2020

cullmann abandoned D23410: improve word completion to use highlighting to detect word boundaries.

At the moment no idea how to fix that without regressions.

Aug 11 2020, 4:22 PM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

I think we went with the solution in https://phabricator.kde.org/D29789, could we close this?

Aug 11 2020, 4:16 PM · Frameworks, Kate

Jul 14 2020

PhilipB added a comment to T13399: T13075 Sidebar and navigation mock ups.
Jul 14 2020, 4:23 PM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG
ngraham added a comment to T13399: T13075 Sidebar and navigation mock ups.

Oh jeez, I love it.

Jul 14 2020, 2:28 AM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG
PhilipB added a comment to T13399: T13075 Sidebar and navigation mock ups.
Jul 14 2020, 2:25 AM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG
PhilipB updated the task description for T13399: T13075 Sidebar and navigation mock ups.
Jul 14 2020, 2:22 AM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG
PhilipB updated the task description for T13399: T13075 Sidebar and navigation mock ups.
Jul 14 2020, 2:21 AM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG
PhilipB updated the task description for T13399: T13075 Sidebar and navigation mock ups.
Jul 14 2020, 2:20 AM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG
PhilipB added parent tasks for T13399: T13075 Sidebar and navigation mock ups: T12420: Redesign/tweak applications, T11093: Improve Consistency across the Board, T11153: Unify sidebar appearance.
Jul 14 2020, 2:18 AM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG
PhilipB created T13399: T13075 Sidebar and navigation mock ups.
Jul 14 2020, 2:17 AM · Plasma: Convergence, Kate, Breeze, Goal: Consistency, VDG

May 22 2020

apol closed D28235: Add a simpler example.
May 22 2020, 3:02 PM · Frameworks, Kate
cullmann accepted D28235: Add a simpler example.

;=) Actually, I just missed this request, sorry.

May 22 2020, 2:53 PM · Frameworks, Kate
apol added a comment to D28235: Add a simpler example.

Should I understand this is not desired and that I should abandon it?

May 22 2020, 2:45 PM · Frameworks, Kate

May 20 2020

nibags abandoned D29793: Rename Perl6 syntax to Raku.

This is equivalent to: https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/1

May 20 2020, 2:33 PM · Frameworks, Kate
nibags abandoned D29795: Add collaboration guide.

This is moved to https://invent.kde.org/frameworks/syntax-highlighting/-/merge_requests/2

May 20 2020, 2:09 PM · Frameworks, Kate
nibags updated the diff for D29793: Rename Perl6 syntax to Raku.
  • Fix extensions and unit tests
May 20 2020, 12:57 PM · Frameworks, Kate
nibags added a comment to D29795: Add collaboration guide.

I put it all in the README. I also corrected the repository, I had not noticed that this repository was already in GitLab!

May 20 2020, 11:27 AM · Frameworks, Kate
nibags updated the diff for D29795: Add collaboration guide.
  • Add collaboration guide in the README file
May 20 2020, 11:22 AM · Frameworks, Kate

May 18 2020

cullmann accepted D29793: Rename Perl6 syntax to Raku.

I think it makes sense to have just "Raku", the world at large (like me) only recognizes Perl 5 as Perl .P

May 18 2020, 1:57 PM · Frameworks, Kate
cullmann added a comment to D29795: Add collaboration guide.

I think this is very good thing to have.
But perhaps we just should add that to the README.md that is prominently shown on e.g. https://invent.kde.org/frameworks/syntax-highlighting
The README anyways already contains a "Adding unit tests for a syntax definition" that could be replaced with this.

May 18 2020, 1:56 PM · Frameworks, Kate
cullmann closed D29789: Make text always align with font base line.
May 18 2020, 1:52 PM · Frameworks, Kate
cullmann accepted D29789: Make text always align with font base line.

Hmm, looks better for me, too.
Let's go with this at the moment.
If it creates issues, we can still revert it again.
Thanks for taking care of this.

May 18 2020, 1:51 PM · Frameworks, Kate

May 17 2020

brauch added a comment to D29789: Make text always align with font base line.

Hmm, consider though that a configuration option should be something that gives a choice to the user. It shouldn't be necessary to set a config option in order to make the program behave correctly.

May 17 2020, 5:34 PM · Frameworks, Kate
xuetianweng added a comment to D29789: Make text always align with font base line.

I like this patch. In fact, I observed over the past years again and again that sometimes, especially if chinese or similar letters are included, the baseline is wrong in Kate, leading to much more overpainting that needed.
If this patch fixes this, then I'm all for it. Or let's put it like this: The current implementation is wrong, this patch looks less wrong than the current state :-)

+1

May 17 2020, 5:28 PM · Frameworks, Kate

May 16 2020

dhaumann added a comment to D29789: Make text always align with font base line.

I like this patch. In fact, I observed over the past years again and again that sometimes, especially if chinese or similar letters are included, the baseline is wrong in Kate, leading to much more overpainting that needed.
If this patch fixes this, then I'm all for it. Or let's put it like this: The current implementation is wrong, this patch looks less wrong than the current state :-)

May 16 2020, 9:16 PM · Frameworks, Kate
nibags requested review of D29795: Add collaboration guide.
May 16 2020, 10:07 AM · Frameworks, Kate
nibags updated the summary of D29793: Rename Perl6 syntax to Raku.
May 16 2020, 5:42 AM · Frameworks, Kate
nibags requested review of D29793: Rename Perl6 syntax to Raku.
May 16 2020, 5:35 AM · Frameworks, Kate

May 15 2020

xuetianweng added a comment to D29789: Make text always align with font base line.

This is my another try as an alternative solution to D25339. Actually this works surprisingly good IMHO, at least for CJK users for most cases.

May 15 2020, 11:42 PM · Frameworks, Kate
xuetianweng updated the summary of D29789: Make text always align with font base line.
May 15 2020, 11:41 PM · Frameworks, Kate
xuetianweng requested review of D29789: Make text always align with font base line.
May 15 2020, 11:38 PM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Actually I was trying to use this approach in the patch because I was afraid that variable line height may need to estimate the whole document height to make scroll work correctly.

May 15 2020, 11:01 PM · Frameworks, Kate
cullmann closed D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".
May 15 2020, 3:45 PM · Frameworks, Framework: Syntax Highlighting, Kate
cullmann added a comment to D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".

Sure, thanks for the improvement!

May 15 2020, 3:45 PM · Frameworks, Framework: Syntax Highlighting, Kate
cullmann added a comment to D27844: Store and fetch complete view config in and from session config.

Hmm, right, didn't think about that :(
Guess if we want to have this, we need to improve the read/writeConfig functions.

May 15 2020, 3:43 PM · Frameworks, Kate
kossebau added a comment to D27844: Store and fetch complete view config in and from session config.

I suggest to revert, and send a notification with the change to kde-distro-packager@kde.org to avoid that many users break their configuration.

May 15 2020, 8:44 AM · Frameworks, Kate
dhaumann added a comment to D27844: Store and fetch complete view config in and from session config.

I suggest to revert, and send a notification with the change to kde-distro-packager@kde.org to avoid that many users break their configuration.

May 15 2020, 5:23 AM · Frameworks, Kate

May 14 2020

kossebau added a comment to D27844: Store and fetch complete view config in and from session config.

Seems this change has some sideeffects I did not experience when I played with this, but which are now uncovering as it hits people usinjg KF 5.70 :
config seems to write any settings, also the ones inherited from global defaults, as view-specific settings, and when reading them in again on session restart, they all become view-specific overrides, thus no longer influencable by global settings. Is that due to some other change elsewhere, or did I just completely miss this?

May 14 2020, 1:47 PM · Frameworks, Kate
dhaumann updated subscribers of D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".

@cullmann could you integrate this?

May 14 2020, 6:33 AM · Frameworks, Framework: Syntax Highlighting, Kate
dhaumann accepted D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".

Good catch :) please commit

May 14 2020, 6:31 AM · Frameworks, Framework: Syntax Highlighting, Kate
bewuethr requested review of D29735: Assign "Identifier" attribute to opening double quote instead of "Comment".
May 14 2020, 4:07 AM · Frameworks, Framework: Syntax Highlighting, Kate

May 13 2020

davidedmundson closed D29680: Fix modified line marker in kate minimap.
May 13 2020, 10:02 AM · Frameworks, Kate

May 12 2020

sars accepted D29680: Fix modified line marker in kate minimap.

Thanks for the patch! I had not noticed the problem before :)

May 12 2020, 3:43 PM · Frameworks, Kate
ngraham added a comment to D29680: Fix modified line marker in kate minimap.

Ah right, that's still here.

May 12 2020, 2:41 PM · Frameworks, Kate
davidedmundson added a comment to D29680: Fix modified line marker in kate minimap.

What about ktexteditor?

May 12 2020, 2:40 PM · Frameworks, Kate
ngraham added a comment to D29680: Fix modified line marker in kate minimap.

Kate patches are at https://invent.kde.org/kde/kate/-/merge_requests, BTW.

May 12 2020, 2:40 PM · Frameworks, Kate
davidedmundson requested review of D29680: Fix modified line marker in kate minimap.
May 12 2020, 2:39 PM · Frameworks, Kate

May 9 2020

dhaumann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Looking at the code, might it make more sense to just move away from the fixed height we have?

May 9 2020, 3:48 PM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..
I assume the lineHeight usages in the renderer are easy to replace with the proper "height()" of the individual lines of the layout.
May 9 2020, 2:56 PM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

see e.g. here for a start of using the right heights inside the renderer.

May 9 2020, 2:31 PM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..
Looking at the code, might it make more sense to just move away from the fixed height we have?
It isn't used that often and in most cases one could just query the height of the current line.

I'd be all for that, provided it doesn't introduce any regressions in the rendered result nor in rendering time.

It could be trickier to implement than you think though?

May 9 2020, 2:16 PM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..
Looking at the code, might it make more sense to just move away from the fixed height we have?
It isn't used that often and in most cases one could just query the height of the current line.
May 9 2020, 12:06 PM · Frameworks, Kate
cullmann closed D29354: Bash: fix comments after escapes.
May 9 2020, 11:09 AM · Frameworks, Kate
cullmann accepted D29354: Bash: fix comments after escapes.

Same here ;=) Thanks a lot for the work on all this issues!

May 9 2020, 11:09 AM · Frameworks, Kate
cullmann closed D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 9 2020, 11:08 AM · Frameworks, Kate
cullmann accepted D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 9 2020, 11:08 AM · Frameworks, Kate
cullmann added a comment to D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.

Looks fine for me, thanks for improvement!

May 9 2020, 11:08 AM · Frameworks, Kate
cullmann added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Looking at the code, might it make more sense to just move away from the fixed height we have?
It isn't used that often and in most cases one could just query the height of the current line.
That would solve this issue without needing any hacks for the rendering I think.

May 9 2020, 10:55 AM · Frameworks, Kate

May 8 2020

nibags updated the summary of D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 8 2020, 7:53 AM · Frameworks, Kate
nibags requested review of D29521: LaTeX: fix folding in \end{...} and in regions markers BEGIN-END.
May 8 2020, 7:52 AM · Frameworks, Kate

May 7 2020

rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

the code can be smart

May 7 2020, 6:42 PM · Frameworks, Kate
ahmadsamir added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

[...]

As for higher line, it might not as bad as you thought as it actually might improve readability for many people.

I agree with this statement :). Thanks to this diff I found out where the line height can be manipulated; the way the code computed it, fontHeight was 34 (IIRC), I've hardcoded it to 40 and I very much prefer reading text that way.

May 7 2020, 6:03 PM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

With "we've ever seen" you do mean that lineheight only changes when a line that requires it scrolls into view?

Though line height won't shrink during the edit phase, it will back to the actual value upon save.

Have you tried to reset the max. lineheight on each redraw (I presume the scrollbars could give you a signal that a view scroll/jump was initiated, if need be).
Something tells me that it'd be nicer if lineheight always is as small as possible. Imagine you're using a smallish window to edit a document that just has some of these "offending", much higher characters at the bottom. If it gets into view only once, lineheight increases and it's as if you lose a lot of screen estate until you save the document. Now I mustn't be the only one who often doesn't save for a while, esp. when doing things like moving blocks of text around, and it's exactly in that kind of scenario where having to save to get a more space-efficient rendering back can be very annoying.

As long as you can determine the max. lineheight required for the view that's about to be drawn before the view is actually drawn there should be no glitches. You'd just see a jump in lineheight and there would probably be an interesting problem to tackle with edge cases where the higher glyphs fall outside the view area because of the increased lineheight, but that's something your current implementation cannot avoid completely either. As to the changing lineheight: I think users will understand why it happens and get used to it. It's comparable to what you see in graphics programmes that show cursor co-ordinates next to the cursor; that indicator has to jump when it would get "pushed out" of the view, and that doesn't even feel weird.

I presume your new approach would work not just for CJK characters, but also for anything else that changes the lineheight. That's and advantage but could also lead to regressions for some (who never use CJK characters or who, like me, wouldn't care how they display because they can't read them anyway). Emoticons come to mind; here too I don't really care if they get cut off. Scrap that, I *really* don't care if they are...

May 7 2020, 5:48 PM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

This new version does not cause a lineheight regression for me (after backporting it to 5.60.0). However, contrary to what I thought it does not react to emoji

May 7 2020, 12:39 PM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

With "we've ever seen" you do mean that lineheight only changes when a line that requires it scrolls into view?

May 7 2020, 8:31 AM · Frameworks, Kate
anthonyfieroni added inline comments to D25339: update lineHeight if boundingRect indicates a larger value..
May 7 2020, 5:58 AM · Frameworks, Kate
xuetianweng updated the test plan for D25339: update lineHeight if boundingRect indicates a larger value..
May 7 2020, 5:37 AM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

I'm not sure if this is the right way to do it or it might cause any glitch, but here we go. Upon line rendering, update the maximum height we've ever seen.

May 7 2020, 5:36 AM · Frameworks, Kate
xuetianweng updated the diff for D25339: update lineHeight if boundingRect indicates a larger value..

Use actual line height instead of representitive character.

May 7 2020, 5:33 AM · Frameworks, Kate
fakefred added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

... or you could give me some hint on that?

Too bad I can't; it's been no more than a month since I began my study into KDE applications. I'd love to test out if someone provides a genius solution, though.

May 7 2020, 4:53 AM · Frameworks, Kate
xuetianweng added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

I second the as-an-option proposal. Hey, why not automatically increase the line height when CJK characters are detected?

May 7 2020, 4:32 AM · Frameworks, Kate

May 5 2020

brauch added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

I second the as-an-option proposal. Hey, why not automatically increase the line height when CJK characters are detected?

May 5 2020, 3:50 PM · Frameworks, Kate
fakefred added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

I second the as-an-option proposal. Hey, why not automatically increase the line height when CJK characters are detected?

May 5 2020, 12:23 PM · Frameworks, Kate
pshinjo added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

doesn't it give you US-ASCII canonical representations of every possible glyph?

May 5 2020, 10:45 AM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

Yes, but look at the traditional meaning of a text editor, which typically means "plain text" editor. KTextEditor's design decision to use a single lineheight puts it squarely in that domain - to reply in style: It's "TKextEditor", not "KRichTextEditor" (and even less "KWordProcessor") ...

May 5 2020, 9:23 AM · Frameworks, Kate
sars added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

I'm starting to think that we need an option for enabling/disabling this change/feature. I would not want to have the extra space between the lines, but at the same time I can see that actually not seeing the whole character is not an acceptable situation...

May 5 2020, 5:29 AM · Frameworks, Kate
fakefred added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

but that's hardly the domain of application for a text editing framework.

May 5 2020, 12:51 AM · Frameworks, Kate

May 4 2020

pshinjo added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

This patch is only needed when mixing a main Latin1 (like) alphanumeric font with occasional glyphs from a font that have a different, taller height?

May 4 2020, 9:14 PM · Frameworks, Kate
rjvbb added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

This patch is only needed when mixing a main Latin1 (like) alphanumeric font with occasional glyphs from a font that have a different, taller height?

May 4 2020, 8:37 PM · Frameworks, Kate
pshinjo added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

And what I'd like to point is, for CJK users, it is uncommon for them to select a single font to cover all the characters, because such fonts are really rare. People usually select one latin only font and just let system (fontconfig) select the fallback for them.

May 4 2020, 7:39 PM · Frameworks, Kate
rjvbb requested changes to D25339: update lineHeight if boundingRect indicates a larger value..

I can't speak for the special cases where this change would improve matters, but for me it introduces a clear regression (waste of vertical space: 12 lines less) in a basic ascii code editing context. Font used is Ubuntu Mono 10pt.

May 4 2020, 5:47 PM · Frameworks, Kate
fakefred added a comment to D25339: update lineHeight if boundingRect indicates a larger value..

So I tested this, great improvements regarding line height can be seen:

May 4 2020, 9:18 AM · Frameworks, Kate

May 2 2020

nibags updated the summary of D29354: Bash: fix comments after escapes.
May 2 2020, 4:47 AM · Frameworks, Kate
nibags updated the summary of D29354: Bash: fix comments after escapes.
May 2 2020, 4:42 AM · Frameworks, Kate
nibags requested review of D29354: Bash: fix comments after escapes.
May 2 2020, 4:40 AM · Frameworks, Kate

Apr 26 2020

cullmann added a reviewer for D25339: update lineHeight if boundingRect indicates a larger value.: Frameworks.

I tried the current version.
For me this looks OK now.
Thought I would like to have more people trying this out before we merge.
Some volunteers?

Apr 26 2020, 12:03 PM · Frameworks, Kate

Apr 25 2020

cullmann closed D28870: Updated test file for Logtalk syntax highlighting.
Apr 25 2020, 1:39 PM · Frameworks, Kate