Bug 404322

Summary: No SVG file support for application menu icon
Product: [Plasma] kwin Reporter: Bobby Wibowo <bobby>
Component: auroraeAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: wishlist CC: bugseforuns, doncbugs, hexclover, nate, trmdi
Priority: NOR    
Version: 5.16.5   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Application menu button fallback to the app's icon

Description Bobby Wibowo 2019-02-14 07:47:44 UTC
Created attachment 118056 [details]
Application menu button fallback to the app's icon

SUMMARY
Aurorae theme engine allows using SVG files to render window decorations, but there's a lack of support for "application menu" button.

When "application menu" button is added to the title bar, its icon will instead fallback to the app's icon.

If this file is indeed the one that loads Aurorae themes, https://phabricator.kde.org/source/kwin/browse/master/plugins/kdecorations/aurorae/src/lib/auroraetheme.cpp$111, then yeah, there doesn't seem to be any line in it whatsoever to load SVG file for "application menu" button.

This documentation also does not say anything about it, https://phabricator.kde.org/source/kwin/browse/master/plugins/kdecorations/aurorae/theme-description.

There used to be a bug report somewhat related to this, https://bugs.kde.org/show_bug.cgi?id=375862, but the proposed solution was only to allow adding the icon programmatically (which Plastik theme does).

STEPS TO REPRODUCE
1. Install an SVG-based Aurorae theme.
2. Go to System Settings > Application Style > Window Decorations.
3. Apply the said theme in Theme tab.
4. Go to Buttons tab, then add Application menu button somewhere in the title bar.

OBSERVED RESULT
Application menu button fallback to the app's icon instead of trying to load an SVG icon from the theme.
Then again there's no support for it anyway.

EXPECTED RESULT
Application menu button supports SVG file.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE neon 5.14
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Relevant issue in an SVG-based theme's Github repository: https://github.com/PapirusDevelopmentTeam/materia-kde/issues/37.
Comment 1 Patrick Silva 2019-02-14 13:28:23 UTC
it seems related to bug 381442
Comment 2 Nate Graham 2019-02-14 21:29:28 UTC
No, that's something else.
Comment 3 trmdi 2019-09-06 01:26:46 UTC
I think this should be fixed because people use Aurorae theme a lot, and putting the Menu icon on the titlebar is a common usage.
Comment 4 Vlad Zahorodnii 2019-09-06 08:08:38 UTC
> I think this should be fixed
As pretty much any other bug...