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.
Git commit 94304ed698014d1ea519954433581d5ab5de00c3 by Christoph Cullmann, on behalf of Luca Carlon. Committed on 28/05/2025 at 05:36. Pushed by cullmann into branch 'master'. Fix for glitches in highgpi displays A fix for glitches in highdpi displays was already applied in the past in #1f0cefa. It was only applied to Qt5. Apparently, with Qt6 the behavior is identical, so applying it again is necessary. Related: bug 491562 M +1 -3 src/terminalDisplay/TerminalDisplay.h https://invent.kde.org/utilities/konsole/-/commit/94304ed698014d1ea519954433581d5ab5de00c3