Bug 428514 - When using Qt scaling on X11 with mixed-DPI screens, weird window maximize behavior
Summary: When using Qt scaling on X11 with mixed-DPI screens, weird window maximize be...
Status: RESOLVED INTENTIONAL
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.20.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks: 356446
  Show dependency treegraph
 
Reported: 2020-10-31 15:35 UTC by alexmateescu
Modified: 2023-06-22 12:25 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Wrong maximize on primary screen (591.41 KB, image/png)
2020-10-31 15:35 UTC, alexmateescu
Details
Wrong maximize on secondary screen (1.25 MB, image/png)
2020-10-31 15:35 UTC, alexmateescu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description alexmateescu 2020-10-31 15:35:18 UTC
Created attachment 132917 [details]
Wrong maximize on primary screen

SUMMARY
Maximize does not work correctly when PLASMA_USE_QT_SCALING=1

STEPS TO REPRODUCE
1. Set PLASMA_USE_QT_SCALING=1
2. Reboot
3. Start maximizing windows

OBSERVED RESULT
On the primary monitor, the window does not occupy the whole screen. On the secondary monitor, the window grows bigger than the screen, extending to the primary.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.9.2-arch1-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 31.3 GiB of RAM
Graphics Processor: GeForce GTX 1060 6GB/PCIe/SSE2

ADDITIONAL INFORMATION
My primary monitor is 4k, secondary is 1920x1200. Using 125% scaling.
Comment 1 alexmateescu 2020-10-31 15:35:51 UTC
Created attachment 132918 [details]
Wrong maximize on secondary screen
Comment 2 Nate Graham 2021-03-19 23:49:38 UTC
> My primary monitor is 4k, secondary is 1920x1200. Using 125% scaling.
This is an unsupported configuration on X11, which is known to become even worse and sprout bizarre visual problems like the one you're experiencing when you enable PLASMA_USE_QT_SCALING=1. That's one of the reasons why we haven't enabled it by default, in fact.

You should try the Plasma Wayland session, which handles this setup out of the box. It's really quite stable and usable in Plasma 5.21, and getting better all the time. I'm using it right now, and I'm picky about broken systems. :)