Description: When we use bullets and numbering lists dialog, it will show incorrect content for specific styles in non-US locales. Steps to Reproduce: 1. Set non en-US locale setting (not UI language) in Options 2. Open "Bullets and Numbering" dialog and switch to "Ordered" tab ("Numbering" tab for older version) 3. Move mouse cursor to hover on Lowercase Roman number i. ii. iii. 4. Hover long enough to show tooltip Actual Results: Show incorrect tooltip content (Lowercase Roman number i. ii. iii.) Expected Results: Show correct tooltip content (should be Sexagenary number 子、 丑、 寅、 or something like this in this case) Reproducible: Always User Profile Reset: No OpenGL enabled: Yes Additional Info: Version: 7.3.1.3 / LibreOffice Community Build ID: 30(Build:3) CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW 7.3.1-1 Calc: CL
Created attachment 178906 [details] Incorrect tooltip content for numbering list
Don't understand your expectations: Tooltip should inform about list, that is applied and - as far as I can see - it's always roman numbers, although local is set to an asian language (that might be a bug, but the report here is not about that). Version: 7.3.2.2 (x64) / LibreOffice Community Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0 CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win Locale: ar-SY (de_DE); UI: en-GB Calc: CL
(In reply to Dieter from comment #2) > Don't understand your expectations: Tooltip should inform about list, that > is applied and - as far as I can see - it's always roman numbers, although > local is set to an asian language (that might be a bug, but the report here > is not about that). > > Version: 7.3.2.2 (x64) / LibreOffice Community > Build ID: 49f2b1bff42cfccbd8f788c8dc32c1c309559be0 > CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: > win > Locale: ar-SY (de_DE); UI: en-GB > Calc: CL Yeah, it always show "Lowercase Roman number i. ii. iii." in this case, but it doesn't match that shows in boxes, it will confuse our users.
(In reply to Po-Yen Huang from comment #3) > Yeah, it always show "Lowercase Roman number i. ii. iii." in this case, but > it doesn't match that shows in boxes, it will confuse our users. Which locale do you use? Can you add a screenshot?
(In reply to Dieter from comment #4) > (In reply to Po-Yen Huang from comment #3) > > Yeah, it always show "Lowercase Roman number i. ii. iii." in this case, but > > it doesn't match that shows in boxes, it will confuse our users. > > Which locale do you use? Can you add a screenshot? It is zh-TW, and my screenshot is already in attachment :-) You can check bottom-right corner in that dialog and its tooltip :-)
(In reply to Po-Yen Huang from comment #5) > It is zh-TW, and my screenshot is already in attachment :-) You're right, sorry. But I don't have Taiwan as local in the list.
Doesn't seem straightforward. Because, if you you non-Latin locale but still use English UI, I guess that tooltip really should be as it is, English.
(In reply to Timur from comment #7) > Doesn't seem straightforward. Because, if you you non-Latin locale but still > use English UI, I guess that tooltip really should be as it is, English. It seems not related to locale, only related to UI language.
(In reply to Po-Yen Huang from comment #8) > It seems not related to locale, only related to UI language. So the actual behaviour is the expected one and it is NOTABUG? Or are you able to reproduce it, if you cahnge to an non English UI? => NEEDINFO
Created attachment 189327 [details] Under zh-tw UI language
(In reply to Dieter from comment #9) > (In reply to Po-Yen Huang from comment #8) > > It seems not related to locale, only related to UI language. > > So the actual behaviour is the expected one and it is NOTABUG? Or are you > able to reproduce it, if you cahnge to an non English UI? > => NEEDINFO You can check my latest attachment, this is what UI shows in zh-tw language. Version: 7.6.0.3 (X86_64) / LibreOffice Community Build ID: 60(Build:3) CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: kf5 (cairo+xcb) Locale: zh-TW (zh_TW.UTF-8); UI: zh-TW 7.6.0-3 Calc: threaded
[Automated Action] NeedInfo-To-Unconfirmed
I can see the problem, but don't know, if there is a problem with tooltips or with the dialog. Steps: 1. With English UI and English locale Format -> Format -> Bullets and Numbering 2. Move over different selections (toolstips are in line with selection) 3. Change local to Chinese (Traditional) 4. Move over different selections Actual result Tooltips from English UI Expected result Don't know what is possible here, but actual behaviour might be confusing cc: Design-Team
(In reply to Dieter from comment #13) > I can see the problem, but don't know, if there is a problem with tooltips > or with the dialog. > > Steps: > 1. With English UI and English locale Format -> Format -> Bullets and > Numbering > 2. Move over different selections (toolstips are in line with selection) > 3. Change local to Chinese (Traditional) > 4. Move over different selections > > Actual result > Tooltips from English UI > > Expected result > Don't know what is possible here, but actual behaviour might be confusing > > cc: Design-Team You can check uploaded attachment, it shows 壹、 貳、 參、 in preview but shows Lower case letters a) b) c) (For zh-tw shows 小寫字母 a) b) c))
The mentioned string RID_SVXSTR_SINGLENUM_DESCRIPTION_7 is translated in all Chinese variants and Vietnamese. But running the UI in English shows the text in English, of course. What you have in mind is a concatenation of SvxResId("Lowercase Roman number") + "i,ii,iii,". An example is the preview and the code looks pretty simple: sLevelTexts[i] = xFormatter->makeNumberingString( aProperties, aLocale ); svx/source/dialog/svxbmpnumvalueset.cxx #316 It needs to go at SetItemText(i + 1, SvxResId(RID_SVXSTR_OUTLINENUM_DESCRIPTIONS[i])); (same file)