SUMMARY When I switch from a Wayland to an X11 session the primary screen of X11 is not the one it used to be. STEPS TO REPRODUCE 1. Have a multi monitor setup (I have a vertical one on the left and a horizontal one on the right. The right monitor is set as primary on X11). 2. Configure the monitors in X11 to work as written in 1. 3. Logout and login to a Wayland session 4. Due to another bug the vertical screen will have the wrong orientation on Wayland. Change that in KScreen to look normal (might be completely unrelated, though) 5. Logout and login to an X11 session OBSERVED RESULT The left monitor is now the primary screen EXPECTED RESULT The primary screen should stay as it was (the right screen) SOFTWARE/OS VERSIONS Operating System: openSUSE Tumbleweed 20210128 KDE Plasma Version: 5.20.90 KDE Frameworks Version: 5.78.0 Qt Version: 5.15.2 Kernel Version: 5.10.9-1-default OS Type: 64-bit Processors: 4 × Intel® Xeon® CPU E3-1225 v3 @ 3.20GHz Memory: 11.6 GiB of RAM Graphics Processor: Mesa DRI Intel® HD Graphics P4600/P4700
At some point in the past, but maybe only on a different distribution, this worked fine without this bug.
Can confirm/ The primary screen setting gets lose when using Wayland, presumably because Wayland has no concept of a primary screen. This means it should ignore that setting, not discard it.
This is fixed now that we have a Primary Screen concept on Wayland.