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.