Repository navigation
chore: disable default async spellchecker on Windows - #29690
Merged
VerteDinde merged 2 commits intoJun 15, 2021
Merged
Conversation
zcbenz
reviewed
Jun 15, 2021
zcbenz
left a comment
Contributor
There was a problem hiding this comment.
Can this feature be disabled in shell/browser/feature_list.cc instead of adding a patch?
Member
Author
|
@zcbenz Oh yes, that's a much better approach than adding a patch - thanks so much! 🙂 |
MarshallOfSound
approved these changes
Jun 15, 2021
zcbenz
approved these changes
Jun 15, 2021
codebytere
approved these changes
Jun 15, 2021
VerteDinde
deleted the
disable-WinRetrieveSuggestionsOnlyOnDemand-by-default
branch
June 15, 2021 16:11
|
Release Notes Persisted
|
This was referenced Jun 15, 2021
Contributor
|
I have automatically backported this PR to "14-x-y", please check out #29705 |
Contributor
|
I have automatically backported this PR to "13-x-y", please check out #29706 |
BlackHole1
pushed a commit
to BlackHole1/electron
that referenced
this pull request
Aug 30, 2021
* chore: disable default async spellchecker on Windows * chore: disable kWinRetrieveSuggestionsOnlyOnDemand in feature list
deepak1556
added a commit
that referenced
this pull request
Jan 7, 2025
Amends the fix from #29690 since the feature flag is no longer available. We follow the same pattern as //chrome/browser/renderer_context_menu/spelling_menu_observer.cc to generate the suggestion list on demand when context menu action is invoked.
dsanders11
added a commit
that referenced
this pull request
Jan 9, 2025
Amends the fix from #29690 since the feature flag is no longer available. We follow the same pattern as //chrome/browser/renderer_context_menu/spelling_menu_observer.cc to generate the suggestion list on demand when context menu action is invoked. Co-authored-by: David Sanders <[email protected]>
ckerr
pushed a commit
that referenced
this pull request
Jan 10, 2025
* chore: bump chromium in DEPS to 133.0.6902.0 * chore: bump chromium in DEPS to 133.0.6903.0 * chore: update patches * Update PdfViewer Save File Picker to use showSaveFilePicker. Refs https://chromium-review.googlesource.com/c/chromium/src/+/6074308 * Code Health: Clean up stale MacWebContentsOcclusion Refs https://chromium-review.googlesource.com/c/chromium/src/+/6078344 * Change RenderProcessHost::GetID to RenderProcessHost::GetDeprecatedID Refs https://chromium-review.googlesource.com/c/chromium/src/+/6065543 * [WebRTC] Make WebRTC IP Handling policy a mojo enum Refs https://chromium-review.googlesource.com/c/chromium/src/+/6063620 * chore: gen filenames.libcxx.gni * Remove allow_unsafe_buffers pragma in //printing Refs https://chromium-review.googlesource.com/c/chromium/src/+/6092280 * refactor: to use ChildProcessId where possible Refs https://issues.chromium.org/issues/379869738 * [Win] Update TabletMode detection code Refs https://chromium-review.googlesource.com/c/chromium/src/+/6003486 * chore: bump chromium in DEPS to 133.0.6905.0 * chore: update patches * Reland "Move global shortcut listener to //ui/base" Refs https://chromium-review.googlesource.com/c/chromium/src/+/6099035 * [shared storage] Implement the batch `with_lock` option for response header Refs https://chromium-review.googlesource.com/c/chromium/src/+/6072742 * chore: bump chromium in DEPS to 133.0.6907.0 * chore: bump chromium in DEPS to 133.0.6909.0 * chore: bump chromium in DEPS to 133.0.6911.0 * chore: bump chromium in DEPS to 133.0.6912.0 * chore: update patches * WebUI: Reveal hidden deps to ui/webui/resources. Refs https://chromium-review.googlesource.com/c/chromium/src/+/6096291 * chore: bump chromium in DEPS to 133.0.6913.0 * chore: bump chromium in DEPS to 133.0.6915.0 * Code Health: Clean up stale base::Feature "AccessibilityTreeForViews" Refs https://chromium-review.googlesource.com/c/chromium/src/+/6104174 Co-authored-by: David Sanders <[email protected]> * fix: remove fastapitypedarray usage * chore: update patches * chore: script/gen-libc++-filenames.js * Code Health: Clean up stale base::Feature "WinRetrieveSuggestionsOnlyOnDemand" Refs https://chromium-review.googlesource.com/c/chromium/src/+/6109477 * fix: empty suggestions with windows platform checker Amends the fix from #29690 since the feature flag is no longer available. We follow the same pattern as //chrome/browser/renderer_context_menu/spelling_menu_observer.cc to generate the suggestion list on demand when context menu action is invoked. Co-authored-by: David Sanders <[email protected]> * fixup! fix: empty suggestions with windows platform checker * fixup! fix: empty suggestions with windows platform checker * revert: 6078344: Code Health: Clean up stale MacWebContentsOcclusion | https://chromium-review.googlesource.com/c/chromium/src/+/6078344 * Revert "revert: 6078344: Code Health: Clean up stale MacWebContentsOcclusion | https://chromium-review.googlesource.com/c/chromium/src/+/6078344" This reverts commit 9cacda4. * chore: bump to 133.0.6920.0, update patches * Revert "6078344: Code Health: Clean up stale MacWebContentsOcclusion" Refs: https://chromium-review.googlesource.com/c/chromium/src/+/6078344 * fixup! Update PdfViewer Save File Picker to use showSaveFilePicker. --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: deepak1556 <[email protected]> Co-authored-by: David Sanders <[email protected]> Co-authored-by: Keeley Hammond <[email protected]>
3 tasks done
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
Fixes #29685
In Electron 13, Chromium added a new feature to the spellchecker,
kWinRetrieveSuggestionsOnlyOnDemand. Available for Windows only and now enabled by default, ifkWinRetrieveSuggestionsOnlyOnDemandis set, suggestions will be retrieved on demand when the context menu is brought up with a misspelled word selected.However, as part of this change, the spellcheck results returned by this method will have empty suggestion lists. These empty suggestions are what are returned to the Electron app when this feature is enabled, causing strange behavior. This PR adds this feature flag to the disabled_features list, so that suggestions lists are correctly returned by spellchecker methods.
Checklist
npm testpassesRelease Notes
Notes: Fixed a feature flag issue where spellchecker methods returned empty suggestion lists on Windows.