Skip to content

Gtk-ERROR: GTK 2/3 symbols detected. Using GTK 2/3 and GTK 4 in the same process is not supported #2952

@lidel

Description

@lidel

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.

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).

Metadata

Metadata

Assignees

Labels

kind/bugA bug in existing code (including security flaws)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions