Bug 488505 - Pixel from underlined characters at leftmost screen edge remains when clearing terminal or switching to alternative screen
Summary: Pixel from underlined characters at leftmost screen edge remains when clearin...
Status: REPORTED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 24.05.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-14 17:22 UTC by nilskemail+kde
Modified: 2024-06-14 17:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Console capture showing several white pixel artifacts at the left edge (3.99 KB, image/png)
2024-06-14 17:22 UTC, nilskemail+kde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nilskemail+kde 2024-06-14 17:22:14 UTC
Created attachment 170503 [details]
Console capture showing several white pixel artifacts at the left edge

SUMMARY
When the leftmost character in a line has an underline, a sliver of that underline remains after calling clear or switching to an alternative screen (e.g. nano, less)

STEPS TO REPRODUCE
1. Open Konsole
2. Run 'printf "\e[4munderline\e[0m\n"'
3. Open nano, or run 'echo | less'

OBSERVED RESULT
A few pixels at the leftmost edge remain and are not cleared

EXPECTED RESULT
There should be no remaining artifacts of the character underline

SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 40
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1
Kernel Version: 6.8.11-300.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 7840U w/ Radeon 780M Graphics
Memory: 30.7 GiB of RAM
Graphics Processor: AMD Radeon 780M
Manufacturer: Framework
Product Name: Laptop 13 (AMD Ryzen 7040Series)
System Version: A7

ADDITIONAL INFORMATION
The artifacts only sometimes appear when calling  'clear'. Nano and less seem more consistent.
The artifacts also disappear once a different window has the focus (this can be as simple as pressing the Meta key open the start menu, so covering the window is not necessary).
My screen has fractional scaling, maybe that has an impact on this.