Bug 158272 - Impress set document language only works once
Summary: Impress set document language only works once
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.5.8.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Languages
  Show dependency treegraph
 
Reported: 2023-11-19 11:35 UTC by Horst Schirmeier
Modified: 2023-12-06 17:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screencast (2.02 MB, video/webm)
2023-11-19 11:40 UTC, Horst Schirmeier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Horst Schirmeier 2023-11-19 11:35:53 UTC
Description:
In LO Impress 7.6.2.1 (and many earlier versions), setting a document's global language only works once.  All repeated attempts have no effect.

Steps to Reproduce:
1. Run LO Impress in a clean Ubuntu 23.10.1 environment with an US English language setting (rm -rf ~/.config/libreoffice; soffice -> "Impress Presentation").
2. Put some German text on the slide ("Das ist ein Test."), should be marked red as it doesn't contain English words besides "test".
3. Click on "English (USA)" -> "More..." in the status bar to change the language.  Select "German (Germany)", enable [x] "Ignore system input language". OK.
4. Status bar now says "German (Germany)", however German text is still marked red.  (But spellchecking actually works when saving the file now and reopening later.)
5. Click "German (Germany)" in the status bar, select "English (USA)".
6. Click "English (USA)" -> "More..." in the status bar, select "German (Germany)" (although already selected). OK.
7. Status bar continues showing "English (USA)".

Actual Results:
4. Text is still spellchecked in English (USA), despite what LO Impress says in the status bar.
7. Status bar continues showing "English (USA)".

Expected Results:
4. Text should be spellchecked in German (Germany) now.
7. Status bar should show "German (Germany)" now, and spellchecking should be applied in German.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.6.2.1 (X86_64) / LibreOffice Community
Build ID: 60(Build:1)
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-US (C.UTF-8); UI: en-US
Ubuntu package version: 4:7.6.2-0ubuntu1
Calc: threaded
Comment 1 Horst Schirmeier 2023-11-19 11:40:14 UTC
Created attachment 190910 [details]
Screencast
Comment 2 Horst Schirmeier 2023-11-19 11:45:51 UTC
Possibly related: bugs 98903, 102317, 120285
Comment 3 Horst Schirmeier 2023-11-19 15:41:31 UTC
Reproducible on Windows 10 (x86-64) as well.
Comment 4 Buovjaga 2023-11-29 15:06:23 UTC
I could reproduce it once with master build (without any typed text), but then I could not reproduce it again with any other versions I tried.

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 05f60be48a51a64ce99a7a7b62ae030002b16a14
CPU threads: 8; OS: Linux 6.6; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 29 November 2023
Comment 5 Stéphane Guillou (stragu) 2023-12-06 17:44:33 UTC
Reproduced in:

Version: 24.2.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: 43967453e15e1d054972a7586cfef8f8e0866270
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Also in:

Version: 7.5.8.2 (X86_64) / LibreOffice Community
Build ID: f718d63693263970429a68f568db6046aaa9df01
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded