Bug 476208

Summary: ecm_install_icons doesn't work with Breeze
Product: [Frameworks and Libraries] extra-cmake-modules Reporter: David Jarvie <djarvie>
Component: generalAssignee: ecm-bugs-null <ecm-bugs-null>
Status: REPORTED ---    
Severity: normal Keywords: qt6
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description David Jarvie 2023-10-28 17:53:43 UTC
ecm_install_icons cmake command installs Breeze icons in the wrong locations. Breeze uses a different directory structure from other icon themes, so for ecm_install_icons to work with Breeze, it would have to detect that the icon theme is Breeze and modify its behaviour accordingly. I don't know whether it is reasonable to expect ECM to do this, or whether it is really a Breeze issue, but the result is faulty installation.

The only solution that I'm aware of is to make CMakeLists.txt install the Breeze icons at hard-coded locations.

For example, Breeze expects 22x22 action icons to be installed at:
${KDE_INSTALL_ICONDIR}/breeze/actions/22/

whereas other icon themes (e.g. oxygen) use:
${KDE_INSTALL_ICONDIR}/oxygen/22x22/actions/


This fault occurs for both KF5 and KF6:
SOFTWARE/OS VERSIONS
KDE Frameworks Version:  5.240.0 / 5.103.0
Qt Version: 6.6.0 / 5.15.8
Comment 1 Christophe Marin 2023-11-02 10:04:42 UTC
Can you write a post to the frameworks list?

I don't think this should be fixed in ECM, it's the breeze icons repositories that don't follow conventions for icons