Skip to content

[Bug]: Empty dictionarySuggestions on Windows since electron 13.x #29685

Closed

Description

@EtienneLem

Preflight Checklist

Electron Version

13.1.2

What operating system are you using?

Windows

Operating System Version

Windows 10 version 2004

What arch are you using?

x64

Last Known Working Electron version

12.0.11

Expected Behavior

dictionarySuggestions is expected to have suggestions.

Actual Behavior

dictionarySuggestions is empty.

Testcase Gist URL

No response

Additional Information

Reminiscent of #24455, but it probably is a different issue given the difference of how spellchecking works on each platform.

electron 12

electron 12.0.11
chrome 89.0.4389.128

misspelledWord: Houuse
dictionarySuggestions: [ 'House', 'Housed', 'Houses', 'Housel', 'Houser' ]
session.getSpellCheckerLanguages: [ 'en-GB', 'en-US' ]

electron 13

electron 13.1.2
chrome 91.0.4472.77

misspelledWord: Houuse
dictionarySuggestions: []
session.getSpellCheckerLanguages: [ 'en-GB', 'en-US' ]

Activity

  1. MarshallOfSound commented on Jun 14, 2021

    @MarshallOfSound
    Member

    @EtienneLem Can you launch your app with --disable-features=WinRetrieveSuggestionsOnlyOnDemand and test again?

  2. self-assigned this
    on Jun 14, 2021
  3. EtienneLem commented on Jun 14, 2021

    @EtienneLem
    Author

    @MarshallOfSound It does work with this flag. Getting suggestions when launching the app with

    electron --disable-features=WinRetrieveSuggestionsOnlyOnDemand .
  4. MarshallOfSound commented on Jun 14, 2021

    @MarshallOfSound
    Member

    Sweet, you can use app.commandLine.appendSwitch to add that flag at runtime while we work on getting it into an actual release, that's our bad, totally knew about this but PRing it into Electron slipped through the cracks 😄

  5. Jelmerro commented on Jun 14, 2021

    @Jelmerro

    This issue is probably related, and is affecting electron 12 (and also 13 of course): #28684

  6. MarshallOfSound commented on Jun 14, 2021

    @MarshallOfSound
    Member

    @Jelmerro Please don't thread snipe similar issues, if your issue is also fixed by the above flag then awesome that's great info to share, otherwise please keep discussion to that other thread so that the issue tracker remains clean and followable 😄

  7. Jelmerro commented on Jun 14, 2021

    @Jelmerro

    I just thought the two might be related, no need to accuse me of thread sniping right away. I just thought that with so many open issues it would help to group the ones that are similar...

  8. VerteDinde commented on Jun 14, 2021

    @VerteDinde
    Member

    Sorry all, I had committed the PR to this and dropped it, that's on me - a fix should be in shortly! 🙇‍♀️

    @Jelmerro Just took a quick look at your issue, and I unfortunately don't think it's related to the same underlying root cause. As @MarshallOfSound mentioned, we try to keep our issue and conversations in them as distinct as possible, so that issues are easier to follow, track, and fix. 🙂 I just took a look at your Fiddle gist and will drop a question in your original issue - we can keep speaking there. Thanks!

  9. Jelmerro commented on Jun 14, 2021

    @Jelmerro

    The cause seems unrelated indeed, the result is simply the same, but for a different reason. I jumped on the "since version 13" part of this issue and remembered the other one, which seemed the same on the surface, so I decided to link it just in case, but if they have a different cause that's also fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions