When activating KRunner with a keyboard shortcut, it will always appear on the screen the mouse is on, regardless of mouse focus setting or current active screen. This situation makes it impossible to use a keyboard shortcut to change screens and then execute a command with krunner without moving the mouse. That sort of defeats the purpose of keyboard shortcuts. Steps: Use a keyboard shortcut to change active screen, with or without "seperate screen focus" enabled, without "focus follows mouse" enabled. Activate KRunner with Alt+F2. Actual Results: KRunner opens on whichever screen the mouse is on, and any commands run from it open on said screen. Expected Behavior: KRunner, and a command run with it, execute on the current active screen, regardless of mouse position. Platform: OpenSUSE Tumbleweed, KRunner 5.48.0
Martin, is there a way to query that from KWin or how does that work? (Right now KRunner indeed just checks mouse position and matches it to a QScreen)
No, KWin does not expose internal data to other processes.
Is skipping that mouse location query and letting KWin choose the screen an option?