Bug 109090 - Lang pref English (USA) shows as French (France) in spell checker dialogue (macOS only)
Summary: Lang pref English (USA) shows as French (France) in spell checker dialogue (m...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.3.0.3 release
Hardware: x86-64 (AMD64) macOS (All)
: high major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisectRequest, regression
Depends on:
Blocks: Spell-Checking-Dialog
  Show dependency treegraph
 
Reported: 2017-07-13 01:18 UTC by Bruce Dickson
Modified: 2024-02-01 20:00 UTC (History)
6 users (show)

See Also:
Crash report or crash signature:


Attachments
screenshot (445.16 KB, image/png)
2017-07-13 01:23 UTC, Bruce Dickson
Details
Screenshot of general language configuration and spellcheck dialogs (231.75 KB, image/png)
2023-04-06 13:43 UTC, Alex Thurgood
Details
Screenshot of dropdown available languages for spellcheck (119.81 KB, image/png)
2023-04-06 13:44 UTC, Alex Thurgood
Details
Screenshot of selected text character language setting (55.54 KB, image/png)
2023-04-06 13:49 UTC, Alex Thurgood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Dickson 2017-07-13 01:18:33 UTC
Description:
Thanks for the good software.  I'm glad I donate.  
Happens after reboot of program.
Happens after uninstall of older or newer versions of LO.
Happens after safe mode restart

HARDWARE - Imac 2011 OSX 10.10.2 Yosemite.  Has happened on my 2009 iMac and OSX 10.6.8 as I recall but less so. 

Lang pref set to English (USA)
In an existing doc, Tools > Spell check dialogue pauses and populates the box with English (USA).  After first use, lang dictionary defaults to French.  If I continue clicking to spell check, then it cycles to German, Dutch or Italian and then back to English.  No definite pattern here of how many goofs before gets back to English.  Only one English then cycles thru these other dictionaries.  

In the past this only happened occasionally.  Today, happening exclusively, every time, for the first time

Forums suggest no way exists to delete unwanted foreign dictionaries.  

Actual Results:  
spell checker disabled making LO mostly useless for writing.

Expected Results:
Restarting in safe mode and deleting user profile created no change in the problem. 


Reproducible: Always

User Profile Reset: yes. Tried today. The safe mode screen does NOT display RESTART until several choices in.  Not good. 

Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36
Comment 1 Bruce Dickson 2017-07-13 01:23:46 UTC
Created attachment 134607 [details]
screenshot

screen shot showing the french dictionary and LO version details
Comment 2 Alex Thurgood 2017-07-13 09:27:32 UTC
@Bruce: hmm, I have my LibreOffice lang preferences set to French, and my my macOS keyboard language set to French too.

If I open a new Writer document, type some text in English, and then try to assign the en-US dictionary via the Spellchecker tool, the dropdown menu repeatedly gets set back to French. This would be both a bug and a regression, although possibly not the same thing as you are seeing ?
Comment 3 Alex Thurgood 2017-07-13 09:35:13 UTC
So I reset the lang prefs within LO to en-US, for everything (UI, spellcheck and default language for documents), and restarted LO.

When I went to check spelling of my test document in English, the spellchecker dialog displayed French as the language. I can then set this dropdown to en-US, but the spellchecker still considers the text to be in French and suggests French language corrections. If I close the dialog after setting to en-US and then re-open the spellchecker, the default spellchecking language is set back to French.

CONFIRMING

==>> regression
Comment 4 Alex Thurgood 2017-07-13 09:37:46 UTC
Tested against 

Version: 5.3.4.2
Build ID: f82d347ccc0be322489bf7da61d7e4ad13fe2ff3
CPU Threads: 4; OS Version: Mac OS X 10.12.5; UI Render: default; Layout Engine: new; 
Locale: en-GB (fr_FR.UTF-8); Calc: group
Comment 5 How can I remove my account? 2018-05-17 13:38:31 UTC
Can anybody reproduce this problem with 6.0.3, and give *exact* reproduction instructions please, and attach the document being handled.
Comment 6 Julien Nabet 2019-02-09 16:44:33 UTC Comment hidden (off-topic)
Comment 7 How can I remove my account? 2019-02-09 20:12:20 UTC
Julienl this bug is indicated as being macOS-specific, so testing on Debian seems pointless?
Comment 8 Julien Nabet 2019-02-09 20:14:46 UTC
(In reply to Tor Lillqvist from comment #7)
> Julienl this bug is indicated as being macOS-specific, so testing on Debian
> seems pointless?

Indeed, it has been confirmed only on Mac. Let's put it back to NEW.
Comment 9 Buovjaga 2020-06-06 13:31:51 UTC
(In reply to Tor Lillqvist from comment #5)
> Can anybody reproduce this problem with 6.0.3, and give *exact* reproduction
> instructions please, and attach the document being handled.

Bruce: can you help with this? Please test with 6.4.x
Comment 10 QA Administrators 2023-01-18 03:25:01 UTC Comment hidden (obsolete)
Comment 11 Stéphane Guillou (stragu) 2023-04-06 07:44:37 UTC
Tested on macOS 13.2.1 with LO 7.4.5.1 and 7.6 alpha0+ could no reproduce.

All language settings in LO are in en-US, but my keyboard is German. I have dictionaries for both.
Spell check sticks to the document language, en-US.

Alex and Bruce, there is no repro since 5.3. Can you please check that this can be closed as "works for me"?
Comment 12 Alex Thurgood 2023-04-06 13:42:59 UTC
I still see an issue with :

Version: 7.5.1.2 (AARCH64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Mac OS X 13.3; UI render: Skia/Raster; VCL: osx
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded

See the screenshot for the LO language configuration, and next to it, the spellchecker dialog.

The macOS language and keyboard are set to FR.

The text (which can't be seen beneath the dialog windows, is all in French.
The language indicator at the bottom of the page is saying that the default paragraph language is French.

And yet, the spellchecker is reporting that no "Aucune" dictionary is installed and active, and that the only choice available in the dropdown menu one of many forms of Arabic.

The test text reads as follows:

"Ceci est un test de vérification de langue pour du texte en français, puis je ferai le même test avec un texte en anglais."

For me, the issue is still there.
Comment 13 Alex Thurgood 2023-04-06 13:43:42 UTC
Created attachment 186514 [details]
Screenshot of general language configuration and spellcheck dialogs
Comment 14 Alex Thurgood 2023-04-06 13:44:16 UTC
Created attachment 186515 [details]
Screenshot of dropdown available languages for spellcheck
Comment 15 Alex Thurgood 2023-04-06 13:49:33 UTC
Created attachment 186516 [details]
Screenshot of selected text character language setting

The test text I typed in shows up as French in the Character menu when I select it with the mouse, but the spellchecker still fails to recognize the text as French and fails to load the French dictionary.
Comment 16 Stéphane Guillou (stragu) 2023-04-06 13:57:00 UTC
Alex, can you please test again a 7.5.3 pre-release as there were a few spellcheck fixes since 7.5.1.
Much appreciated!
Comment 17 bunkem 2023-08-11 17:26:18 UTC
I'm having some difficulties determining how to reproduce this.

Please confirm this replicates the issue.

1.Set language preference to "French (France)"
2.Create a new Writer document. 
3.Make sure the language of the document is "French (France)"
4.Add French language text to the document.
5.Save document with a name.odt
6.Run Tools:Spelling.
7.Spelling doesn't work since it says "None" or "Aucun" as the dictionary.
8.Set the dictionary to "French (France)". Save.
9.Run Tools:Spelling. Spelling shows "None" or "Aucun" instead of "French (France)" 

If this is correct, then I can confirm it is present in 
Version: 7.5.5.2 (X86_64) / LibreOffice Community
Build ID: ca8fe7424262805f223b9a2334bc7181abbcbf5e
CPU threads: 8; OS: Mac OS X 12.6.8; UI render: default; VCL: osx
Locale: fr-FR (en_CA.UTF-8); UI: en-US
Calc: threaded
Comment 18 bunkem 2023-08-12 18:48:12 UTC
Tested with LO3.3.0 following the steps I laid out in the previous post.
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
French Dictionary Modern 3.8 is installed. 

The French (France) language does not stick.  The French (France) language also doesn't work in the spellchecking.  The French (France) language doesn't work in the autocorrect.

This is the earliest build that I can test.