Bug 431171

Summary: 1px artifact in Konsole
Product: [Applications] konsole Reporter: Vuk Mirovic <contact>
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal CC: aylamz, nate, tumaix
Priority: NOR    
Version: 20.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of artifact

Description Vuk Mirovic 2021-01-05 08:25:05 UTC
Created attachment 134564 [details]
Screenshot of artifact

SUMMARY
When doing reverse search in Konsole, 1px artifacts shows up

STEPS TO REPRODUCE
1. Open Konsole
2. Do reverese search
3. Observe on first matched character 1px artifact

OBSERVED RESULT
1px artifact

EXPECTED RESULT
No artifacts

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Nate Graham 2021-01-05 17:48:36 UTC
Are you using fractional scaling or a non-default font size or font DPI?
Comment 2 Vuk Mirovic 2021-01-05 17:55:53 UTC
No, everything is on default, pretty much vanilla Plasma install on Arch Linux, global scale on 100%, DPI is not forced in font managment, general font is Noto 10pt, fixed with is Hack 10pt, thou I'm using Liberation Mono 10pt for Konsole, but I can reproduce it also with Hack 10pt.
Tried changing line spacing to see if it helps, but it does not.
Comment 3 Vuk Mirovic 2021-01-05 18:06:32 UTC
Also I found out today that text is highlighted like this because of newly released readline 8.1.0 (first char background white, rest black), which sets by default enable-bracketed-paste, so highlight is kind of inverted compared to <8.1.0 (only first char is highlighted with black background) and this artifact doesn't appear. 
I guess explicitly setting enable-bracketed-paste for older versions is needed, or using readline 8.1.0, to get this highlight and reproduce the issue
Comment 4 Nate Graham 2021-01-05 18:56:07 UTC
Interesting.