Bug 470358 - Widget Explorer missing icons due to broken shaders
Summary: Widget Explorer missing icons due to broken shaders
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Widget Explorer sidebar (other bugs)
Version First Reported In: master
Platform: Neon Linux
: NOR major
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: qt6
Depends on:
Blocks: 470599
  Show dependency treegraph
 
Reported: 2023-05-28 11:52 UTC by Patrick Silva
Modified: 2023-08-04 15:23 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot (828.61 KB, image/png)
2023-05-28 11:52 UTC, Patrick Silva
Details
Broken again (174.06 KB, image/jpeg)
2023-08-04 13:18 UTC, Nate Graham
Details

Note You need to log in before you can comment on or make changes to this bug.
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.