Bug 134732 - UI Menu that sets language in document includes an unexpected language
Summary: UI Menu that sets language in document includes an unexpected language
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 100855 (view as bug list)
Depends on:
Blocks: Language-Detection
  Show dependency treegraph
 
Reported: 2020-07-11 16:10 UTC by christos
Modified: 2023-10-22 18:16 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test case (45.93 KB, application/vnd.oasis.opendocument.text)
2020-07-11 16:12 UTC, christos
Details
Hungarian available as default in language options (16.82 KB, image/png)
2020-07-13 19:38 UTC, christos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description christos 2020-07-11 16:10:41 UTC
Description:
In menus where I can choose a language for text in the document, I sometimes see languages I do not expect. I have never used them in LibreOffice documents. They are different from the language of my operating system.

Steps to Reproduce:
See attachment for a reproducible example.

Actual Results:
See attachment. Hungarian appears in the language menu that opens through the status bar.

Expected Results:
English should be the only language in the menu for the given configuration.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Version: 6.4.5.2 (x64)
Build ID: a726b36747cf2001e06b58ad5db1aa3a9a1872d6
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 1 christos 2020-07-11 16:12:17 UTC
Created attachment 162902 [details]
Test case
Comment 2 Julien Nabet 2020-07-11 18:11:51 UTC
On pc Debian x86-64 with master sources updated today, I could reproduce this except it's another language which appears.

I use French UI, first it shows "Français (France)" (French France) + "Irlandais" (Irish).
I create a new odt file and go back to the initial one, I take a new look at languages, this time it shows "Français (France)" (French France) + "Anglais (U.S.A.)" (English USA).
Comment 3 Ming Hua 2020-07-12 06:22:00 UTC
(In reply to Julien Nabet from comment #2)
> On pc Debian x86-64 with master sources updated today, I could reproduce
> this except it's another language which appears.
Do you have Hungarian language support installed at all?

I can reproduce this bug in a 6.4.3 parallel installation with all languages installed, but can not reproduce in my main 6.4.5 installation where the only languages installed are "English (US)" and "Chinese (Simplified)".
Comment 4 christos 2020-07-13 19:38:01 UTC
Created attachment 162990 [details]
Hungarian available as default in language options

This is a parallel installation of fresh (see #comment 0). I tried to clean it up by deleting files manually - not by running a script. I followed the instructions under Installation Cleanup on the wiki: https://wiki.documentfoundation.org/Installing_in_parallel/Windows#Installation_Cleanup

In directory C:\Program Files\LibreOffice_6.4.5\share\registry\res I do not see Hungarian at all, but maybe there is more to delete elsewhere? The attachment shows that Hungarian is available for selection in the language options.
Comment 5 Julien Nabet 2020-07-13 20:16:32 UTC
(In reply to Ming Hua from comment #3)
> (In reply to Julien Nabet from comment #2)
> > On pc Debian x86-64 with master sources updated today, I could reproduce
> > this except it's another language which appears.
> Do you have Hungarian language support installed at all?
> 
> I can reproduce this bug in a 6.4.3 parallel installation with all languages
> installed, but can not reproduce in my main 6.4.5 installation where the
> only languages installed are "English (US)" and "Chinese (Simplified)".

Yes, I have it installed since my autogen.input contains:
--with-lang=en-US it fr fi de es br pt pt-BR ru cs hu pl nl el ko ja sl
Comment 6 christos 2020-07-16 19:50:44 UTC
*** Bug 100855 has been marked as a duplicate of this bug. ***
Comment 7 QA Administrators 2022-07-17 03:30:19 UTC
Dear christos,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug