Bug 445339 - WMClass missing and icon themes don't apply properly
Summary: WMClass missing and icon themes don't apply properly
Status: REPORTED
Alias: None
Product: kruler
Classification: Applications
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Mathias Soeken
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-11 14:34 UTC by finomeno@gmail.com
Modified: 2021-11-11 14:34 UTC (History)
0 users

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 finomeno@gmail.com 2021-11-11 14:34:50 UTC
SUMMARY
The kruler application does not declare a WMClass properly. Because of this, icon themes cannot be applied properly (at least outside KDE Plasma), and the running application displays a generic icon in the taskbar/dash.

STEPS TO REPRODUCE
1. Launch KRuler
2. See the icon for the running app in the dash/panel

OBSERVED RESULT
The running app displays a generic icon in the taskbar/dash.

EXPECTED RESULT
The running app should display the current theme's icon for that app in the taskbar/dash.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux, Gnome Shell 41.1, KDE Plasma 5.23.3
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 21.08.3
Qt Version: 5.15.2
This has been around forever, the software versions don't matter.

ADDITIONAL INFORMATION
Adding the following line to kruler.desktop file fixes this:

`StartupWMClass=BleachBit`

Can this be fixed please, so we don't have to redo it manually every time or create a local copy of the .desktop file in order to properly apply icon themes?