I am using the MinimizeAll kwin script and have assigned a shortcut to it. The windows get minimized with the first call and restored with a second call. However, after restoration, the focus of the last window is lost. To be more precise, there is now window with an active window decoration. Furthermore, the alt+tab ordering is not restored. Thus, alt+tab shows the windows in a random order (its stable and independant from the previous ordering) I am using kwin_x11 with xorg-server 1.19.5.
further info about the software stack: - frameworks 5.47 - qt 5.11.1 - xf86-video-intel-2.99.917_p20180214-r1
I'm sorry but the script does what it says: it minimized all windows and unminimizes them again. As soon as a window gets minimized it makes it impossible to restore the focus. What you are looking for is the show desktop functionality which keeps state. The minimize all script was added for those users who prefer minimize all instead of show desktop. Due to that it does exactly that.
ok, thx 4 info