<table><tr><td style="">drosca 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/D19273">View Revision</a></tr></table><br /><div><div><p>This is wrong, there two ways to add button to notification that opens file/directory:</p>

<ol class="remarkup-list">
<li class="remarkup-list-item">Implement KJob tracking for downloads and it will automatically show Open button, but it will only work with platforms that support it (probably only Plasma)</li>
<li class="remarkup-list-item">Use <tt style="background: #ebebeb; font-size: 13px;">actions</tt> parameter in \org.freedesktop.Notifications.Notify` call (<a href="https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html" class="remarkup-link" target="_blank" rel="noreferrer">https://people.gnome.org/~mccann/docs/notification-spec/notification-spec-latest.html</a>)</li>
</ol></div></div><br /><div><strong>REPOSITORY</strong><div><div>R875 Falkon</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D19273">https://phabricator.kde.org/D19273</a></div></div><br /><div><strong>To: </strong>krishremya, Falkon, cullmann<br /><strong>Cc: </strong>drosca, ognarb, falkon, Falkon, anmolgautam, SGOrava, iodelay, spoorun, ptabis, navarromorales, clivej, mparillo, ach<br /></div>