Bug 134139 - Long translated strings cause layout havoc in options dialog
Summary: Long translated strings cause layout havoc in options dialog
Status: RESOLVED DUPLICATE of bug 134791
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.4.4.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 139112 148207 160861 (view as bug list)
Depends on:
Blocks: Options-Dialog Dialog-UX
  Show dependency treegraph
 
Reported: 2020-06-19 03:16 UTC by mat.venturini
Modified: 2024-09-05 14:36 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
View Menu (24.75 KB, image/png)
2020-06-19 03:18 UTC, mat.venturini
Details
General Menu (22.89 KB, image/png)
2020-06-19 03:18 UTC, mat.venturini
Details
LibreOffice -> View menu in Libreoffice 7.0.3 (24.86 KB, image/png)
2020-12-01 15:31 UTC, mat.venturini
Details
General Menu in 7.0.3 (21.15 KB, image/png)
2020-12-01 15:32 UTC, mat.venturini
Details
problem (345.15 KB, image/jpeg)
2024-05-08 08:23 UTC, Łukasz
Details
window (246.05 KB, image/jpeg)
2024-07-12 13:22 UTC, Łukasz
Details
win (126.43 KB, image/jpeg)
2024-07-12 13:23 UTC, Łukasz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mat.venturini 2020-06-19 03:16:06 UTC
Description:
When you open the LibreOffice settings menu (Tools -> Options on Windows) the dropdown menus for some sections have a very tiny width, most notably on LibreOffice -> View. Can also be seen on LibreOffice Impress -> General, which apparently has a problem with a column since the text above the dropdowns gets cut off as well. If the window if resized to a big enough width the dropdowns and text get back to normal.

Steps to Reproduce:
1. Open the settings window
2. Select LibreOffice -> View

Actual Results:
The dropdowns have a very small width

Expected Results:
The dropdowns should be clearly visible


Reproducible: Always


User Profile Reset: No


OpenGL enabled: Yes

Additional Info:
Versão: 6.4.4.2 (x64)
ID de compilação: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
Threads da CPU: 8; SO: Windows 10.0 Build 18362; Realizador da interface: GL; VCL: win; 
Local: pt-BR (pt_BR); Idioma de IU: pt-BR
Calc: CL
Comment 1 mat.venturini 2020-06-19 03:18:22 UTC
Created attachment 162194 [details]
View Menu
Comment 2 mat.venturini 2020-06-19 03:18:52 UTC
Created attachment 162195 [details]
General Menu
Comment 3 Xisco Faulí 2020-07-13 16:32:51 UTC
Thank you for reporting the bug. To be certain the reported issue is not related to corruption in the user profile, could you please reset your Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and re-test?

I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the issue is still present
Comment 4 mat.venturini 2020-07-16 21:46:23 UTC
(In reply to Xisco Faulí from comment #3)
> Thank you for reporting the bug. To be certain the reported issue is not
> related to corruption in the user profile, could you please reset your
> Libreoffice profile ( https://wiki.documentfoundation.org/UserProfile ) and
> re-test?
> 
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the issue is still present
Thank you for the answer. Yes, I reset the user profile as described in the link you sent and the problem persists. As you might have seen in the screenshots I included, the UI language I have for LO is Brazilian portuguese. I also seen this problem happen for other users who make LO video tutorials in pt-br, but I cannot recall seeing this happen in videos where the UI language was set to English, I wonder if the problem could be specifically with the localization of LO for pt-br? I was a little surprised to see that apparently noone had created a bug report for this before, perhaps it could be because it's exclusive to the pt-br localization. Does this happen to you, Xisco?
Comment 5 Buovjaga 2020-11-25 18:28:07 UTC
(In reply to mat.venturini from comment #0)
> Additional Info:
> Versão: 6.4.4.2 (x64)
> ID de compilação: 3d775be2011f3886db32dfd395a6a6d1ca2630ff
> Threads da CPU: 8; SO: Windows 10.0 Build 18362; Realizador da interface:
> GL; VCL: win; 

You are using OpenGL for the rendering of the UI. Maybe try with version 7.0. Instead of OpenGL, we now use Skia if supported by your hardware.
Comment 6 mat.venturini 2020-12-01 15:30:12 UTC
(In reply to Buovjaga from comment #5)
> You are using OpenGL for the rendering of the UI. Maybe try with version
> 7.0. Instead of OpenGL, we now use Skia if supported by your hardware.
It still happens in 7.0, even after I forced Skia to be used. I will add two updated images with Skia enabled.
Comment 7 mat.venturini 2020-12-01 15:31:47 UTC
Created attachment 167725 [details]
LibreOffice -> View menu in Libreoffice 7.0.3
Comment 8 Buovjaga 2020-12-01 15:32:27 UTC
Please also try Help - Restart in safe mode and then Continue in safe mode.
Comment 9 mat.venturini 2020-12-01 15:32:39 UTC
Created attachment 167726 [details]
General Menu in 7.0.3
Comment 10 mat.venturini 2020-12-01 15:37:10 UTC
Unfortunately it still happens in safe mode, but I couldn't force Skia to be used along with it in case this is important.
Comment 11 mat.venturini 2020-12-01 16:26:27 UTC
(In reply to mat.venturini from comment #4)
> perhaps it could be because it's exclusive to the pt-br localization.
I managed to make it display correctly by changing the UI language to English, so it is indeed most likely a problem with the Portuguese localization (both European and American Portuguese cause this problem).
Comment 12 Buovjaga 2020-12-02 10:24:57 UTC
(In reply to mat.venturini from comment #9)
> Created attachment 167726 [details]
> General Menu in 7.0.3

Thanks, I confirm this one with pt-BR on Linux.

Version: 7.0.3.1
Build ID: 00(Build:1)
CPU threads: 8; OS: Linux 5.9; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); Interface: pt-BR
7.0.3-3
Calc: threaded
Comment 13 Buovjaga 2020-12-02 10:59:12 UTC
Andreas: as you worked on https://git.libreoffice.org/core/commit/208b3a9bff95e2f6151c2458cf7eefe43dafa20e maybe you are interested in this.
Comment 14 Buovjaga 2020-12-02 11:07:48 UTC
Comments from Caolán:

fundamentally the options dialog has too many pages to measure what is an ideal size, so it has an arbitrary size, so while every now and then its made larger, if ridiculously long translations are used then something isn't going to fit

"Utilizar as métricas da impressora na formatação do documento" for "Use printer metrics for document formatting" is too long to be in a column

with "compatibility" on a row of its own, and maybe move that "new document" into a column would make it all fit. Though I don't know if that would be a nice arrangement
Comment 15 Gabor Kelemen (allotropia) 2021-07-17 10:28:07 UTC
Impress -> General page was fixed in bug 131162
LibreOffice -> View still needs fixing.
Comment 16 QA Administrators 2023-07-18 03:15:21 UTC Comment hidden (noise, obsolete)
Comment 17 Heiko Tietze 2024-04-15 08:34:21 UTC
*** Bug 139112 has been marked as a duplicate of this bug. ***
Comment 18 V Stuart Foote 2024-04-15 11:56:53 UTC
(In reply to Heiko Tietze from comment #17)
> *** Bug 139112 has been marked as a duplicate of this bug. ***

That was for the Accessibility options panel.
Comment 19 Stéphane Guillou (stragu) 2024-05-07 23:44:46 UTC
*** Bug 148207 has been marked as a duplicate of this bug. ***
Comment 20 Stéphane Guillou (stragu) 2024-05-07 23:47:02 UTC
*** Bug 160861 has been marked as a duplicate of this bug. ***
Comment 21 Stéphane Guillou (stragu) 2024-05-07 23:53:48 UTC
With gtk3, the dialog adapts its width to make strings fit.
For example, testing with French UI, going to Options > Load / Save > General > Load (Options > Chargement/enregistrement > Général > Charger).

Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: fr-FR
Calc: CL threaded

When using the gen VCL plugin, a string is truncated, the dialog allows reducing the width enough to hide a part of the string. It does however provide a tooltip to read it in full.
Comment 22 Heiko Tietze 2024-05-08 07:36:05 UTC
Tools > Options > LibreOffice > View got fixed in bug 141778. What other tabs cause trouble?
Comment 23 Stéphane Guillou (stragu) 2024-05-08 08:15:01 UTC
(In reply to Heiko Tietze from comment #22)
> Tools > Options > LibreOffice > View got fixed in bug 141778. What other
> tabs cause trouble?
- Comment 21, French, gen VCL plugin: Load / Save > General
- Bug 160861's attachment 193898 [details], Polish, win VCL plugin:
   - Load / Save > General
   - LibreOffice > Security (although that one uses ellipses, which is I think is OK)
   - Languages and Locales > General
   - LibreOffice Calc > Calculate
- Bug 148207's attachment 179120 [details], Polish, win VCL plugin:
   - LibreOffice > Accessibility
(In the attachment above, the empty Application Color Scheme is I think related to the profile issue in bug 160513)
(In bug 139112, some screenshots are from the Base wizard, which also uses ellipses, and should be a separate issue anyway)
Comment 24 Łukasz 2024-05-08 08:23:09 UTC
Created attachment 194021 [details]
problem

libre office 24.2.3, there are 6 screenshots, but there is more, Polish language
Comment 25 Heiko Tietze 2024-05-14 09:03:47 UTC
All these examples are a consequence of very long text, IIANM. Sure, we can make the dialog larger but with severe impact on usability in particular on small screens. So please go with shorter labels and use tooltips if necessary.

What I can do is to improve the arrangement of controls as done for the view tab.
Comment 26 Łukasz 2024-05-14 10:46:18 UTC Comment hidden (no-value)
Comment 27 Łukasz 2024-05-20 13:57:39 UTC Comment hidden (no-value)
Comment 28 Łukasz 2024-07-12 11:35:47 UTC
(In reply to Heiko Tietze from comment #25)
> All these examples are a consequence of very long text, IIANM. Sure, we can
> make the dialog larger but with severe impact on usability in particular on
> small screens. So please go with shorter labels and use tooltips if
> necessary.
> 
> What I can do is to improve the arrangement of controls as done for the view
> tab.

no chance to improve?
Comment 29 Heiko Tietze 2024-07-12 11:55:17 UTC
(In reply to Łukasz from comment #28)
> no chance to improve?

You have all freedom with the translation. Would be good to refer to my comment 25 if you disagree.
Comment 30 Łukasz 2024-07-12 13:22:47 UTC
Created attachment 195270 [details]
window
Comment 31 Łukasz 2024-07-12 13:23:17 UTC
Created attachment 195271 [details]
win
Comment 32 Łukasz 2024-07-12 13:24:08 UTC
please enlarge the settings window, two screen win and window
Comment 33 Gabor Kelemen (allotropia) 2024-09-05 14:36:39 UTC
(In reply to Stéphane Guillou (stragu) from comment #23)
> (In reply to Heiko Tietze from comment #22)
> > Tools > Options > LibreOffice > View got fixed in bug 141778. What other
> > tabs cause trouble?
> - Comment 21, French, gen VCL plugin: Load / Save > General
> - Bug 160861's attachment 193898 [details], Polish, win VCL plugin:
>    - Load / Save > General
>    - LibreOffice > Security (although that one uses ellipses, which is I
> think is OK)
>    - Languages and Locales > General
>    - LibreOffice Calc > Calculate
> - Bug 148207's attachment 179120 [details], Polish, win VCL plugin:
>    - LibreOffice > Accessibility
> (In the attachment above, the empty Application Color Scheme is I think
> related to the profile issue in bug 160513)
> (In bug 139112, some screenshots are from the Base wizard, which also uses
> ellipses, and should be a separate issue anyway)

Checking in a recent master, these seem to be all visible now in Polish locale as well 
after the Options dialog resize in bug 134791

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c52f139b4f7140033144dde29f70a39ebedb6aa0
CPU threads: 14; OS: Windows 10 X86_64 (10.0 build 19045); UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: pl-PL
Calc: default

Let's mark this as duplicate, and open new ones if something is still wrong.

*** This bug has been marked as a duplicate of bug 134791 ***