Bug 470358

Summary: Widget Explorer missing icons due to broken shaders
Product: [Plasma] plasmashell Reporter: Patrick Silva <bugseforuns>
Component: Widget Explorer sidebarAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: major CC: aronkvh, justin.zobel, nate, noeerover
Priority: NOR Keywords: qt6
Version First Reported In: master   
Target Milestone: 1.0   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 470599    
Attachments: screenshot
Broken again

Description Patrick Silva 2023-05-28 11:52:47 UTC
Created attachment 159292 [details]
screenshot

STEPS TO REPRODUCE
1. right-click on desktop and choose "Add widgets..."
2. 
3. 

OBSERVED RESULT
Widget Explorer without icons seen in the attached screenshot

EXPECTED RESULT
Widget Explorer with icons

SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 5.27.80
KDE Frameworks Version: 5.240.0
Qt Version: 6.5.0
Graphics Platform: Wayland
Comment 1 Justin Zobel 2023-06-03 03:52:57 UTC
Can also confirm. Had to launch from panel as launching from the desktop wouldn't work for me, separate issue though.
Comment 2 Nate Graham 2023-06-03 19:43:24 UTC
Can confirm. These icons use a shader effect that's broken in Qt 6. We need to port all the shaders to something else.
Comment 3 Nicolas Fella 2023-07-14 09:29:41 UTC
Git commit 854ebf08be58210b1e349125ed153e0caf2371d6 by Nicolas Fella, on behalf of Mike Noe.
Committed on 14/07/2023 at 09:29.
Pushed by nicolasfella into branch 'master'.

Port shaders to GraphicalEffects/BadgeEffect

Fixes task icon visibility, widgetexplorer icons and badges

Use GraphicalEffect/BadgeEffect for task badge and widget explorer applet delegate
Related: bug 470600

M  +4    -15   applets/taskmanager/package/contents/ui/TaskBadgeOverlay.qml
M  +4    -15   desktoppackage/contents/explorer/AppletDelegate.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/854ebf08be58210b1e349125ed153e0caf2371d6
Comment 4 Nate Graham 2023-08-04 13:18:53 UTC
Created attachment 160736 [details]
Broken again

As of today, this has broken again. I did just upgrade to Qt 6.5.2 after my distro provided it, so perhaps that could be related.
Comment 5 Mike 2023-08-04 15:02:28 UTC
Hmm, I've been on 6.5.2 Tumbleweed since at least a week, no issues.  Tested the widget explorer and the dolphin badging.
Comment 6 Mike 2023-08-04 15:05:24 UTC
Maybe try a refresh build of kdeclarative
Comment 7 Nate Graham 2023-08-04 15:23:22 UTC
Well I'll be, that fixed it.