Bug 499147 - Some XWayland apps scale down to 100% after monitor layout changes
Summary: Some XWayland apps scale down to 100% after monitor layout changes
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: xwayland (other bugs)
Version First Reported In: 6.1.5
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-26 01:51 UTC by Alexander Sanderson
Modified: 2025-01-26 02:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sanderson 2025-01-26 01:51:36 UTC
SUMMARY
While fractional scaling is enabled (in my case I have 2256x1504 and 3840x2160 monitors, both scaled to 150%), sometimes changing the monitor layout can cause some apps like Discord to scale back down to 100%. This is potentially (though I'm not completely sure) caused by disconnecting the primary monitor while the window is on the secondary monitor. 

STEPS TO REPRODUCE
1. Open Discord on the secondary monitor with fractional scaling enabled
2. Disconnect the primary monitor, making the secondary monitor now the primary monitor
3. Observe Discord, try to resize it, etc

OBSERVED RESULT
The app is now rendering at 100% scaling

EXPECTED RESULT
The app continues to render at 150% scaling

Operating System: Kubuntu 24.10
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.6.2
Kernel Version: 6.11.0-13-generic (64-bit)
Graphics Platform: Wayland
Processors: 16 × 12th Gen Intel® Core™ i5-1240P
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® Graphics
Manufacturer: Framework
Product Name: Laptop (12th Gen Intel Core)
Comment 1 Bug Janitor Service 2025-01-26 02:33:35 UTC
Thank you for the bug report!

However Plasma 6.1.5 is no longer eligible for support or maintenance from KDE; supported versions are 5.27. (LTS), and 6.2 (non-LTS) or newer. Please upgrade to a supported version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one.

If you need support for Plasma 6.1.5, please contact your distribution, who bears the responsibility of providing support for older releases that are no longer supported by KDE.

If you can reproduce the issue after upgrading to a supported version, feel free to re-open this bug report.