Bug 482662

Summary: On X11, opening and closing Kickoff via keyboard does not give focus back to the last window
Product: [Plasma] plasmashell Reporter: yunusaydin590
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: nate, niccolo.venerandi, qydwhotmail
Priority: NOR Keywords: regression
Version First Reported In: 6.0.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 6.0.3
Sentry Crash Report:
Attachments: A video showing the bug

Description yunusaydin590 2024-03-07 08:20:09 UTC
Created attachment 166551 [details]
A video showing the bug

SUMMARY
When I open the application manager and close it via meta key, in plasma 5.27, it'd give the focus back to the last window that had the focus, instead now in 6.01, it doesn't.

STEPS TO REPRODUCE
1. Have a window with a focus
2. Press meta (or the key you use to open application manager) twice
3. Focus is not back on the window

OBSERVED RESULT
Focus is not back on the window

EXPECTED RESULT
Focus should be back on the window

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2024-03-07 13:38:46 UTC
Cannot reproduce
Comment 2 Nate Graham 2024-03-07 21:26:53 UTC
Me neither. Are you using X11 or Wayland? I notice you left the entire "SOFTWARE/OS VERSIONS" section blank, which means now I have to go bug you for information! :)
Comment 3 yunusaydin590 2024-03-07 22:21:25 UTC
Sorry, I accidentally missed those.
I am using X11.
Linux/KDE Plasma:  6.1.71-1-lts
KDE Plasma Version: 6.0.1
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Comment 4 Nate Graham 2024-03-08 21:27:09 UTC
Thanks. Maybe it's x11-specific.
Comment 5 Fushan Wen 2024-03-15 03:19:34 UTC
Regression from https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2110
Comment 6 Fushan Wen 2024-03-15 12:13:07 UTC
Actually it's fixed by https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/2110