This is a backport PR for branch 45-x-y
trop[bot]

#54846: fix: avoid menu bar crash when GTK cannot initialize

Merged
Created: Oct 12, 2026, 9:09:22 AM
Merged: Oct 12, 2026, 1:08:31 PM
1 comments
Target: 45-x-y

Backport of #54777

See that PR for details.

Notes: Fixed a Linux crash creating a window with a menu bar when GTK failed to load.

Backport Information

Original PR Author
ckerr
Original PR Status
Merged
Original PR Merged At
Oct 12, 2026, 9:08:40 AM
Original PR Link
GitHubView on GitHub

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron