FS#73551 - [code] Silently fails to load under wayland

Attached to Project: Community Packages
Opened by Jeremy (loserMcloser) - Saturday, 29 January 2022, 21:12 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Monday, 04 April 2022, 15:04 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Massimiliano Torromeo (mtorromeo)
Nicola Squartini (tensor5)
Filipe Laíns (FFY00)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Won't run natively under wayland using electron options
--enable-features=UseOzonePlatform
--ozone-platform=wayland
after upgrading electron13 (13.6.7-1 -> 13.6.8-2)

But runs OK under wayland using xorg-wayland after disabling those options.

Maybe needs a rebuild of code using new electron13 package?

Additional info:

* package version(s)
code 1.63.2-1

* config and/or log files etc.
~/.config/electron13-flags.conf:
--enable-features=UseOzonePlatform
--ozone-platform=wayland

Steps to reproduce:
1. Start a wayland session (such as sway)
2. Start code with the above options to use wayland natively
This task depends upon

Closed by  Massimiliano Torromeo (mtorromeo)
Monday, 04 April 2022, 15:04 GMT
Reason for closing:  Fixed
Additional comments about closing:  electron17-17.3.1
Comment by Jeremy (loserMcloser) - Friday, 04 February 2022, 05:57 GMT
Updating to code 1.64 didn't fix it.

Upstream issue:
https://github.com/microsoft/vscode/issues/141964
Comment by Nikita Shiryakov (nikselite) - Saturday, 05 February 2022, 09:32 GMT
It seems it will be fixed in electron-13.6.9.
https://github.com/electron/electron/pull/32652
Comment by Phil Schaf (flying-sheep) - Tuesday, 22 February 2022, 11:31 GMT
Hmm, electron13 13.6.9-1 didn’t work around this issue, but installing electron13-bin 13.6.9-1 from the AUR did.
Comment by Jeremy (loserMcloser) - Saturday, 26 February 2022, 15:30 GMT
Upgrading to electron-13.6.9 fixed it for me.

(visual-studio-code-bin still doesn't work, but that's another matter.)
Comment by Jeremy (loserMcloser) - Thursday, 31 March 2022, 19:22 GMT
Issue is back with
code 1.66.0-1
electron 17.2.0-1

See also  FS#74287 
Comment by Massimiliano Torromeo (mtorromeo) - Thursday, 31 March 2022, 22:23 GMT
This is an electron issue. In theory it should be fixed by upgrading electron to 17.3.1.

@tensor5 I added you to the task since you are maintaining electron
Comment by anonymous (Austaras) - Saturday, 02 April 2022, 16:28 GMT
I locally build electron 17.3.1 and can confirm code could work normally.

Loading...