<table><tr><td style="">rjvbb created this revision.<br />rjvbb added a reviewer: Framework: Syntax Highlighting.<br />Restricted Application added a project: Frameworks.<br />Restricted Application added a subscriber: Frameworks.
</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/D9289" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>This restores proper layering behaviour on Mac, fixing the regression described in the linked bug report (which has screenshots).</p>

<p>BUG: 387796</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Changing the window type from Qt::Window to Qt::Dialog was the last tweak I tried and the only one that causes the completion list to display in front of the grandparent window in all known situations on Mac/Cocoa, Mac/X11 and Linux/X11 (even an explicit <tt style="background: #ebebeb; font-size: 13px;">raise()</tt> in the evidently locations had no effect).<br />
It seems thus safe to apply unconditionally, or else with a simple #ifdef Q_OS_MACOS .</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R284 KCompletion</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D9289" rel="noreferrer">https://phabricator.kde.org/D9289</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/kcompletionbox.cpp</div></div></div><br /><div><strong>To: </strong>rjvbb, Framework: Syntax Highlighting<br /><strong>Cc: </strong>kde-mac, Frameworks<br /></div>