Describe the bug
WM_CLASS is not set for the AppImage instance. This makes a correct .desktop launcher impossible to produce, as the StartupWMClass directive can never be satisfied. The result of this is an incorrect icon displaying for the application in docks (though behavior may vary from between desktop environments).
Expected behavior
WM_CLASS should return anything other than "not found". The icon specified with the Icon directive in its .desktop launcher should be used in docks as a result of the StartupWMClass directive matching the window's WM_CLASS.
To Reproduce
Steps to reproduce the behavior:
- Run the AppImage via a
.desktop launcher.
- In a terminal, type:
xprop WM_CLASS
- Select the AppImage window
- See that it returns
WM_CLASS: not found.
Screenshots


(The AppImage uses the Application Finder icon in my Xfce environment.)
Platform
- OS: GNU/Linux
- AM2RLauncher Version: 2.3.0
Additional context
For ease of testing or for whomever would like it, I have can provide my .desktop launcher:
[Desktop Entry]
Name=AM2R
Comment=Unofficial remake of the 1991 Game Boy game Metroid II: Return of Samus by Nintendo, in the style of Metroid: Zero Mission.
Icon=am2r
Path=/opt/AppImage/AM2R
Exec=/opt/AppImage/AM2R/AM2R.AppImage
Type=Application
StartupWMClass=AM2R
StartupNotify=false
Terminal=false
Keywords=metroid;samus;
Categories=Game;
It should also be noted that the launcher itself has an appropriate WM_CLASS (WM_CLASS(STRING) = "AM2RLauncher", "AM2RLauncher") and thus a proper .desktop launcher can be rendered.
Log file
n/a
Describe the bug
WM_CLASSis not set for the AppImage instance. This makes a correct.desktoplauncher impossible to produce, as theStartupWMClassdirective can never be satisfied. The result of this is an incorrect icon displaying for the application in docks (though behavior may vary from between desktop environments).Expected behavior
WM_CLASSshould return anything other than "not found". The icon specified with theIcondirective in its.desktoplauncher should be used in docks as a result of theStartupWMClassdirective matching the window'sWM_CLASS.To Reproduce
Steps to reproduce the behavior:
.desktoplauncher.xprop WM_CLASSWM_CLASS: not found.Screenshots


(The AppImage uses the Application Finder icon in my Xfce environment.)
Platform
Additional context
For ease of testing or for whomever would like it, I have can provide my
.desktoplauncher:It should also be noted that the launcher itself has an appropriate
WM_CLASS(WM_CLASS(STRING) = "AM2RLauncher", "AM2RLauncher") and thus a proper.desktoplauncher can be rendered.Log file
n/a