Created attachment 137559 [details]
STEPS TO REPRODUCE
1. use Wayland session
2. copy texts to clipboard until history of Clipboard applet in system tray is full
3. click on Clipboard applet in system tray and click on "Keep open" button in the upper right corner of its popup
4. hover over each item in the history of Clipboard applet and click on its "Remove from history" button until clipboard is empty
as we can see in the attached screenshot, the blue line that highlights the active
applet is misplaced
whole system tray should be highlighted with a blue line
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.21.80
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Graphics Platform: Wayland
I can reproduce on X with the battery applet on my desktop, unchecking the check box moves the applet into the panel with a misplaced line
Created attachment 137577 [details]
Misplaced line on battery applet
Created attachment 137607 [details]
misplaced blue line reproduced with Disks & Devices applet
I can't reproduce with battery applet on my desktop computer, but I have just found another way to reproduce on neon unstable:
while Disks & Devices applet is hidden in system tray, set it to show
all devices. Then it unhides in system tray and we see a misplaced blue line.
I'm able to reproduce it with Lock Key Status. I'll fix it.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/791
Git commit d6a2e1976e43e7eb9be88c2c07e5ed31ad76fded by Konrad Materka.
Committed on 19/04/2021 at 21:27.
Pushed by kmaterka into branch 'master'.
[applets/systemtray] Fix highlight when applet comes back from hidden
Highlight should work correctly if selected applet changes state
and is moved to hidden area and then comes back to visble area.
M +15 -3 applets/systemtray/package/contents/ui/CurrentItemHighLight.qml