Bug 491562

Summary: konsole leaves artifacts among text with fractional scaling
Product: [Applications] konsole Reporter: iodreamify
Component: fontAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: accounts+kde, bizyaev, kostadinshishmanov, nate
Priority: NOR Keywords: wayland-only
Version First Reported In: 24.05.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=502103
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot

Description iodreamify 2024-08-11 04:35:38 UTC
Created attachment 172498 [details]
screenshot

SUMMARY
konsole leaves small text artifacts when scaling is set to 125% on a 1080p monitor. The artifacts look like small 1 character wide underlines. If you refresh the window in some way like using the reset command, resize or move the window they disappear.  This doesn't happen with 100% scaling and does not happen in other terminal emulators like Alacritty. I also tried running konsole with prime-run but it displayed the same symptoms.

STEPS TO REPRODUCE
1. set display to 125% scaling and 1080p resolution
2. cd to a longer path like /etc/NetworkManager
3. cd back to home 
4. press enter a few times

OBSERVED RESULT
small artifacts appear in empty spaces where text used to be

EXPECTED RESULT
konsole window is clean

Operating System: Arch Linux 
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
mesa 24.1.5-1
Kernel Version: 6.10.3-arch1-2 (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon 660M
Comment 1 iodreamify 2024-08-11 04:45:01 UTC
Probably unrelated but i also noticed fractional scaling is the source of another bug where kwin's window decorations have empty pixels with klassy: https://github.com/paulmcauley/klassy/issues/149
Comment 2 iodreamify 2024-09-30 23:26:02 UTC
Still happening with 24.08.1-1 and qt 6.8.0
Comment 3 Christoph Cullmann 2025-05-28 05:53:52 UTC
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 488505

M  +1    -3    src/terminalDisplay/TerminalDisplay.h

https://invent.kde.org/utilities/konsole/-/commit/94304ed698014d1ea519954433581d5ab5de00c3
Comment 4 iodreamify 2025-07-06 15:16:21 UTC
Is this bug really fixed? 

I'm still getting it in the same way with konsole 25.04.3 frameworks 6.15.0 and qt 6.9.1. 

Or am i doing something wrong?
Comment 5 Ilya Bizyaev 2025-08-16 08:39:04 UTC
The fix is said to be in 25.08, so it makes sense that you still see the issue on 25.04.3
Comment 6 iodreamify 2025-08-16 15:49:20 UTC
(In reply to Ilya Bizyaev from comment #5)
> The fix is said to be in 25.08, so it makes sense that you still see the
> issue on 25.04.3

Just updated to 25.08 and don't see it anymore. Thank you