Skip to content

[Bug]: Renderer spellcheck API does not work on Windows #28684

Closed as not planned

Description

@lishid

Preflight Checklist

Electron Version

12.0.4

What operating system are you using?

Windows

Operating System Version

Windows 10 1909

What arch are you using?

x64

Last Known Working Electron version

None

Expected Behavior

Expecting require('electron').webFrame.isWordMisspelled('testt') to return true.

Actual Behavior

require('electron').webFrame.isWordMisspelled('testt') returns false.

Testcase Gist URL

https://gist.github.com/lishid/53782e6e43f4bc431ac1fed3bff33c85

Activity

  1. lishid commented on Apr 15, 2021

    @lishid
    ContributorAuthor

    Previously on #28404 (Issue was erroneously closed and subsequently forgotten). Please consider re-opening original issue if marking this one is as duplicate.

    This API works on Linux perfectly fine. On Windows, despite the textarea detecting the spell error, the API still returns false.

  2. added
    has-repro-gist
    on Apr 26, 2021
  3. Jelmerro commented on Apr 28, 2021

    @Jelmerro

    A user of one of my apps ran into this same issue, and when I started testing I noticed something strange. It actually does work for some languages on Windows (in my case nl), but it stops working when switching back to en-US. It also doesn't work before calling setSpellCheckerLanguages.

    It works flawlessly on Linux, even before calling the language list API. And keeps working once you do call it regardless of the language list.

  4. abnerlee commented on May 16, 2021

    @abnerlee

    Confirmed this bug too on v12.0.7 / windows 10.

    Set en-GB works, but en-US is not working.

  5. VerteDinde commented on Jun 14, 2021

    @VerteDinde
    Member

    Hey @Jelmerro, thanks for reporting this issue! I just took a look at your Fiddle gist and want to make sure I'm not misunderstanding - when I run the repro, I'm also seeing the test fail going back to (at least) Electron 8.5.5.

    Can you confirm whether or not this ever worked as expected for your app, or did this break for you in Electron 12? Having that bisect is helpful to us when trying to solve the issue, so I just wanted to double check.

  6. Jelmerro commented on Jun 14, 2021

    @Jelmerro

    I did not report this issue, this is just something I ran into when working on one of my projects. It has been an issue for a while, that's why I thought that the other one was related as well. I only added word suggestions in a custom context menu when I was already on electron 12.0.5, but I can also reproduce this for much older versions (I just tested 8.5.5) as well.

  7. fxha commented on Jan 15, 2022

    @fxha

    We have the same issue while trying to replace node-spellchecker with the built-in one and verified this on Electron v15 and v16. I guess this issue will be in backlog for a while but our observations:

    1. Windows only issue, the same logic runs without any problems on Linux (Hunspell)
    2. session.availableSpellCheckerLanguages are on both OSs the same -> Windows using Hunspell too?!
    3. dictionarySuggestions from win.webContents.on('context-menu', ... works on Windows successfully
    4. webFrame.getWordSuggestions and webFrame.isWordMisspelled are always empty/false on Windows without errors shown in log (--enable-logging)
    5. Misspelled words are red underlined in editable text

    My wild guess is that this is an issue with the Windows spell checker and Chromium. Maybe we hitting a precondition because Electron expects to use Hunspell but Chromium expects to have a valid platform specific spell checker in the renderer. Unfortunately, I'm unable to build Chromium and hope this can be fixed. For now, both APIs have no functionality on Windows.

  8. github-actions commented on Oct 6, 2022

    @github-actions
    Contributor

    This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

  9. lishid commented on Oct 6, 2022

    @lishid
    ContributorAuthor

    Don't think this was ever fixed.

  10. 47 remaining items

  11. gpetrov commented on Apr 5, 2026

    @gpetrov

    Bump

  12. electron-issue-triage commented on Jul 6, 2026

    @electron-issue-triage

    This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

  13. moved this to 👀 Unsorted Items in 44-x-yon Jul 6, 2026
  14. philippeller commented on Jul 6, 2026

    @philippeller

    bump!

  15. removed this from 44-x-yon Jul 8, 2026
  16. electron-issue-triage commented on Oct 6, 2026

    @electron-issue-triage

    This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. If you have any new additional information—in particular, if this is still reproducible in the latest version of Electron or in the beta—please include it with your comment!

  17. electron-issue-triage commented on Nov 6, 2026

    @electron-issue-triage

    This issue has been closed due to inactivity, and will not be monitored. If this is a bug and you can reproduce this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    11-x-y12-x-ybug 🪲has-repro-gistplatform/windowsstale

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions