Spell check no longer working on Windows

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Re: Spell check no longer working on Windows

Postby magreenblatt » Thu Oct 03, 2024 10:34 am

bjdupuis wrote:Are there any next steps I need to take?

Not specifically, unless you want to try and debug/fix the issue yourself.
magreenblatt
Site Admin
 
Posts: 12949
Joined: Fri May 29, 2009 6:57 pm

Re: Spell check no longer working on Windows

Postby bjdupuis » Thu Oct 03, 2024 11:07 am

magreenblatt wrote:Or use the Chrome runtime.


From this comment in 2021, spell checking using chrome runtime is expected to be working, I assume? I have zero idea where to even start to figure this out.
bjdupuis
Mentor
 
Posts: 57
Joined: Thu Jan 05, 2023 10:16 am

Re: Spell check no longer working on Windows

Postby magreenblatt » Thu Oct 03, 2024 12:00 pm

Spell checking currently works with Chrome style. You are using Alloy style.
magreenblatt
Site Admin
 
Posts: 12949
Joined: Fri May 29, 2009 6:57 pm

Re: Spell check no longer working on Windows

Postby gfrancis » Tue Nov 19, 2024 11:56 am

Can anyone advise if this is being looked at?

We have also been having this same problem since (attempting to) upgrade our app to use CefSharp v126 and higher, which seems to be related to the change of default from Alloy Bootstrap to Google bootstrap, and only seems to be a problem for the en-GB locale which we use. Misspelled words are identified, but no dictionary suggestions are passed up to the context menu.

I can replicate using the CefSharp.MinimalExample project.

1. With CefSharp v130, and without making any changes to the code, the spellchecker works correctly, but against en-US
2. With CefSharp v130, but explicitly using en-GB, the spellchecker identifies misspelled words against the en-GB dictionary, but there are no suggestions.
Code: Select all
settings.Locale = "en-GB";

3. With CefSharp v127, using en-GB and explicitly enabling the Chrome runtime, the spellchecker still fails to provide suggestions.
Code: Select all
settings.Locale = "en-GB";
settings.ChromeRuntime = true;

4. With CefSharp v127, using en-GB and disabling Chrome runtime, the spellchecker works correctly against en-GB
Code: Select all
settings.Locale = "en-GB";
settings.ChromeRuntime = false;


I was deleting the contents of the AppData\local\CefSharp\Cache folder between each run, and could see each time that it had failed to download the en-GB dictionary file in the cache\dictionaries folder. But when successful, it had downloaded the en-GB-10-1.bdic file.

So we have a solution which allows us to upgrade to CefSharp v127 but we are prevented from upgrading beyond that because the spellchecker is a key feature.

I would be grateful for any feedback on this. Thanks.
gfrancis
Newbie
 
Posts: 2
Joined: Tue Nov 19, 2024 8:43 am

Re: Spell check no longer working on Windows

Postby micdk » Fri Jan 03, 2025 4:57 pm

I found a way to re-enable spelling suggestions, here: https://github.com/chromiumembedded/cef/issues/3055#issuecomment-2569774399.

It requires modifying one file in the Chromium source, and then of course a custom CEF build - but it works.
micdk
Newbie
 
Posts: 2
Joined: Mon Dec 02, 2024 5:55 am

Re: Spell check no longer working on Windows

Postby gfrancis » Mon Jan 13, 2025 3:12 am

micdk wrote:I found a way to re-enable spelling suggestions, here: https://github.com/chromiumembedded/cef/issues/3055#issuecomment-2569774399.

It requires modifying one file in the Chromium source, and then of course a custom CEF build - but it works.


Thank you micdk!
gfrancis
Newbie
 
Posts: 2
Joined: Tue Nov 19, 2024 8:43 am

Previous

Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 83 guests