Bug 140154 - Language entries that are not the document language are not persistent after the Spelling tool has been closed and reopened
Summary: Language entries that are not the document language are not persistent after ...
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.0.4.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-04 13:51 UTC by ricky.tigg
Modified: 2021-02-06 14:43 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ricky.tigg 2021-02-04 13:51:21 UTC
Description:
When a selected language entry is not the Locale, it is not persistent after the Spelling tool has been closed then reopened.

Steps to Reproduce:
1. To be in a system whose Locale differs from Writer's interface language;
2. Insert a character into your document;
3. Under Tools => Spelling..., at option Text Language:, change from [Nome] to any listed entry that is not your Locale, e.g English (USA);
4. Close the Spelling tool then reopen it.

Actual Results:
The original language selection is automatically replaced by "Finnish".

Expected Results:
Selected language entry that is not a Locale, to be persistent.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 7.0.4.2; Build ID: 00(Build:2); CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3; Locale: fi-FI (fi_FI.UTF-8); UI: en-US; Calc: threaded
Comment 1 Riyadh 2021-02-05 19:40:55 UTC
Hello,

Spellcheck is not supposed to "Keep" any language persistent!

When it finishes checking errors, it will give you a message about "checking is complete" and, when you click OK, it will show [None].

Please consult help documents. You may see official help about spell check here(https://help.libreoffice.org/latest/en-US/text/shared/01/06010000.html?DbPAR=SHARED#bm_id3149047)

or search https://ask.libreoffice.org/en/questions/.
Comment 2 Buovjaga 2021-02-05 21:33:46 UTC
Well, this is rather a question for the design team. Would the majority of users benefit, if the last language selection in the Spelling dialog was remembered during the session? What are the risks? Can users be confused, if the language *is* remembered?

The exact scenario is:
1. Have two dictionaries installed (let's say English and German)
2. Have a Writer document with the document language set to German (Tools - Language - For all text)
3. In the Tools - Spelling dialog, change the language to English from the dropdown, close and reopen the dialog
Comment 3 S.Zosgornik 2021-02-06 13:54:21 UTC
The spelling dialog (F7) will always checks words in the formatted language of the characters/paragraph. And the drop-down menu is not supposed the change this behaviour but to correct an unknown word to its corresponding language (DF).
Comment 4 Buovjaga 2021-02-06 14:43:32 UTC
(In reply to S.Zosgornik from comment #3)
> The spelling dialog (F7) will always checks words in the formatted language
> of the characters/paragraph. And the drop-down menu is not supposed the
> change this behaviour but to correct an unknown word to its corresponding
> language (DF).

Yeah, I guess it would become too complicated to try and fit in this use case.