Created attachment 148686 [details] After standby: Window got resized to 1/4 of the main screen This bug started with Plasma 5.24 and since my Enterprise Waiting failed, you get a bug report: After Wakeup from Standby, but not each time, all my windows on the main 4K monitor get sized to 1/4 and cramped to the bottom right corner. My setup here is a 4K DP monitor and a HDMI AV-Receiver which does only FHD and which I only enable when I switch from S/PDIF to HDMI audio to make use of 5.1… The HDMI connection is disabled in my daily use. But Kwin seems to confuse something and does a resize of every open window on the 4K monitor to 1/4 of their size (which equals FHD resolution) on Wakeup after Standby. It’s incredibly annoying. I will attach a screenshot. Linux: Arch KDE Plasma Version: 5.24.5 KDE Frameworks Version: 5.93.0 Qt Version: 5.15.3 X.org used
I have a single monitor with resolution of 3840x2160 and a DPI of 162. After exiting a Windows game via Wine, all windows that aren’t maximized are resized to 1/4 and placed in the bottom right corner. All the the Windows games are set to 1920x1080 resolution. The issue started with Plasma 5.24. I reverted to 5.23 for a while but it was preventing other updates on my system so I had to upgrade. The issue persists with 5.25. Linux: Gentoo KDE Plasma Version: 5.25.1 KDE Frameworks Version: 5.95.0 Qt Version: 5.15.4 Display: X11
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2573
Git commit ba0799974ed7b30b973c6a6a40c35be4d30d2ca2 by Xaver Hugl. Committed on 31/08/2022 at 20:30. Pushed by zamundaaa into branch 'master'. workspace: restore window position after output changes Related: bug 455066, bug 374908, bug 444082, bug 454003 M +1 -0 src/CMakeLists.txt A +197 -0 src/placementtracker.cpp [License: GPL(v2.0+)] A +68 -0 src/placementtracker.h [License: GPL(v2.0+)] M +6 -0 src/window.cpp M +3 -0 src/window.h M +29 -0 src/workspace.cpp M +3 -0 src/workspace.h https://invent.kde.org/plasma/kwin/commit/ba0799974ed7b30b973c6a6a40c35be4d30d2ca2
Still occurring on Plasma 5.26.1.
Updated to KDE Plasma 5.27.0 and the issue appears to have been fixed. I've only done brief testing so it would be nice if other users can confirm as well.
(In reply to BT from comment #5) > Updated to KDE Plasma 5.27.0 and the issue appears to have been fixed. I've > only done brief testing so it would be nice if other users can confirm as well. I will test it soon but don’t get too excited: This issue appeared only every now and then on my PC recently, this means this needs a longer testing phase to confirm it’s really fixed.
I can now say that it is happening way more seldom, mostly after black screen resume and monitor changes. It isn’t happening anymore on standard wakeups after standby for me. But I still get annoyed almost daily by resized windows. KDE Plasma Version: 5.27.4 KDE Frameworks Version: 5.105.0 Qt Version: 5.15.8
> It isn’t happening anymore on standard wakeups after standby for me. In that case, this specific bug is fixed. Can you submit a new bug report for the new behavior you're seeing? It will have a different root cause that needs to be investigated and fixed separately. Thanks!