Bug 464785

Summary: "Minimize All Windows" don't restore windows on Wayland
Product: [Plasma] plasmashell Reporter: Szymon <szymondudek9>
Component: Show Desktop/Minimize AllAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: cwo.kde, nate, qydwhotmail, sdaniluk
Priority: NOR Keywords: wayland
Version: 5.26.5   
Target Milestone: 1.0   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 6.2.0
Sentry Crash Report:

Description Szymon 2023-01-25 08:02:44 UTC
SUMMARY

STEPS TO REPRODUCE

( Wayland Session )
1.  Change "Peak at Desktop" applet to "Minimize all Windows"
2.  Open two or more applications
3.  Remember which application was first and second, and so on.
4.  So last opened app is now active.
5. Change active window to 1th app
6. Use "Minimize all Windows" twice, and make sure that others 2 apps windows are "behind" this activated. 


Behavior :
 
For example if u opened 6 apps ( from 1 to 6 in order ) . Then make sure that 2th app is active and 1th is behind .  Now if u use "Minimize All Windows" then it will be work, why ? Because app which was opened at last in row work with anything under. So if u take last opened app as active window and others behind. This will be work. If u that 6th app just minimize alone by button and left 5 apps in order from 5 to 1 ( 5th active ) then it still be working. But if u change order from 1 to 6 or 5 and so on, then "Minimize All Windows" won't work. 

I don't know why it works that way, but the problem always occurs 100% of the time. I reported it before version 5.24 and it was considered fixed. But from what I remember I tested the fix after the release of 5.24 and then 5.25 and now 5.26 and the error still occurs.



SOFTWARE/OS VERSIONS
Linux: 6.1.7-1
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Comment 1 Nate Graham 2023-01-25 17:31:33 UTC
Can reproduce.
Comment 2 Nate Graham 2024-07-26 23:12:36 UTC
*** Bug 490625 has been marked as a duplicate of this bug. ***
Comment 3 cwo 2024-09-16 13:20:19 UTC
If I understand the issue correctly, this should now be fixed in master and will be released with Plasma 6.2.

Please reopen the bug if you still experience this issue with Plasma 6.2 after it is released early next month.