Bug 419910

Summary: Transparent 1 pixel lines appear when 1.5x scaling is used (vertical, horizontal, next to cursor)
Product: [Applications] konsole Reporter: kde
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, nate
Priority: NOR    
Version: 19.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot showing the issue.
Screenshot showing the issue.
Horizontal lines appearing with different font

Description kde 2020-04-10 10:38:53 UTC
Created attachment 127422 [details]
Screenshot showing the issue.

SUMMARY
When running with 150% screen scaling, the cursor has a 1 px white (it's probably not white, but "undefined" border on the right side.)

STEPS TO REPRODUCE
1. Set scaling factor to 1.5 in System Settings
2. Open Konsole
3. Change to a different directory -- this seems to trigger it reliably

OBSERVED RESULT

Blinking cursor with a 1 pixel wide border on the right

EXPECTED RESULT

No white border
SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 kde 2020-04-10 10:42:17 UTC
Created attachment 127423 [details]
Screenshot showing the issue.

This is the issue -- notice the one pixel border on the right hand side of the block cursor.
Comment 2 kde 2020-04-10 10:49:47 UTC
The border is btw 1 *transparent* pixel wide, so you can see the window *below* through it. That it's white was just a coincidence. The same issue appears in the menu, the "black" line next to "Help" is in fact the same kind of 1 pixel transparent line.
Comment 3 kde 2020-04-10 11:52:05 UTC
I also noticed that this is font-dependent. With different fonts, I also get horizontal lines appearing; sometimes below links, sometimes across the full width. If I had to guess, I'd say some font metric is rounded (line height/width) and does not match the actual glyph size.
Comment 4 kde 2020-04-10 11:52:24 UTC
Created attachment 127424 [details]
Horizontal lines appearing with different font
Comment 5 Patrick Silva 2020-04-10 18:19:09 UTC
horizontal lines is a known bug, see bug 373232.
Comment 6 Nate Graham 2020-04-15 03:25:34 UTC

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