Bug 153346 - Incorrect display of styles in Russian UI
Summary: Incorrect display of styles in Russian UI
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:docx
Depends on:
Blocks: Writer-Styles-Paragraph DOCX-Styles
  Show dependency treegraph
 
Reported: 2023-02-03 10:00 UTC by aectann3
Modified: 2025-05-06 03:10 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
file with bug text (36.19 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2023-02-03 10:01 UTC, aectann3
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aectann3 2023-02-03 10:00:46 UTC
Description:
The problem with styles in the Russian interface of libreoffice. When opening a file created in MS Word, different paragraphs of text have different font sizes (example - 10pt and 12pt). In the source material, the font size is the same. Also, if you switch to the English interface - the font will be the same size

Steps to Reproduce:
1.Open file example.docx
2.
3.

Actual Results:
Paragraphs are displayed at different sizes

Expected Results:
Text must be the same size


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.5.1.0.0+ (X86_64) / LibreOffice Community
Build ID: c3af56a1fe2fa8b004a445743478da610cf9af22
CPU threads: 2; OS: Linux 5.15; UI render: default; VCL: qt5 (cairo+xcb)
Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU
Calc: threaded
Comment 1 aectann3 2023-02-03 10:01:28 UTC
Created attachment 185080 [details]
file with bug text
Comment 2 Mike Kaganski 2023-02-03 10:59:13 UTC
Repro using Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6836776fa295293c114c267bca38d18603993a54
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded

No repro using Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6836776fa295293c114c267bca38d18603993a54
CPU threads: 12; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: en-US
Calc: CL threaded

The difference is in Default Paragraph Style, which imports with Char Height 12 when using en-US UI, but it is 10 when using ru-RU UI.

Also repro using 3.3.0; I couldn't test in OOo, because I don't have a multi-language setup of that.
Comment 3 Mike Kaganski 2023-02-03 13:22:22 UTC
The problem is the conflict of names in the document: it has a style named "Базовый", which is the UI name of style "Standard" in Russian UI, and which is used for Word's "Normal" style. First, Word's "Normal" is read, and its settings get written to the "Standard" style; then, Word's "Базовый" is read, and the custom name happens to find the UI name of "Standard" (in StyleSheetTable::ApplyStyleSheetsImpl, using a call to 'xStyles->getByName( sConvertedStyleName )'), and then its properties get overwritten.

No idea how to fix it.
Comment 4 QA Administrators 2025-05-06 03:10:54 UTC
Dear aectann3,

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