Bug 491562 - konsole leaves artifacts among text with fractional scaling
Summary: konsole leaves artifacts among text with fractional scaling
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: font (other bugs)
Version First Reported In: 24.05.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2024-08-11 04:35 UTC by iodreamify
Modified: 2025-07-06 15:16 UTC (History)
3 users (show)

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


Attachments
screenshot (218.09 KB, image/png)
2024-08-11 04:35 UTC, iodreamify
Details

Note You need to log in before you can comment on or make changes to this bug.
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?