Bug 459930

Summary: Panel highlight draws over icons/items
Product: [Plasma] plasmashell Reporter: doncbugs
Component: PanelAssignee: veggero <niccolo.venerandi>
Status: RESOLVED FIXED    
Severity: normal CC: nate, niccolo.venerandi
Priority: NOR    
Version First Reported In: 5.25.90   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description doncbugs 2022-10-02 22:34:58 UTC
SUMMARY
The highlight asset used to indicate focus for things like the Application Menu or clock is drawn on top of the icon. For the Breeze theme, which is only an opaque line at the top, this has a negligible effect. In the case of a full-frame opaque highlight, this would mean that the icon is no longer visible.

STEPS TO REPRODUCE
1. Install and apply a theme with a full-frame highlight asset (I used Willow Light)
2. Click the Kickoff icon in the panel to open it (clock and show desktop are also options)
3. 

OBSERVED RESULT
The highlight asset is drawn over the icon. Since it is white, the icon slightly fades out.

EXPECTED RESULT
Like the task manager, the highlight should be drawn underneath. 

Operating System: KDE neon Testing Edition
KDE Plasma Version: 5.25.90
KDE Frameworks Version: 5.99.0
Qt Version: 5.15.6
Kernel Version: 5.15.0-48-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
It would be nice to have this functionality through theme control. A glassy overlay for the Application Menu icon when clicked would look rather nice. Same for the task manager.
Comment 1 veggero 2022-10-02 22:37:40 UTC
Should be an easy fix
Comment 2 Bug Janitor Service 2022-12-08 17:17:12 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/1288
Comment 3 Niccolò Venerandi 2023-01-06 15:25:46 UTC
Git commit c4adcea2eb50b78b42d75932ffddfe1b53c1ab3e by Niccolò Venerandi.
Committed on 06/01/2023 at 15:08.
Pushed by niccolove into branch 'master'.

Draw the highlight of pressed widgets underneath the icon of the applet

M  +1    -0    desktoppackage/contents/applet/CompactApplet.qml

https://invent.kde.org/plasma/plasma-desktop/commit/c4adcea2eb50b78b42d75932ffddfe1b53c1ab3e