You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
Electron Version
12.0.5
What operating system are you using?
Other Linux
Operating System Version
Arch Linux
What arch are you using?
Other (specify below)
Last Known Working Electron version
No response
Expected Behavior
Electron shouldn't change the default behavior of apps, launched by electron
Actual Behavior
All electron apps will start additional 3rd party apps in xwayland mode. This results in a conflict for some of them. Like firefox, if firefox is already launched and you press a link in an electron app, firefox will respond with a message "Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.", because firefox xwayland can not run inside a native wayland firefox.
Testcase Gist URL
No response
Additional Information
Steps to reproduce:
Be on a wayland session (with xwayland support, like GNOME; check with echo $XDG_SESSION_TYPE)
Launch firefox in wayland mode: MOZ_ENABLE_WAYLAND=1 firefox (could be default on your distro anyways, you can check after launch in about:support.)
make sure that firefox is your default browser.
Launch an Electron app
Click a link in this electron app
The text was updated successfully, but these errors were encountered:
It's not entirely clear from the description, but I suppose the Electron app is run using XWayland, right (e.g.: without passing the --enable-features=UseOzonePlatform --ozone-platform=wayland flags)?
If that's the case then this could be caused by #28436 and it might be worth trying to run the Electron app as native Wayland app to see if that makes any difference. Obviously this is not a solution because then you would have the opposite effect (apps run from Electron being forced to run as Wayland apps) but it should help confirm if it's the same underlying bug.
Preflight Checklist
Electron Version
12.0.5
What operating system are you using?
Other Linux
Operating System Version
Arch Linux
What arch are you using?
Other (specify below)
Last Known Working Electron version
No response
Expected Behavior
Electron shouldn't change the default behavior of apps, launched by electron
Actual Behavior
All electron apps will start additional 3rd party apps in xwayland mode. This results in a conflict for some of them. Like firefox, if firefox is already launched and you press a link in an electron app, firefox will respond with a message "Firefox is already running, but is not responding. To use Firefox, you must first close the existing Firefox process, restart your device, or use a different profile.", because firefox xwayland can not run inside a native wayland firefox.
Testcase Gist URL
No response
Additional Information
Steps to reproduce:
echo $XDG_SESSION_TYPE
)MOZ_ENABLE_WAYLAND=1 firefox
(could be default on your distro anyways, you can check after launch in about:support.)The text was updated successfully, but these errors were encountered: