Bug 499821 - Add webp to the image filter for app icons
Summary: Add webp to the image filter for app icons
Status: ASSIGNED
Alias: None
Product: kmenuedit
Classification: Applications
Component: general (other bugs)
Version First Reported In: master
Platform: Solus Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: junior-jobs
Depends on:
Blocks:
 
Reported: 2025-02-11 16:37 UTC by TraceyC
Modified: 2025-06-21 17:27 UTC (History)
2 users (show)

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


Attachments

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