Bug 433663

Summary: Blue line above icons in system tray animated oddly when clicking on individual applet while overview page is open
Product: [Plasma] plasmashell Reporter: Hannus <baggeraar01>
Component: System TrayAssignee: Konrad Materka <materka>
Status: RESOLVED FIXED    
Severity: minor CC: materka, nate
Priority: NOR    
Version: 5.21.1   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.22.0
Sentry Crash Report:

Description Hannus 2021-02-26 15:49:45 UTC
SUMMARY
The blue line above all icons in the system tray (visible after clicking ^ ) doesn't close well when clicking a single icon.

STEPS TO REPRODUCE
1. Click in the system tray on the ^
2. Click on another icon in the system tray

OBSERVED RESULT
The blue line above all icons is expanding to the right of the panel/system tray and not visible anymore left of the clicked icon, after that the blue line is reduced to the clicked icon.

EXPECTED RESULT
The blue line above all icons should be reduced to the clicked icon, without first changing.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Comment 1 Nate Graham 2021-02-26 16:12:31 UTC
Can confirm.
Comment 2 Konrad Materka 2021-02-28 17:50:10 UTC
I'm on it
Comment 3 Bug Janitor Service 2021-02-28 18:34:46 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/682
Comment 4 Konrad Materka 2021-03-12 19:18:15 UTC
Git commit afc15e860907cd7f16bf605e8ba7deabf7d0d150 by Konrad Materka.
Committed on 12/03/2021 at 19:17.
Pushed by kmaterka into branch 'master'.

[applets/systemtray] Better highlight animations

Do not animate first highlight.
Animation is always parented to root element so that x and y animations
work correctly.
FIXED-IN: 5.22.0

M  +39   -26   applets/systemtray/package/contents/ui/CurrentItemHighLight.qml
M  +1    -0    applets/systemtray/package/contents/ui/main.qml

https://invent.kde.org/plasma/plasma-workspace/commit/afc15e860907cd7f16bf605e8ba7deabf7d0d150