<table><tr><td style="">davidedmundson created this revision.<br />Restricted Application added a project: Plasma.<br />Restricted Application added a subscriber: plasma-devel.
</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/D6237" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>The notification dialog height is based on the implicit height of<br />
mainLayout. Main layout would shift depending on whether we were showing<br />
the icon on the left.</p>

<p>When we hide a dialog we set the root item to invisible, this changes<br />
the effective visibility of these images, which in turn changes the<br />
width of the main layout and therefore the implicit height.</p>

<p>This patch changes comparing visibility of the icon to comparing if it's<br />
null which is persistent.</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Showed an notification<br />
Confirmed the implicitHeight stayed the same in gammaray</p>

<p>Tested both with a KDE notification with an icon and notify-send</p>

<p>Marco can you see if it helps your issue, without the part of <br />
your p-f patch that changes rootItem visibility.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>Plasma/5.10</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D6237" rel="noreferrer">https://phabricator.kde.org/D6237</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>applets/notifications/package/contents/ui/NotificationItem.qml</div></div></div><br /><div><strong>To: </strong>davidedmundson, Plasma<br /><strong>Cc: </strong>plasma-devel, ZrenBot, spstarr, progwolff, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart, lukas<br /></div>