<table><tr><td style="">ngraham created this revision.<br />ngraham added reviewers: Kirigami, mart, broulik, 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/D18796">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>WIth this patch, the <tt style="background: #ebebeb; font-size: 13px;">PassiveNotification</tt>'s timer only starts when its parent window<br />
has focus. This is important on the desktop where it's common to work with multiple<br />
windows at a time, and otherwise these notifications are very easy to miss, especially<br />
when their parent window is minimized or behind another window.</p>
<p>BUG: 403809<br />
FIXED-IN: 5.56</p>
<p>Thanks to <a href="https://phabricator.kde.org/p/broulik/" style="
border-color: #f1f7ff;
color: #19558d;
background-color: #f1f7ff;
border: 1px solid transparent;
border-radius: 3px;
font-weight: bold;
padding: 0 4px;">@broulik</a> for the patch!</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Open Discover, navigate to Source page, try to remove a Flatpak repo, then cancel the<br />
password prompt and immediately sewitch to another window before the notification fires.<br />
It will sit there on the window as long as it's inactive, and only disappear a few<br />
seconds after the window gets focus.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R169 Kirigami</div></div></div><br /><div><strong>BRANCH</strong><div><div>dont-start-passivenotification-timer-until-window-has-focus (branched from master)</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D18796">https://phabricator.kde.org/D18796</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/controls/templates/private/PassiveNotification.qml</div></div></div><br /><div><strong>To: </strong>ngraham, Kirigami, mart, broulik, apol<br /><strong>Cc: </strong>plasma-devel, broulik, dkardarakos, apol, davidedmundson, mart, hein<br /></div>