Bug 500654

Summary: Wine category doesn't use symbolic icon
Product: [Plasma] plasmashell Reporter: Alexander Wilms <f.alexander.wilms>
Component: Application Menu (Kicker) widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 6.3.0   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot of the Application Menu

Description Alexander Wilms 2025-02-24 07:01:42 UTC
Created attachment 178791 [details]
Screenshot of the Application Menu

SUMMARY
The category for applications installed using Wine doesn't use a symbolic icon, unlike the other entries.

STEPS TO REPRODUCE
1. Install Wine
2. Install Windows application using Wine
3. Switch to Application Menu instead of Application Launcher
4. Open Application Menu

OBSERVED RESULT
The "Wine" category uses a colorful icon

EXPECTED RESULT
It uses a symbolic icon

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250219
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.3-1-default (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Looks like this should have been fixed by https://bugs.kde.org/show_bug.cgi?id=494450
Comment 1 Nate Graham 2025-02-24 17:20:54 UTC
We have a `wine-symbolic` icon in the Breeze theme that you can manually set it to using KMenuEdit.

In Plasma 56.2 this wasn't required since we forcibly added "-symbolic" to the end of the icon name that was configured there. But in Plasma 6.3, we simply honor the icon name in KMenuEdit, so if it's colorful and you want it to be symbolic, that's now up to you.

...Or you can submit an issue or merge request upstream in WINE itself that changes the icon they specify for their menu file to be `wine-symbolic`.
Comment 2 Alexander Wilms 2025-02-27 13:14:56 UTC
Since some other desktop environments use colorful category icons, it seems sensible to me that these would request the icon `wine`, while KDE would return to requesting `wine-symbolic`, falling back to the non-symbolic icon if necessary for other categories.
Comment 3 Nate Graham 2025-02-27 23:03:05 UTC
> while KDE would return to requesting `wine-symbolic`

This is what we did in Plasma 6.2. It didn't go over well, because there was no way to disable the behavior for those who didn't like it. This is why, for Plasma 6.3, we returned to respecting the icon names specified in the menu files, and then we simply changed the default icon names in the menu files we ship to end with "-symbolic".

The downside is that this doesn't affect any menu files shipped by 3rd-parties, and WINE is one such example.

Unfortunately there is no perfect solution here; only trade-offs.