<table><tr><td style="">vpilo updated this revision to Diff 12310.<br />vpilo 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/D4799" rel="noreferrer">View Revision</a></tr></table><br /><div><div><p>New version, using the idea suggested by <a href="https://phabricator.kde.org/p/davidedmundson/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@davidedmundson</a> .</p>

<p>The KNotifications manager was clearing queued notifications also when the fd.o Notifications service initially registers; and while I get that it's done on unregistering to cleanup, I can't see why it should do it on register as well. Without that clearing, notifications queue up and get delivered naturally when the service gets restarted.</p>

<p>Also, I had to take out the KDE_FULL_SESSION check to make this work. Is there any drawback to this?</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R289 KNotifications</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D4799?vs=11831&id=12310" rel="noreferrer">https://phabricator.kde.org/D4799?vs=11831&id=12310</a></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D4799" rel="noreferrer">https://phabricator.kde.org/D4799</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/CMakeLists.txt<br />
src/notifybypopup.cpp<br />
src/waitforname/CMakeLists.txt<br />
src/waitforname/main.cpp<br />
src/waitforname/org.freedesktop.Notifications.service.in</div></div></div><br /><div><strong>To: </strong>vpilo<br /><strong>Cc: </strong>davidedmundson, dfaure, broulik, graesslin, mck182, Frameworks<br /></div>