Repository navigation
fix: spellcheck failing to initialize on Linux - #52712
Merged
MarshallOfSound merged 1 commit intoAug 8, 2026
Merged
Conversation
Contributor
|
For more information on signing commits, see GitHub's documentation on Telling Git about your signing key. |
kethinov
force-pushed
the
fix/spellcheck-init-race-50327
branch
from
August 8, 2026 03:58
6dc97da to
4285340
Compare
dsanders11
approved these changes
Aug 8, 2026
MarshallOfSound
approved these changes
Aug 8, 2026
|
Release Notes Persisted
|
This was referenced Aug 8, 2026
Contributor
|
I have automatically backported this PR to "44-x-y", please check out #52716 |
Contributor
|
I have automatically backported this PR to "43-x-y", please check out #52717 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of Change
I traced the cause of Electron bug #50327 to Chromium bug https://issues.chromium.org/issues/543082396. I submitted a patch to Chromium to fix the bug https://chromium-review.googlesource.com/c/chromium/src/+/8206965 which was merged.
This PR backports that fix https://crrev.com/f7aaf9a09a06e77292ea077bcd1527034d02f449 to Electron.
The Electron patch is marked for removal once Chromium rolls past the upstream revision.
Fixes #50327
Testing
I'm interested in this primarily to fix element-hq/element-web#34139 but it should fix the same issue in other Electron apps too.
I verified by creating a small bug reduction Electron app that mirrors the Element Electron app's startup sequence, reading
params.misspelledWordfromcontext-menu. On each branch I built twice from the same tree, differing only in the one-line predicate:spec/spellchecker-spec.tspasses on Linux (22/22, remainder skipped).This is intended for backport to
44-x-yand43-x-y(semver/patch). I verified the patch applies and the fix works on both, per the table above.Checklist
npm testpassesRelease Notes
Notes: Fixed spellcheck not initializing on Linux when the dictionary was already cached from a previous run.