<table><tr><td style="">broulik created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: 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/D6555" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This ensures the panel stays visible while applet alternatives dialog is open.<br />
It also works around a quirk in Plasma Dialog which won't show if visualParent is in a auto-hidden panel.</p>

<p>BUG: 347855<br />
BUG: 352459</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Opened applet alternatives for TM in auto hidden panel, alternatives showed up and kept panel open. Panel auto-hid again once closed. Before the alternative dialog wouldn't even show up.</p>

<p>You get a brief flicker of the panel starting to hide while the QML is being processed but it's an improvement over the status quo in any way.</p>

<p>I tried to figure out why Dialog behaves weird (if I didn't set visualParent to <tt style="background: #ebebeb; font-size: 13px;">alternativesHelper.applet</tt> which is in an auto-hidden panel it worked) but I got lost in there. I know that the dialog's position was properly determined but then somewhere it got confused.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6555" rel="noreferrer">https://phabricator.kde.org/D6555</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>shell/alternativeshelper.cpp<br />
shell/alternativeshelper.h</div></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>