<table><tr><td style="">davidedmundson created this revision.<br />davidedmundson added a reviewer: Plasma.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.<br />davidedmundson requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10019" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This reduces the code we have and implicitly fixes it under wayland.</p>
<p>Tracking of which windows are minimised by us is now done in JS, and<br />
through use of model indexes instead of X window IDs, which wouldn't<br />
really have worked under wayland.</p>
<p>Potentially we may have some minor behavioural differences on X with<br />
regards to which windows are managed, as the old code did not skip those<br />
with skip_taskmanager.</p>
<p>Requires a tiny patch in libtaskmanager to export persistentmodelindexes to<br />
QML.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Under wayland:<br />
Had 3 windows, one minimised already<br />
Clicked button. All minimised.<br />
Clicked again, two restored</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R114 Plasma Addons</div></div></div><br /><div><strong>BRANCH</strong><div><div>master</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10019" rel="noreferrer">https://phabricator.kde.org/D10019</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/minimizeall/package/contents/ui/main.qml<br />
applets/minimizeall/plugin/minimizeall.cpp<br />
applets/minimizeall/plugin/minimizeall.h<br />
applets/minimizeall/plugin/minimizeallplugin.cpp<br />
applets/minimizeall/plugin/minimizeallplugin.h<br />
applets/minimizeall/plugin/qmldir</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>