Bug 138212 - TOOLBAR: "Area Style / Filling" dropdown list misbehaves in non-English UI
Summary: TOOLBAR: "Area Style / Filling" dropdown list misbehaves in non-English UI
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.2.8.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Toolbars
  Show dependency treegraph
 
Reported: 2020-11-14 11:43 UTC by Ming Hua
Modified: 2024-06-21 10:09 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Area dropdown list duplicating entry without translation (38.55 KB, image/png)
2022-06-19 11:27 UTC, phv
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ming Hua 2020-11-14 11:43:04 UTC
Description:
When LO has non-English (or maybe non-en-US) UI, the "Area Style / Filling" dropdown list on "Drawing Object Properties" toolbar displays a list of translated gradient names, but the chosen one is not shown as translated.  Once a gradient is chosen, instead of showing the translated name, it adds an additional entry with bracketted English name to the list, and shows that one as chosen.

Steps to reproduce:
1. Switch to a non-English UI, preferrably one with good translation coverage.  I tested simplified Chinese (zh-CN) and French (fr-FR);
2. Make sure you are using standard multi-toolbar UI (or other ways to make sure the toolbar needed in step 5 shows);
3. New Writer document, menu Insert > Shapes > Basic Shapes, choose any filled shape, say a Diamond;
4. Draw a shape on the page;
5. Now the shape is selected, the "Drawing Object Properties" toolbar is shown.  Click the first "Area Style / Filling" dropdown list (currently shows "Color"), change it to "Gradient";
6. Look at the second "Area Style / Filling" dropdown list, instead of the translated gradient name, it shows "[Pastel Bouquet]", the English name in brackets.  Click it and choose a different gradient from the translated list, afterwards the dropdown list again shows a English name in brackets.

I've reproduced this in both master (zh-CN UI only) and 7.0.2 (zh-CN and fr-FR UI).
Comment 1 Regina Henschel 2020-11-14 21:54:48 UTC
I see the problem in a German UI: Version: 7.1.0.0.alpha1+ (x64)
Build ID: 72056f39e01e36afac36c62988331b6813c8214f
CPU threads: 8; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: de-DE
Calc: CL

In addition, the preview icons of most of the gradients are missing.
Comment 2 Ming Hua 2020-11-15 01:12:54 UTC
Thanks for confirming, Regina.

(In reply to Regina Henschel from comment #1)
> In addition, the preview icons of most of the gradients are missing.
In my case they are just very slow to show up.  But once it's rendered, the next time you click on the dropdown list it shows instaneously.
Comment 3 Ming Hua 2020-11-15 04:15:13 UTC
Also reproducible in 6.2.8:
版本: 6.2.8.2 (x64)
Build ID: f82ddfca21ebc1e222a662a32b25c0c9d20169ee
CPU 线程: 2; 操作系统: Windows 10.0; UI 渲染: 默认; VCL: win; 
区域语言: zh-CN (zh_CN); UI 语言: zh-CN
Calc: threaded

The "Hatching" dropdown list has the same problem as the "Gradient" one.  The "Bitmap" list works, though.  The "Pattern" list is completely broken in 6.2.8, nothing is shown in the second dropdown list, and the whole widget is gray, nothing is clickable.
Comment 4 phv 2022-06-19 10:46:03 UTC
I confirm this bug using the French interface in LibreOffice Draw 7.3.4.2.
Comment 5 phv 2022-06-19 11:27:38 UTC
Created attachment 180828 [details]
Area dropdown list duplicating entry without translation
Comment 6 QA Administrators 2024-06-19 03:16:08 UTC Comment hidden (obsolete)
Comment 7 Ming Hua 2024-06-21 10:09:55 UTC
Still reproducible in 24.8 beta1:
Version: 24.8.0.0.beta1 (X86_64) / LibreOffice Community
Build ID: 318462181c709ed29c01eb3239b4d600d7b82ecc
CPU threads: 12; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: zh-CN (zh_CN); UI: zh-CN
Calc: CL threaded