<table><tr><td style="">broulik updated this revision to Diff 60509.<br />broulik edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-a6wndvmstteyqs3/">(Show Details)</a><br />broulik edited the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-hqjsi3mnspumyrf/">(Show Details)</a><br />broulik added a comment.
</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/D22045">View Revision</a></tr></table><br /><div><div><ul class="remarkup-list">
<li class="remarkup-list-item">get rid of <tt style="background: #ebebeb; font-size: 13px;">Qt.callLater</tt></li>
<li class="remarkup-list-item">Fix (work around) issue when dialog contents arent ready yet</li>
</ul></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>More importantly, place the popups immediately and before they are shown so they show up correctly and don't fly all over the place.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
It can happen that the popup contents aren't readily laid out when we enter `positionPopups()` after object creation, so don't reserve any space for the popup until it </span></div></div></div><br /><div><strong>CHANGES TO TEST PLAN</strong><div><div style="white-space: pre-wrap; color: #74777D;">The first popup might still fly in from outside the screen or something but it's a significant improvement on wayland at least.<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> For some more elaborate notifications I now have a slight delay before they show up but that might have been also one of the reasons for them showing up in the wrong place before.<br />
<br />
Please try triggering alternate notifications from [1] and `notify-send`. It's very strange why sometimes you have a delay now but at least stuff doesn't fly all over or cause weird gaps :)</span><br />
<br />
(Don't really know which bugreport on bugzilla is that particular issue, there's some others with notification popups overlapping and appearing in random places but might be unrelated)<span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
<br />
[1] https://tests.peter.sh/notification-generator/</span></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D22045?vs=60492&id=60509">https://phabricator.kde.org/D22045?vs=60492&id=60509</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D22045">https://phabricator.kde.org/D22045</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>broulik, Plasma, VDG, ngraham, nicolasfella, davidedmundson<br /><strong>Cc: </strong>davidedmundson, ngraham, plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart<br /></div>