https://bugs.kde.org/show_bug.cgi?id=431821

--- Comment #7 from Ivo Šmerek <iv...@centrum.cz> ---
When is this `windowChanged` method called?

All examples/test cases I know are Steam games. For example, all games listed
in this JSON attribute have WM_CLASS missing. All those games have WM_NAME
property though.

https://github.com/BlueManCZ/SIF/blob/master/wm-class-database.json#L92-L129

The simple and free test case would be free-to-play game Team Fortress 2. This
game has an icon in many icon packs:

https://github.com/PapirusDevelopmentTeam/papirus-icon-theme/blob/master/Papirus/64x64/apps/team-fortress2.svg
https://github.com/numixproject/numix-icon-theme-circle/blob/master/Numix-Circle/48/apps/steam_icon_440.svg
https://github.com/gusbemacbe/suru-plus/blob/master/Suru%2B%2B/apps/scalable/team-fortress2.svg

But without WM_CLASS it is impossible to display this icon when the game is
running. So I came with this simple xprop fix, that seems to not work with KDE
task manager. This fix simply mirrors WM_NAME to WM_CLASS.

https://github.com/BlueManCZ/SIF/blob/master/fix-wm-class.sh

The easiest way how to set up this fix correctly is the script I wrote.

https://github.com/BlueManCZ/SIF

It finds installed Steam games supported by icon packs, creates .desktop files
with correct icons and WM_CLASSes and if necessary, insert this xprop fix to
game launch options.

Let me know if I can help in any way.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to