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]: app_id not set when running Electron with native Wayland #33578
Comments
/cc @p2004a |
I will try to reproduce and bisect the issue in the next couple of days. |
@chrhasse I have problem with reproducing this. Using test app from https://www.electronjs.org/docs/latest/tutorial/quick-start When I run electron version 18.0.0 under X11 I see that the
So the |
Sorry, I think I must have made a mistake in my testing. I can't easily test older builds from this repository as they crash due to #32436 (for my system on Arch Linux with Sway 1.7), so I've been testing using my distro's packages. I had built 18.0.0 by modifying the PKGBUILD for 17.2.0, but I deleted the PKGBUILD and the package after my initial testing, and when I rebuilt it using a modified 18.0.1 PKGBUILD for convenience's sake, it wasn't setting the app_id. I'm not sure if I tested the wrong version initially or if it has to do with the package maintainer's patches (which can be found here). I can rebuild with a modified 17.2.0 PKGBUILD if I needed, but compilation takes me 2 and a half hours so I'd rather avoid it. At any rate, if I downgrade to 17.2.0 from the Arch repositories and run:
The only version I can test from the GitHub releases is 13.6.9 which also properly sets app_id:
|
Thanks, so the regression isn't between 18.0.0 and 18.0.1 but between 17 and 18 branches and is not related to my fixes. I did |
Hi @p2004a, first of all thanks for your work. Thanks ENx |
@enx1998 I'm not currently actively working on it, I've only verified that this is not caused by my changes. |
New VSCode now has empty |
It would be even better to have a way to overwrite the app_id via the environment or a CLI option. |
Preflight Checklist
Electron Version
18.0.1
What operating system are you using?
Other Linux
Operating System Version
Arch Linux
What arch are you using?
x64
Last Known Working Electron version
18.0.0
Expected Behavior
The
app_id
window property should be set to the same value asclass
under X11.Actual Behavior
app_id
is an empty string when running Electron under Wayland.Testcase Gist URL
No response
Additional Information
While most apps would crash prior to #33355, the default page if you run
electron --ozone-platform=wayland
would still run and properly setapp_id
.The text was updated successfully, but these errors were encountered: