SUMMARY Some windows get resized when turning on all monitors after leaving both monitors off for some time. STEPS TO REPRODUCE 1. Connect two monitors via DP (secondary) and HDMI (primary) 2. Start a Qt app (e.g. KeePassXC) and a GTK app (e.g. Firefox / Thunderbird) 3. Turn off both monitors 4. Wait 5. Turn on both monitors OBSERVED RESULT KeePassXC is resized. Usually smaller than before. Firefox, Thunderbird keep previous size. EXPECTED RESULT All windows keep their size. WORKAROUND Use a KWin script to resize windows to their expected size. SOFTWARE/OS VERSIONS Operating System: NixOS 24.11 KDE Plasma Version: 6.2.5 KDE Frameworks Version: 6.8.0 Qt Version: 6.8.0 Kernel Version: 6.6.69 (64-bit) Graphics Platform: X11 Graphics Processor: AMD Radeon RX 5600 XT Manufacturer: Micro-Star International Co., Ltd. Product Name: MS-7C37 System Version: 3.0 ADDITIONAL INFORMATION Related KDE Discuss thread: https://discuss.kde.org/t/some-windows-resize-when-i-turn-on-off-a-second-monitor/25220
Can you reproduce it with only a single monitor, if you turn it off and then back on again? In other words, is the triggering condition actually the act of going down to 0 active screens?
I'll check. Though I don't think I changed anything about my Plasma setup when I installed the second monitor. (The issue only started occuring once I started using two monitors.)
> Can you reproduce it with only a single monitor, if you turn it off and then back on again? In other words, is the triggering condition actually the act of going down to 0 active screens? I could not reproduce the issue with only one connected monitor.