-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alloy style causes empty spelling suggestions for en-US, en-GB, en-AU and en-CA #3860
Comments
Testing, it looks like it broke between 124.3.9 (last working version) and 125.0.22. |
Duplicate of #3055 |
I don't believe it's a duplicate. Issue 3055 is 4 years old, and is describing the issue as spelling not being checked / marked with squiggly lines. This issue started occurring recently, only for Alloy style, and squiggly lines do appear for misspelled words - it's just that no suggestions are shown to correct them for some languages - which seems to depend on the machine. On one machine, en-UK doesn't show suggestions, but for another it does. I've tested this with two machines. It seems they appear only for non-installed languages. So if you have en-UK installed on the machine, then suggestions won't appear. I'm still working out the cause. Compiling with the flag to disable the machine spelling check part didn't seem to help. All that said, I understand if it being an Alloy only issue means it's not something to fix, but I don't believe it's a duplicate 🙂 |
It seems they appear only for non-installed languages. So if you have en-UK installed on the machine, then suggestions won't appear.
This behavior is consistent with issue 3055, which is about missing Alloy support for the OS spell checker. Chromium is trying (and failing) to use the OS spell checker for installed languages. It is likely falling back to hunspell (which works) for non-installed languages.
|
Right, ok. I read through all of the comments there again, and I see what you're saying. It's just the description that's a bit inaccurate with the current state of the issue, but effectively this is a duplicate yeah 👍 |
Describe the bug
No spelling suggestions for misspelled words are shown for
en-US
,en-GB
,en-AU
anden-CA
, when runningcefclient.exe
with--use-alloy-style
.Other spell checker languages like
da-DK
,de-DE
,en-GB-oxendict
(surprisingly, since it's an English language), etc. still show suggestions.To Reproduce
cefclient.exe
with--use-alloy-style
command line argument.en-US
or another of the above, no spelling suggestions will be shown.Expected behavior
Spelling suggestions should be shown.
Screenshots
![image](https://private-user-images.githubusercontent.com/317217/398591421-cea7c50a-a6c0-4def-aa6d-bcec519a7207.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwNjg3NTcsIm5iZiI6MTczOTA2ODQ1NywicGF0aCI6Ii8zMTcyMTcvMzk4NTkxNDIxLWNlYTdjNTBhLWE2YzAtNGRlZi1hYTZkLWJjZWM1MTlhNzIwNy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjA5JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIwOVQwMjM0MTdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT02MzllNTQ0ZDc0YTU2NDVkNDA0ZTllNTA3ZTBkNzgxZjkyOWVjMmVlYjM1YTY0YWRiYjNiNDNjNDJkNmY0Mzk2JlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.89nJt1IQo70yBtkcqaYiuh-AcgOD8eru7QFcLEunrQM)
Versions
Additional context
I first noticed this issue started happening after switching to a version of CefSharp where Alloy Bootstrap manipulation was removed, but for WPF, Alloy is still being used.
I've also noticed that when switching languages, the English language
.bdic
files, with the exception ofen-GB-oxendict
, often aren't downloaded to the cache'sDictionaries
directory, but sometimes they are... Even without them however, spelling suggestions still work for those languages with off screen rendering disabled.The text was updated successfully, but these errors were encountered: