Bug 107948 - Spellchecking language not updated for text element in Impress
Summary: Spellchecking language not updated for text element in Impress
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Linguistic (show other bugs)
Version:
(earliest affected)
5.3.1.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-19 06:17 UTC by fios
Modified: 2018-05-28 08:58 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 fios 2017-05-19 06:17:58 UTC
I just had my first attempt at using Impress, so I selected one of the default themes and started typing. After all text got the red squiggly lines (including the default "click on.." text), I went into the language settings and set the language for the whole document to Scottish Gaelic, which is also my user interface language.

The squiggly red lines remained until I retyped the text, or until I saved and reloaded the file. Switching between slides does not make a difference.

So, it looks like the following is happening:

1. The language isn't initialized from the UI language, but set to something else (Default English? Operating system Language?)

2. The spell checker does not immediately recheck the text on screen after a language change, while the properties for the text elements have been correctly updated.

3. Typing new text works fine after the language has been set.
Comment 1 Xisco Faulí 2017-05-23 21:59:23 UTC
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 fios 2017-05-24 08:36:00 UTC
I'm sorry, but I won't be updating LibreOffice again until https://bugs.documentfoundation.org/show_bug.cgi?id=106990 is fixed.
Comment 3 fios 2017-05-24 08:37:09 UTC
Oh, and I forgot to mention: When adding a new slide, the problem comes up again. So, for proper spellchecking, one has to duplicate an existing slide and work from there.
Comment 4 Buovjaga 2017-05-26 18:41:28 UTC
Reproduced with English (USA).

Arch Linux 64-bit, KDE Plasma 5
Version: 5.3.3.2
Build ID: 5.3.3-1
CPU Threads: 8; OS Version: Linux 4.10; UI Render: default; VCL: kde4; Layout Engine: new; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Comment 5 QA Administrators 2018-05-27 02:32:11 UTC Comment hidden (obsolete)
Comment 6 fios 2018-05-28 08:05:22 UTC
Tionndadh: 6.0.3.2 (x64)
Build ID: 8f48d515416608e3a835360314dac7e47fd0b821
Snàithleanan an CPU: 4; OS: Windows 10.0; Reandaradh an UI: A’ bhun-roghainn; 
Sgeama ionadail: en-US (gd_GB); Calc: group

The behavior is improved now. When setting the language to my desired language "for the whole text", all existing slides are now updated. However, the choice is not remembered so all new slides default to English again.
Comment 7 Buovjaga 2018-05-28 08:14:13 UTC
(In reply to fios from comment #6)
> Tionndadh: 6.0.3.2 (x64)
> Build ID: 8f48d515416608e3a835360314dac7e47fd0b821
> Snàithleanan an CPU: 4; OS: Windows 10.0; Reandaradh an UI: A’
> bhun-roghainn; 
> Sgeama ionadail: en-US (gd_GB); Calc: group
> 
> The behavior is improved now. When setting the language to my desired
> language "for the whole text", all existing slides are now updated. However,
> the choice is not remembered so all new slides default to English again.

Can you test by going to Tools - Options - Lang. settings - Languages: Default languages for documents and making sure "For current document only" is not checked?
Comment 8 fios 2018-05-28 08:56:37 UTC
Yes, that was set to the wrong language, and changing that fixed it.

Since I have been using LibreOffice for a long time now, I can't remember if I ever touched that setting - it should match the chosen interface language on first run? But I guess that's an installer bug then.
Comment 9 Buovjaga 2018-05-28 08:58:54 UTC
Cheers, let's close.