Created attachment 137025 [details] screenshot STEPS TO REPRODUCE 1. click on Clipboard applet in system tray 2. click on "Keep open" button in the upper right corner of Clipboard popup 3. click on "Clear history" button on top 4. if a dialog appears asking for confirming, click on "Yes" button OBSERVED RESULT clipboard history is cleared, popup of Clipboard applet remains open and wrong systray icon is highlithed with a blue line on top. In the attached screenshot the icon of night color applet is highlighted. EXPECTED RESULT after clipboard cleaning, icon of Clipboard applet should remain visible and highlithed in system tray until the popup of the Clipboard applet is closed. SOFTWARE/OS VERSIONS Operating System: KDE neon Unstable Edition KDE Plasma Version: 5.21.80 KDE Frameworks Version: 5.81.0 Qt Version: 5.15.2 Graphics Platform: X11
Can confirm. The line migrates to the next applet remaining after the clipboard icon disappears.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/747
Git commit 5126f17ecf8aa61cf3702a420f51052a17b8a90f by Konrad Materka. Committed on 27/03/2021 at 19:30. Pushed by ngraham into branch 'master'. [applets/systemtray] Fix highlight when applet changes state with Keep Open Fix bug, when highlight is not correctly updated, when selected applet changes state but "Keep Open" (pin) is enabled. FIXED-IN 5.22.0 M +23 -2 applets/systemtray/package/contents/ui/CurrentItemHighLight.qml https://invent.kde.org/plasma/plasma-workspace/commit/5126f17ecf8aa61cf3702a420f51052a17b8a90f