Bug 478984

Summary: Clicking Peek at Desktop and opening any window opens the last active one on X11
Product: [Plasma] plasmashell Reporter: Ditzy <ditzy_dreamland757>
Component: Show Desktop/Minimize All widgetsAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.27.10   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ditzy 2023-12-25 06:07:20 UTC
SUMMARY
Clicking Peek at Desktop and opening any window opens the last active one on X11.

STEPS TO REPRODUCE
1. Open at least two windows
2. Click the Peek at Desktop widget
3. Open any window that isn't the last active one

OBSERVED RESULT
The last active window opens

EXPECTED RESULT
The selected window to open

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.113.0
Qt Version: 5.15.11

ADDITIONAL INFORMATION
This does not happen on Wayland.
Comment 1 Ditzy 2024-03-30 14:44:44 UTC
This is no longer happening for me on Plasma 6.

Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.3
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2