SUMMARY The 5.20 system tray selection box has been shortened in width compared to 5.19's one, thus meaning it looks ugly on every Plasma Style that has a selection box style that fills (nearly) all of the box. STEPS TO REPRODUCE 1. Apply a Plasma Style that does that, I guess 2. Be on Plasma 5.20 3. Profit OBSERVED RESULT You get the point. EXPECTED RESULT The box would be as wide as it is in 5.19 at the very least. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: KDE neon 5.20.0 (available in About System) KDE Plasma Version: 5.20.0 KDE Frameworks Version: 5.75.0 Qt Version: 5.15.0 ADDITIONAL INFORMATION ....
Created attachment 132323 [details] the bug in action
Can confirm. Let's see if I can fix it.
In main.qml, the issue seems to be that activeApplet.parent has smaller dimensions than what's visible in the UI.
Changing changeHighlightedItem(activeApplet.parent); to changeHighlightedItem(tasksGrid.currentItem.item); Seems to fix it, but then the highlight effect doesn't move anymore as the active applet is changed. Giving up for now.
Could spacing be potentially decreased while then increasing the width of the parent's box as to counteract the spacing decrease, potentially, maybe?
That's not really a correct change and wouldn't fix it anyway due to the above bug Needs further investigation.
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/383
I think I have a fix: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/383 You can manually apply this by modifying files in: /usr/share/plasma/plasmoids/org.kde.plasma.private.systemtray/contents/ui/
Git commit db009f5af5a1519d7d2fc536b604d98cbaf52cad by Konrad Materka. Committed on 24/10/2020 at 22:13. Pushed by kmaterka into branch 'master'. [applets/systemtray] Make highlight wider Make current item highlight wider, to fill width of active area of applet. FIXED-IN: 5.21 M +1 -0 applets/systemtray/package/contents/ui/items/AbstractItem.qml M +1 -1 applets/systemtray/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/db009f5af5a1519d7d2fc536b604d98cbaf52cad
Git commit 6b25f37496c1a1338b27491afc6dfd548001e4e1 by Konrad Materka. Committed on 24/10/2020 at 22:19. Pushed by kmaterka into branch 'Plasma/5.20'. [applets/systemtray] Make highlight wider Make current item highlight wider, to fill width of active area of applet. FIXED-IN: 5.20.2 M +1 -0 applets/systemtray/package/contents/ui/items/AbstractItem.qml M +1 -1 applets/systemtray/package/contents/ui/main.qml https://invent.kde.org/plasma/plasma-workspace/commit/6b25f37496c1a1338b27491afc6dfd548001e4e1