SUMMARY I have 2 monitors, right monitor is primary one on X11. After i used wayland, my primary monitor on X11 was changed to left monitor. STEPS TO REPRODUCE 1. Have right monitor as primary one on X11 2. Open Wayland session 3. Log out 4. Open X11 session OBSERVED RESULT Primary monitor changed EXPECTED RESULT Primary monitor not changed SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.22.90 KDE Frameworks Version: 5.86.0 Qt Version: 5.15.2 Kernel Version: 5.14.3-arch1-1 (64-bit) Graphics Platform: X11 Processors: 8 × Intel® Core™ i7-4790K CPU @ 4.00GHz Memory: 15.5 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Having the same problem with 5.22.90, panel and icons keep switching to my small side monitor under wayland instead of staying on my 27" 1440p monitor.
On Wayland, there's no concept of primary monitor so it's up to the desktop shell where the panel should be. Can you post the output `qdbus org.kde.KWin /KWin supportInformation` and indicate what output has to be primary?
Primary monitor config resets in X11 session after i open wayland session and then open X11 session. 1. Start X11 session, configure your widgets and primary monitor 2. Start Wayland session, widgets and shell are in proper places, like in X11 session 3. Start X11 session - widgets and shell swapped their position (left monitor becomes right, and vice-versa) I have to change primary monitor in X11, then it looks properly.
*** This bug has been marked as a duplicate of bug 442158 ***
Actually not a duplicate, sorry. It seems reasonable that the X11 primary monitor setting should be remembered rather than reset after you move to Wayland. Yes, Wayland has no Primary Monitor setting, but that's no excuse for discarding the user's choice for that setting on X11.
Generically fixed now that we have Primary Monitor setting on Wayland. Any additional issues with this will be caused by Bug 365865.