<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/D11133">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>There's an async round trip after requesting isMinimized to kwin and<br />
then back to Plasma with the updated roles.</p>

<p>There's a quirk on wayland that IsActive will update before we get<br />
isMinimized changed. The old code would see that a window is currently<br />
not minimised and deactivate the effect.</p>

<p>This patch checks the roles to only check after IsMinimized changes.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>More clicking</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/D11133">https://phabricator.kde.org/D11133</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/minimizeall/package/contents/ui/main.qml</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>