Bug 474683

Summary: Application Dashboard does not return focus to previously focused window when closed.
Product: [Unmaintained] kdeplasma-addons Reporter: Illia <skidnik>
Component: Application DashboardAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: duha.bugs
Priority: NOR    
Version First Reported In: 5.27.8   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Illia 2023-09-19 09:03:21 UTC
Application Dashboard does not return focus to the widow that had focus prior to opening Application Dashboard, instead focus is placed on the Task Manager panel.

STEPS TO REPRODUCE
1. Log into an out of the box KDE Plasma Wayland session.
2. Set Application Dashboard as the application launcher.
3. Start some windowed application, e.g. Dolphin, make sure it's focused.
4. Press an application launcher shortcut (Meta or Alt+F1) to open the Application Dashboard.
5. Press an application launcher shortcut again to close the Application Dashboard.

OBSERVED RESULT
Focus is now placed on the Task Manager panel instead of being returned to the window from step 3.

EXPECTED RESULT
Focus is placed on the window from step 3.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10
Graphics Platform: Wayland

ADDITIONAL INFORMATION
This does not happen when using Application Launcher or Application Menu.
Comment 1 Illia 2024-05-07 14:57:29 UTC
Does not reproduce in Plasma 6.
Comment 2 duha.bugs 2024-07-31 16:27:36 UTC
(In reply to Illia from comment #1)
> Does not reproduce in Plasma 6.

Yeah seems to be fixed in Plasma 6. Marking as fixed.