<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Kirigami, mart, apol.<br />Herald added a project: Kirigami.<br />Herald added a subscriber: plasma-devel.<br />ngraham 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/D25019">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Right now, if you define <tt style="background: #ebebeb; font-size: 13px;">topContent</tt> for your GlobalDrawer, it's added to the scrollview<br />
so it can actually scroll out of sight, making it not always on top.</p>

<p>This patch moves the <tt style="background: #ebebeb; font-size: 13px;">topContent</tt> above the scrollview so it always stays on top/</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Discover's GlobalDrawer toolbar no longer strangely scrolls out of view: <a href="https://phabricator.kde.org/F7680325" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F7680325: topContent always on top.png</a></p>

<p>No regressions in Discover when the view is not scrollable</p>

<p>No regressions that I could detect in Kirigami Gallery, though this probably needs lots<br />
more testing to ensure that nothing has exploded</p>

<p>BUG: 389533<br />
FIXED-IN: 5.64</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br /><div><strong>BRANCH</strong><div><div>topContent-always-on-top (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25019">https://phabricator.kde.org/D25019</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/controls/GlobalDrawer.qml</div></div></div><br /><div><strong>To: </strong>ngraham, Kirigami, mart, apol<br /><strong>Cc: </strong>plasma-devel, fbampaloukas, GB_2, domson, dkardarakos, ngraham, apol, ahiemstra, davidedmundson, mart, hein<br /></div>