This is a backport PR for branch 44-x-y
#54859: fix: avoid menu bar crash when GTK cannot initialize
Merged
Created: Oct 12, 2026, 1:14:09 PM
Merged: Oct 13, 2026, 1:41:33 AM
2 comments
Target: 44-x-y
Requested by Charles Kerr · Slack thread
Description of Change
Manual backport of #54777. See that PR for details.
CC @ckerr
The only conflict was in the #include block of shell/browser/ui/gtk_util.cc, where 44-x-y still includes SkUnPreMultiply.h; it was kept alongside the two new includes.
Checklist
- I have built and tested this change
- I have filled out the PR description
- I have reviewed and verified the changes
-
npm testpasses - tests are changed or added
- relevant API documentation, tutorials, and examples are updated and follow the documentation style guide
- PR release notes describe the change in a way relevant to app developers, and are capitalized, punctuated, and past tense.
🤖 Generated with Claude Code
https://claude.ai/code/session_015GReMcdLqJ1Grhw5C8TvVx
Release Notes
Notes: Fixed a Linux crash creating a window with a menu bar when GTK failed to load.
Backport Information
Backported from
#54777: fix: avoid menu bar crash when GTK cannot initializeOriginal PR Author
ckerrOriginal PR Status
Merged
Original PR Merged At
Oct 12, 2026, 9:08:40 AM
Original PR Link
View on GitHubSemver 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