| Summary: | Incorrect display of styles in Russian UI | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | aectann3 |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | NEW --- | ||
| Severity: | normal | CC: | 79045_79045 |
| Priority: | medium | Keywords: | filter:docx |
| Version: | 3.3.0 release | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=152425 | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 107833, 108760 | ||
| Attachments: | file with bug text | ||
|
Description
aectann3
2023-02-03 10:00:46 UTC
Created attachment 185080 [details]
file with bug text
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. 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. |