Bug 489356

Summary: Windows restore to secondary screen in dual display setup under Wayland
Product: [Plasma] kwin Reporter: Gábor Katona <katonag>
Component: multi-screenAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate, xaver.hugl
Priority: NOR Keywords: multiscreen
Version First Reported In: 6.1.1   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Gábor Katona 2024-06-28 06:41:38 UTC
SUMMARY
When connecting a dual screen external dock after a single external screen session, windows are displayed on secondary (which is not marked as primary) screen. This problem is only on Wayland, X session works as expected.

STEPS TO REPRODUCE
1. Connect to a dock with single external screen, have some windows open
2. Send the system to sleep
3. Connect to a dock with dual external screens
4. Wake up, login

OBSERVED RESULT
The windows are displayed on the secondary (not primary) screen

EXPECTED RESULT
Windows should be on the primary screen.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed 20240619
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.1

ADDITIONAL INFORMATION
I use 4 activities with 4 desktop each.
Maybe connected to bug 486328.
Comment 1 Gábor Katona 2024-06-28 08:41:52 UTC
Just updated to 6.1.1 and it is still there.