New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: WM_CLASS is not set on wayland #34928
Comments
This might be related to [Bug]: Electron icon shown instead of app's on Wayland #34801 |
@vially this issue seems to be about the |
This is a bit confusing because But this issue mentions "WM_CLASS is not set on wayland", which could mean two things:
My previous comment assumed it was the latter, but maybe @harmathy can clarify this a bit. |
In Looking Glass all windows have a wmclass property and in the Desktop Entry Specification there is a Running on Xwayland an electron window looks like this: on pure wayland: I guess, |
Thanks, that makes sense. I still think this is a duplicate of #33578 so it's worth testing if the issue is still present in the nightly version of Electron ( If this is fixed in nightly, then it was most likely fixed by #34855 which was backported to versions |
I can confirm, this issue is fixed now! |
Preflight Checklist
Electron Version
19.0.8
What operating system are you using?
Other Linux
Operating System Version
ArchLinux
What arch are you using?
x64
Last Known Working Electron version
17.4.10
Expected Behavior
To enable the desktop system to match a window to the respective application,
wmclass
should be set on properly on wayland, as it does on X11.Actual Behavior
The
wmclass
is empty on wayland, which results in the compositor not being able to recognize, which application a window belongs to:Testcase Gist URL
No response
Additional Information
on electron 17.4.10
wmclass
is set correctlyThe text was updated successfully, but these errors were encountered: