Bug 385798

Summary: Text lines is not aligned to line numbers, and text is covered by selection background
Product: [Applications] kate Reporter: efanzh
Component: partAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: a.samirh78, christoph, loh.tar
Priority: NOR    
Version: 17.08.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A screenshot of the problems.
New screenshot
Works here

Description efanzh 2017-10-16 04:57:18 UTC
Created attachment 108369 [details]
A screenshot of the problems.

Enter these lines into your editor:

123abc
123abc
123abc一二三
123abc
123abc

The primary font of my editor is Consolas, and the fallback font of my editor is Source Han Sans. If your font settings is the same as mine, you may find that the third line is not aligned to the line number. I think the vertical text line should be adjusted according to the baseline of the text line instead of the top of the text line.

Another problem, if you select the third line, you may find that the fourth line is partially covered by the selection background of the third line.
Comment 1 Ahmad Samir 2019-06-26 18:42:17 UTC
Is this still valid?
Comment 2 efanzh 2019-06-29 03:49:13 UTC
(In reply to Ahmad Samir from comment #1)
> Is this still valid?

Now the texts are not covered by the selection background, but they are covered by the normal background of the next line; also the texts are still not aligned to the line numbers.

I have added a new screenshot to show the problem.
Comment 3 efanzh 2019-06-29 03:49:48 UTC
Created attachment 121216 [details]
New screenshot
Comment 4 Bug Janitor Service 2019-07-14 04:33:09 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 efanzh 2019-07-14 05:06:46 UTC
Update status.
Comment 6 Lothar 2019-07-14 11:02:36 UTC
Created attachment 121511 [details]
Works here

Frameworks 5.59.0
Version 19.04.2

Perhaps a font issue?
Comment 7 Christoph Cullmann 2019-07-14 11:09:40 UTC
Works for me, too.
This is a issue with some fonts that don't behave like one wants :/
In the end this is just one other variant of bug 404907.

*** This bug has been marked as a duplicate of bug 404907 ***