<table><tr><td style="">graesslin created this revision.<br />graesslin added a reviewer: Plasma.<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/D2942" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Klipper shows a notification when the shortcuts next/prev history item<br />
gets triggered. This notification used to be implemented in the class<br />
KlipperTray. With the switch from SNI based clipper to a Plasmoid the<br />
notification got lost as the Plasmoid doesn't use the KlipperTray class<br />
at all.</p>

<p>This change moves the notification handling from KlipperTray to Klipper<br />
so that it gets emitted for both SNI and Plasmoid based klipper.</p>

<p>BUG: 368808<br />
FIXED-IN: 5.8.1</p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Set the shortcuts, triggered them and verified the notification gets shown.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>rPLASMAWORKSPACE Plasma Workspace</div></div></div><br /><div><strong>BRANCH</strong><div><div>klipper-notification-5.8</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D2942" rel="noreferrer">https://phabricator.kde.org/D2942</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>klipper/CMakeLists.txt<br />
klipper/klipper.cpp<br />
klipper/klipper.h<br />
klipper/tray.cpp<br />
klipper/tray.h</div></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>graesslin, Plasma<br /><strong>Cc: </strong>plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>