Bug 490075

Summary: One-pixel rendering artifacts in high DPI XWayland applications with "Apply scaling themselves"
Product: [Plasma] kwin Reporter: dantmnf <dantmnf2+kdebugs>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate
Priority: NOR    
Version First Reported In: 6.1.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 6.4.5
Sentry Crash Report:
Attachments: rendering artifacts in xterm

Description dantmnf 2024-07-11 06:12:35 UTC
Created attachment 171557 [details]
rendering artifacts in xterm

SUMMARY
When screen scale factor is larger than 100% and X11 scaling option is set to "Apply scaling themselves", one-pixel rendering artifacts can be observed in XWayland applications. Mostly noticeable in raw X11 applications that take use of something like "partial redraw" (e.g. xterm and LibreOffice with `SAL_USE_VCLPLUGIN=gen`)

STEPS TO REPRODUCE
1. Set screen scale factor to 200% and X11 scaling option to "Apply scaling themselves"
2. Open xterm
3. Move mouse around menu items in xterm

OBSERVED RESULT
One-pixel lines on the edge of redraw areas.

EXPECTED RESULT
No rendering artifacts.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
OpenGL ES profile renderer: AMD Radeon Graphics (radeonsi, rembrandt, LLVM 18.1.8, DRM 3.57, 6.9.8-arch1-1)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.1.3-arch1.1

Also reproducible in earlier versions.
Comment 1 David Edmundson 2024-07-17 13:23:25 UTC Comment hidden (spam)
Comment 2 David Edmundson 2024-07-17 13:25:05 UTC
edit, reproduced
Comment 3 dantmnf 2025-09-25 12:38:06 UTC
No longer reproducible with Plasma 6.4.5 and XWayland 24.1.8
Comment 4 Nate Graham 2025-09-25 13:57:55 UTC
Great!