Bug 413138

Summary: MinimizeAll KWin script stopped restoring windows
Product: [Plasma] plasmashell Reporter: Konstantin Pereiaslov <perk11>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: normal CC: bugseforuns, plasma-bugs, zbe
Priority: NOR    
Version: 5.17.0   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:

Description Konstantin Pereiaslov 2019-10-18 11:23:36 UTC
SUMMARY


STEPS TO REPRODUCE
1. Enable MinimizeAll script
2. Assign it to shortcut
3. Press the shortcut, the windows are now minimized
4. Press the shortcut again

OBSERVED RESULT

The windows are not restored, all the windows are still minimized. 

EXPECTED RESULT

The windows are restored to the state they were in before minimization.  This is how it used to work in 5.16, but it broke after updating to 5.17.0

SOFTWARE/OS VERSIONS
Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.0
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 4.15.0-65-generic
OS Type: 64-bit
Processors: 8 × Intel® Xeon® CPU E3-1231 v3 @ 3.40GHz
Memory: 31.4 GiB of RAM
Comment 1 Konstantin Pereiaslov 2019-10-20 15:08:44 UTC
I tried "Minimize all windows" widget and it seems to work the same now. The icon changes state, but nothing happens after a click, so probably it was broken too.
Comment 2 Rok 2019-10-28 19:27:24 UTC
I can just add that I have same problem on 2 separate PCs; Screen Edges MinimizeAll only minimizes. MinimizeAll widget works though. 

Copying old /usr/kwin/scripts/minimizeall/contents/code/main.js over new one doesn't help.
Comment 3 Konstantin Pereiaslov 2019-11-03 19:55:30 UTC
This is working for me now in Plasma 5.17.2

Operating System: KDE neon 5.17
KDE Plasma Version: 5.17.2
KDE Frameworks Version: 5.63.0
Qt Version: 5.13.1
Kernel Version: 5.3.8-050308-generic
OS Type: 64-bit
Processors: 16 × AMD Ryzen 7 3700X 8-Core Processor
Memory: 31.4 GiB of RAM
Comment 4 Patrick Silva 2020-01-29 01:40:46 UTC

*** This bug has been marked as a duplicate of bug 413044 ***