STEPS TO REPRODUCE 1. Open some overlapping windows 2. Click 'Minimize all' twice 3. Observe window order messed up OBSERVED RESULT Windows are placed in the wrong order (e.g. window that was behind another window is restored in front of that window) EXPECTED RESULT Windows are restored in the right order SOFTWARE/OS VERSIONS Linux/KDE Plasma: Kubuntu 22.04 KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.92.0 Qt Version: 5.15.3
Does the same thing happen if you minimize all windows by setting a global shortcut for the "MinimizeAll" action in System Settings > Shortcuts > KWin?
(In reply to Nate Graham from comment #1) > Does the same thing happen if you minimize all windows by setting a global > shortcut for the "MinimizeAll" action in System Settings > Shortcuts > KWin? Sorry, but I cannot find this shortcut in System settings
Ah sorry, I forgot that you first have to enable the relevant KWin script in System Settings > Window Management > KWin Scripts. Can you enable it there, then try with the shortcut?
(In reply to Nate Graham from comment #3) > Ah sorry, I forgot that you first have to enable the relevant KWin script in > System Settings > Window Management > KWin Scripts. Can you enable it there, > then try with the shortcut? Ok, I tried it, and it apparently restores windows in the right order.
Thanks! Moving to KWin since the minimize/unminimize all code that the applet calls lives there. Cannot reproduce, FWIW.
I also reproduced this bug in Artix. Apparently it can be reproduced in X11, not in Wayland session.
I'm able to reproduce this bug on X11 with plasma-5.24.5. Strange that this applet just not calling KWin minimize all / restore all action via DBus (Meta+D by default, if I remember correctly), this action restores windows in correct order.