Bug 462984 - [Wayland] Disabling Laptop monitor breaks icon and window button scaling on external monitor
Summary: [Wayland] Disabling Laptop monitor breaks icon and window button scaling on e...
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: decorations (other bugs)
Version First Reported In: 5.26.4
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-13 03:03 UTC by Leonard Lausen
Modified: 2023-01-03 21:33 UTC (History)
1 user (show)

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


Attachments
Screenshot with both displays (845.51 KB, image/png)
2022-12-13 03:03 UTC, Leonard Lausen
Details
Screenshot of buggy scaling (58.99 KB, image/png)
2022-12-13 03:03 UTC, Leonard Lausen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Leonard Lausen 2022-12-13 03:03:23 UTC
Created attachment 154550 [details]
Screenshot with both displays

SUMMARY
With a FullHD Laptop display and 2K external display, disabling the laptop display (closing the laptop lid) breaks icon and window button scaling on the remaining display. It doesn't matter if the laptop display or external display is configured as primary.

STEPS TO REPRODUCE
1. Obtain laptop with FullHD screen and 2K external monitor.
2. Start a Wayland session with both displays.
3. Close laptop lid

OBSERVED RESULT
Window icon (upper left corner of the window) as well as the window minimize, maximize and close buttons scale breaks and their size doubles.

EXPECTED RESULT
Window icon and button scale is not affected by disabling the laptop display

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Linux 6.1
KDE Plasma Version: 5.26.4
KDE Frameworks Version: 5.100
Qt Version: 5.15.6

ADDITIONAL INFORMATION
See screenshots attached
Comment 1 Leonard Lausen 2022-12-13 03:03:47 UTC
Created attachment 154551 [details]
Screenshot of buggy scaling
Comment 2 Leonard Lausen 2022-12-13 03:05:28 UTC
Printenv shows PLASMA_USE_QT_SCALING=1. Maybe that's the default for Wayland?