SUMMARY If there is more than one display connected, opening a window on login without having moved the mouse at all on login before, the window will open on the wrong display. This can be replicated by logging in without moving a mouse, and using a shortcut (such as Ctrl+Alt+T) to open a window (such as Konsole). On my setup, pressing Ctrl+Alt+T to open Konsole in this scenario opens the window on my top-lost display instead of the display that the cursor is on, which is the center of my primary display (bottom left on my physical setup). This does not occur if only one display is present. STEPS TO REPRODUCE 1. Login without moving the mouse. 2. Open a window, such as via a keyboard shortcut. 3. The window will open on the wrong display. OBSERVED RESULT Windows open on the wrong display when opened without moving the mouse since logging in. EXPECTED RESULT Windows should open on the display the cursor is on, even if the mouse has never been moved. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.2 KDE Frameworks Version: 6.11.0 Qt Version: 6.8.2 Graphics Platform: Wayland ADDITIONAL INFORMATION Unsure if this occurs on X11.
The active screen is probably changed by plasmashell putting windows there. I don't know the best way to ensure that this doesn't happen right now, but it's at least something to look into.
Having the same problem. Best way to replicate this is to have no windows open on any desktop and open KRunner. KRunner would only show up on the correct monitor if the desktop was clicked on prior to opening it, otherwise it falls back to the secondary monitor. Monitor positioning doesn't seem to matter either.