Bug 499821

Summary: Add webp to the image filter for app icons
Product: [Applications] kmenuedit Reporter: TraceyC <kdedev>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: ASSIGNED ---    
Severity: wishlist CC: kdedev, nate
Priority: NOR Keywords: junior-jobs
Version First Reported In: master   
Target Milestone: ---   
Platform: Solus   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description TraceyC 2025-02-11 16:37:33 UTC
SUMMARY
When selecting an icon for a menu entry, the default filter list hides webp files, which can be used
This is true for the old and new menu editors

STEPS TO REPRODUCE
Have a webp icon you want to use for a menu entry
1. Open the app menu, right click an app and choose Edit Application
2. Click the app icon 
3. In the chooser click Browse
4. Navigate to the folder containing the webp icon

OBSERVED RESULT
The default filter list is *.ico *.png *.xpm *.svg *.svgz|Icon Files
The icon isn't shown in the files you can click on
It's necessary to clear the Filter to choose the desired webp icon

EXPECTED RESULT
webp files are included in the filter list

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
KDE Plasma Version: 6.3.80
KDE Frameworks Version: 6.12.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
I was updating an icon for an Obsidian vault menu entry when I discovered this. The webp image I used works just fine.
Comment 1 Nate Graham 2025-02-19 16:16:37 UTC
Wanna do it? It's not too hard.
Comment 2 TraceyC 2025-02-19 17:11:22 UTC
(In reply to Nate Graham from comment #1)
> Wanna do it? It's not too hard.

Sure. I can take a look.
Comment 3 Bug Janitor Service 2025-06-21 17:27:43 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kiconthemes/-/merge_requests/186