Skip to content

fix(linux): electron 35 to fix GTK error #2953

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

Merged
merged 1 commit into from
May 22, 2025
Merged

fix(linux): electron 35 to fix GTK error #2953

merged 1 commit into from
May 22, 2025

Conversation

lidel
Copy link
Member

@lidel lidel commented May 22, 2025

This PR is downgrading electron to 35.x until it is "safe" to use GTK4 as the new default.

It also adds entry to FAQ in case someone updates it before it gets fixed, and/or error hits users in the future.

Closes #2952

Rationale

This feels safer than hardcoding

app.commandLine.appendSwitch('gtk-version', '3')

in our code, or asking people to "self-fix" broken app by passing --gtk-version.

Both are very bad UX and brittle long term.

downgrading electron until it is "safe" to use GTK4 as the new default.

this feels safer than hardcoding
app.commandLine.appendSwitch('gtk-version', '3')
in our code.

Closes #2952
@lidel lidel requested review from SgtPooki and a team as code owners May 22, 2025 20:38
@lidel lidel merged commit d08d073 into main May 22, 2025
7 checks passed
@lidel lidel deleted the fix-gtk-error branch May 22, 2025 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

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