Description: UI: Default setting autocorrect and replacement not in sync with the active document language Steps to Reproduce: 1. Open Writer. Assumption of locale VS) 2. Tools -> Autocorrect -> Autocorrect options 3. Replacement is set to USA (fine0 4. Cancel dialog 5. Change document language in the status bar to German/Dutch or whatever 6. Tools -> Autocorrect -> Autocorrect options (still set USA) 7. Sidebar -> Default page style -> Change language to German/Dutch or whatever 8. Tools -> Autocorrect -> Autocorrect options (still set to usa) 9. Pick some random language in the Autocorrect option dialog 10. press Cancel 11. Tools -> Autocorrect -> Autocorrect options -> Notice the random language being stored Actual Results: Well the Autocorrect options is totally async with active language. And mostly you open the Autocorrect options while editing (and wanting a change to language you're working on. [I even considered that the Dutch replacement table would work in USA document language, if the 'Dutch' was selected in the replacement table] Not the case Expected Results: The Paragraph language (DF/PS) of the position of the cursor should be picked up when opening the Tools -> Autocorrect -> Autocorrect options. The autocorrect should show the active language by default Secondly it shouldn't store the last activated language. At least I find it a particular workflow. Going to 'Autocorrect' the change things for a different language to the one you're working with in document However could be overlooking reasonable workflow here.. Reproducible: Always User Profile Reset: No Additional Info: Version: 7.3.0.0.alpha0+ (x64) / LibreOffice Community Build ID: 4e0a7df2dfa10bc52d5dbda34f43e0bc0df22ae7 CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win Locale: de-DE (nl_NL); UI: en-US Calc: CL
It apparently takes the value from tools > options > language settings > locale setting; the change requires an app restart to become effective. User expectation is to follow the document language, which is not necessarily the same as on the current paragraph/character set per status bar. I would also not change the autocorrection on every paragraph, at worst, but use what is defined as default language for documents in tools > options > language.
(In reply to Heiko Tietze from comment #1) > It apparently takes the value from tools > options > language settings > > locale setting; the change requires an app restart to become effective. > > User expectation is to follow the document language, which is not > necessarily the same as on the current paragraph/character set per status > bar. I would also not change the autocorrection on every paragraph, at > worst, but use what is defined as default language for documents in tools > > options > language. Not saying that my proposal being 'the magic bullet' only a suggestion. Not agreeing with your interpretation either ;-). Maybe having different persona in mind.. Tools > options > language settings > locale setting * This is not intended as setting you change everyday (where it located suggests that already; buried deeply) * It's configured based on you're system locale at installation by default (so not something that important to be controlled at installation) [fine] * The Locale setting is not simply 'picking a language for your document' setting. Aside from the default document language, it controls currency/ Data patterns and even page format (letter for US English) This is about someone who edits (or creates) documents in different languages (once in a while). So if you write a thesis you might do that in English. However you do live in Netherlands/Germany. You don't change the locale. You want the document to be in English (and having A4) So you change the language of Default PS style or activate DF language And if you start writing in English, you want Autocorrect adjust to that (automatically). Having the replacement list/ Exception list English active. And if you open the Autocorrect -> Options dialog you except some sensible language being active (pressing Cancel doesn't discard!). Which surely odd. see step 9-11 Another idea: the search for "search for proper language' can be reduced by 'setting the in document languages on top? Similar to default locale: Tools > options > language settings > locale setting (system locale is the first entry in the list) Note: the main problem is that Autocorrect doesn't really adapt to context. So wrong replacement tables being active. Or doesn't Autocorrect list adapt while typing? With different PS/DF language set?]. If that's case it's even more logical to open the Autocorrect options dialog with language (replacement list) based on cursor position (language setting).
I forgot another part. The autocorrect stops functioning if a different language is selected in "Tools -> Autocorrect -> Autocorrect options" compared to document language. So it's de facto disabling autocorrect caused by mismatch between language in "Tools -> Autocorrect -> Autocorrect options" and the one in the document
(In reply to Telesto from comment #3) > I forgot another part. The autocorrect stops functioning if a different > language is selected in "Tools -> Autocorrect -> Autocorrect options" > compared to document language. > > So it's de facto disabling autocorrect caused by mismatch between language > in "Tools -> Autocorrect -> Autocorrect options" and the one in the document Rectification. Replacement table does work. It's 'only' Word completion that stops functioning
(In reply to Telesto from comment #4) > (In reply to Telesto from comment #3) > > I forgot another part. The autocorrect stops functioning if a different > > language is selected in "Tools -> Autocorrect -> Autocorrect options" > > compared to document language. > > > > So it's de facto disabling autocorrect caused by mismatch between language > > in "Tools -> Autocorrect -> Autocorrect options" and the one in the document > > Rectification. Replacement table does work. It's 'only' Word completion that > stops functioning No true, me being mistaken
Repro, I can write in French with an auto-correction in English as well as a default language in German (in default page style options), without anything happening. Version: 7.3.0.0.alpha1+ (x64) / LibreOffice Community Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: en-US Calc: CL
Repro, the setting autocorrect is not synchronized with the active document. Version: 7.4.0.0.alpha1+ (x64) / LibreOffice Community Build ID: c94961c6869c34b3874d21cfaa5ec1488609acfe CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: en-US Calc: CL
Idem Version: 7.6.0.0.beta1+ (X86_64) / LibreOffice Community Build ID: 1b5cee822e0bc15ddbdfc86926678ca35ab3e082 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: fr-FR (fr_FR); UI: en-US Calc: CL threaded
*** Bug 109106 has been marked as a duplicate of this bug. ***
*** Bug 157656 has been marked as a duplicate of this bug. ***
OOo 3.3 was also not picking the (default) document language when opening the AutoCorrect dialog, so marking as inherited. Hossein, wondering if this qualifies for an easyHack?