Bug 468043 - KRunner doesn't focus correct window when switching to window on other virtual desktop.
Summary: KRunner doesn't focus correct window when switching to window on other virtua...
Status: REPORTED
Alias: None
Product: krunner
Classification: Plasma
Component: windows (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-01 17:29 UTC by Will Chen
Modified: 2023-04-04 19:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Will Chen 2023-04-01 17:29:56 UTC
KDE

When using KRunner to switch to a window on a different virtual desktop, KRunner switches to that virtual desktop but does not focus the chosen window.


STEPS TO REPRODUCE
1. On one virtual desktop, open at least two distinct windows.
2. Remember which window has focus.
3. Switch to a different virtual desktop (which possibly has its own windows).
4. Press Alt+F2 to launch KRunner. Type the title of one of the non-focused windows you opened in Step 1. Select it.

OBSERVED RESULT

KRunner switches to the original virtual desktop, but the selected window does not gain focus.


EXPECTED RESULT

KRunner should switch to the original virtual desktop, and the selected window should gain focus.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: X
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8