Gtk-ERROR: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
Closed this issue · 0 comments
lidel commented
On linux, trying to run #2949 on certain linux distributions ends up with process crashing with:
(process:10592): Gtk-ERROR **: 22:01:32.671: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported
This is a bug due to Electron updating to latest Chromium, which switched to GTK 4 by default, while many, MANY distributions are still using GTK 3.
- See upstream bug: electron/electron#46538
Note: this is not the first time Electron blindly updated Chromium without having any backward-compatibility or regression testing for existing users (example: tray issues)
Workarounds
Workaround is to pass ./ipfs-desktop --gtk-version 3
or hardcode app.commandLine.appendSwitch('gtk-version', '3')
in app code.
Both bad UX, brittle, and not future-proof.
Plan
We will downgrade Electron to 35 until this mess is fixed upstream (electron/electron#46538).