Bug 486936 - Windows size changes after standby (Wayland)
Summary: Windows size changes after standby (Wayland)
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 6.0.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-12 22:02 UTC by Velent
Modified: 2024-09-16 14:34 UTC (History)
1 user (show)

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


Attachments
Logs at the moment of display's sleep and unlocking (20.30 KB, text/plain)
2024-05-12 22:02 UTC, Velent
Details
Windows sizes after standby (307.44 KB, image/png)
2024-05-12 22:04 UTC, Velent
Details
Dolphin places panel size after standby (6.19 KB, image/png)
2024-05-12 22:05 UTC, Velent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Velent 2024-05-12 22:02:49 UTC
Created attachment 169407 [details]
Logs at the moment of display's sleep and unlocking

SUMMARY
When the display turns off, and some time passes (under 15m), usually some application windows are being squished into small sizes, also some in-app panels might change its sizes too. This happens only Wayland session. X11 doesn't have such issue.

STEPS TO REPRODUCE
1. Open some windows
2. Place and resize them as you wish
3. Wait / manually lock screen and wait for it to turn off

OBSERVED RESULT
After unlocking the screen, windows are squished and displaced.

EXPECTED RESULT
After unlocking windows retain their sizes and positions.

SOFTWARE/OS VERSIONS

Linux: Arch Linux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
As this issue didn't get reported and (probably) related issues do have low activity, I assume it might be related to the bug, that affects only some hardware and previously caused https://bugs.kde.org/show_bug.cgi?id=452553. 
https://invent.kde.org/plasma/kwin/-/merge_requests/2940

Previously I reported this to https://bugs.kde.org/show_bug.cgi?id=482875, but only now I realized that this is not exactly the same issue, so I decided to report it separately. (However, they might be related.)
Comment 1 Velent 2024-05-12 22:04:55 UTC
Created attachment 169408 [details]
Windows sizes after standby
Comment 2 Velent 2024-05-12 22:05:25 UTC
Created attachment 169409 [details]
Dolphin places panel size after standby