Bug 483144

Summary: The contents of specific windows on scaled displays are briefly distorted while they are loading
Product: [Plasma] kwin Reporter: Eamonn Rea <eamonnrea>
Component: compositingAssignee: KWin default assignee <kwin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: john.kizer, jose, nate
Priority: NOR Keywords: qt6, wayland-only
Version First Reported In: 6.0.1   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.2.0
Sentry Crash Report:

Description Eamonn Rea 2024-03-10 18:00:00 UTC
SUMMARY
Opening some windows, on a scaled display only, while they are loading, will show them distorted while they are loading. The window size itself is correct, but the contents look as though it were scaled up from a small resolution.

It only happens with a small amount of windows, but the main one I notice it in is when launching "Display Configuration". Note that this does not happen when opening Display Configuration from System Settings, only if you open the application from, say, the Application Dashboard.

The window opens fine when opened from, say, KRunner on a non-scaled display. 

Due to the resolution of my scaled display, attaching a recording of the issue is tricky. But if others are unable to reproduce or understand, I will attempt to record one.


STEPS TO REPRODUCE
1. Open "Display Configuration" on a scaled display
2. It will open distorted while it loads

OBSERVED RESULT
Some windows, such as "Display Configuration", appear with their contents stretched and too large (although the window size is correct) when opened on a scaled display.


EXPECTED RESULT
The "Display Configuration" window and other affected windows display correctly and consistently across displays.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.7.8 Linux Zen
KDE Plasma Version: 6.0.1
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2
Comment 1 Nate Graham 2024-03-11 21:35:02 UTC
I can reproduce this on a single 225% scale screen by right-clicking on the desktop and choosing "Configure Display Settings…"
Comment 2 Eamonn Rea 2024-10-12 00:25:51 UTC
From how I recall this bug manifesting, I believe this is fixed in Plasma 6.2.0
Comment 3 Nate Graham 2024-10-15 22:46:27 UTC
That's great news!
Comment 4 jose 2025-05-01 12:35:28 UTC
I am having this issue with Plasam 6.3.4 on Arch Linux. please see linked video
https://i.imgur.com/dPIUgwm.mp4
Comment 5 John Kizer 2025-05-01 19:01:44 UTC
I can reproduce this using Nate's steps of a single, 225%-scaled display, using Plasma 6.3.4 on a Neon VM.
Comment 6 John Kizer 2025-05-01 19:02:15 UTC
Marking as confirmed since it could be reproduced
Comment 7 Vlad Zahorodnii 2025-05-12 07:30:05 UTC
This is a Qt bug.