<table><tr><td style="">broulik created this revision.<br />Restricted Application added projects: Plasma, Frameworks.<br />Restricted Application added subscribers: Frameworks, plasma-devel.
</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/D6527" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This ensures the panel does not auto-hide then.<br />
It also forces a re-evaluation of auto-hide status when the menu closes, so even if we mess up with mouse grabbing, it should more reliably auto-hide afterwards.</p>
<p>BUG: 344205<br />
CCBUG: 351823</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Right clicked a couple of applets, panel stayed visible while the menu was open. It auto-hid again when I closed the menu.</p>
<p>Task Manager needs a separate patch but this should be fairly trivial, something like <tt style="background: #ebebeb; font-size: 13px;">Plasmoid.status: contextMenu && contextMenu.status === PlasmaCore.Dialog.Open ? PlasmaCore.Types.RequiresAttentionStatus : PlasmaCore.Types.ActiveStatus</tt></p>
<p>I tried meddling with <tt style="background: #ebebeb; font-size: 13px;">focusWindow</tt> and <tt style="background: #ebebeb; font-size: 13px;">applicationState</tt> but I never got a meaningful change in the two when the context menu closed, so I chose this crude approach</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R242 Plasma Framework (Library)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6527" rel="noreferrer">https://phabricator.kde.org/D6527</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/scriptengines/qml/plasmoid/containmentinterface.cpp</div></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>plasma-devel, Frameworks, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>