<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: broulik, Plasma, VDG.<br />Herald added a project: Plasma.<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/D23253">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>One thing that has been bugging me a bit with notifications is how close the pop-up is<br />
to the screen corners/edges. It's so close that it obscures various things that live very<br />
close to screen edges, such as windows' titlebars and the text input field in chat apps.<br />
The latter case is really annoying in particular because if you have multiple chat apps<br />
running, notifications from the app that's in the background will obscure what you're<br />
typing in the text input field of the foreground chat app.</p>

<p>This patch fixes these types of issues by doing the following:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">Adjusting the popup positioning algorithm make popups that are in a corner equidistant from both adjacent screen edges, rather than only one</li>
<li class="remarkup-list-item">Doubling the defualt distance from the nearest corner/edge</li>
</ul>

<p>The combination of these changes allows pop-ups to no longer obscure window titlebars<br />
and chat windows' input fields.</p>

<p>BUG: 401500<br />
FIXED-IN: 5.16.5</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Top corner popup position no longer obscures window titlebar text and buttons: <a href="https://phabricator.kde.org/F7259424" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F7259424: No longer obscures titlebar and windeco buttons.png</a><br />
Bottom corner popup position no longer obscures chat app's text input field: <a href="https://phabricator.kde.org/F7259425" style="background-color: #e7e7e7;
          border-color: #e7e7e7;
          border-radius: 3px;
          padding: 0 4px;
          font-weight: bold;
          color: black;text-decoration: none;">F7259425: No longer obscures what you're typing in a chat window.png</a></p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>notification-popups-dont-obscure-things-in-corners0anymore (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D23253">https://phabricator.kde.org/D23253</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/notifications/package/contents/ui/global/Globals.qml</div></div></div><br /><div><strong>To: </strong>ngraham, broulik, Plasma, VDG<br /><strong>Cc: </strong>plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>