Bug 490733

Summary: Windows position themselves halfway off screen upon wake from sleep
Product: [Plasma] kwin Reporter: web
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde, nate
Priority: NOR Keywords: multiscreen
Version: 6.1.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description web 2024-07-23 23:00:01 UTC
SUMMARY
Windows position themselves halfway off the bottom of my screen upon waking my computer from sleep and logging in. I have an external monitor attached to the right of my main laptop screen (not below).

STEPS TO REPRODUCE
1. Connect an external monitor.
2. Lock laptop screen.
3. Close laptop.
4. Open laptop and log in.

OBSERVED RESULT
All my windows, that were previously centred on my laptop screen, are positioned halfway off the bottom of my laptop screen.

EXPECTED RESULT
Windows to not have changed position upon logging back in.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 6.6.40-1-lts
KDE Plasma Version: 6.1.3
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 web 2024-07-24 16:38:52 UTC
I additionally encountered this behavior again today when *plugging in* an external monitor. I have not been able to reliably reproduce this source, though.
Comment 2 David Edmundson 2024-07-25 11:21:32 UTC
This is similar to another bug that we have diagnosed with clients being misplaced on other monitors. We'll treat this as a dupe, for now.

*** This bug has been marked as a duplicate of bug 479694 ***
Comment 3 web 2024-07-25 18:03:38 UTC
Hmm, I think this is probably a different bug (only happened since KWin 6.1.3, positions windows halfway off instead of entirely off, happens when waking from sleep) but they certainly sound similar enough to be related. I'll follow along there.