Bug 404322 - No SVG file support for application menu icon
Summary: No SVG file support for application menu icon
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: aurorae (show other bugs)
Version: 5.16.5
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-14 07:47 UTC by Bobby Wibowo
Modified: 2021-09-25 18:57 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Application menu button fallback to the app's icon (12.95 KB, image/png)
2019-02-14 07:47 UTC, Bobby Wibowo
Details

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