Bug 162615 - too wide a left sidebar in Start Center for RU locale
Summary: too wide a left sidebar in Start Center for RU locale
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium enhancement
Assignee: Heiko Tietze
URL:
Whiteboard: target:25.2.0
Keywords:
Depends on:
Blocks: Start-Center
  Show dependency treegraph
 
Reported: 2024-08-24 16:30 UTC by Roman Kuznetsov
Modified: 2024-08-28 09:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot (80.75 KB, image/png)
2024-08-24 16:31 UTC, Roman Kuznetsov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Kuznetsov 2024-08-24 16:30:20 UTC
Description:
too wide a left sidebar in Start Center for RU locale (look at screenshot with the comparing) 

it's because the word "Donate" was translated to RU as "Сделать пожертвование", but it's a full correct translation.
I suggest to move this link bottom and it will look as:

Help
Donate

Steps to Reproduce:
-

Actual Results:
too wide a left sidebar in Start Center for RU locale

Expected Results:
a left sidebar in Start Center for RU locale looks more or less OK


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b93c179b44e8b76e036e6fba560325c5cceb7103
CPU threads: 16; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded
Comment 1 Roman Kuznetsov 2024-08-24 16:31:12 UTC
Created attachment 196001 [details]
Screenshot
Comment 2 Heiko Tietze 2024-08-26 06:44:59 UTC
I'm against moving the button. Can you name it just "пожерт", or use some abbreviation, or if all fails turn it into an icon-only button, ie. clear the string?
Comment 3 Mike Kaganski 2024-08-26 06:51:16 UTC
Indeed, adding a button to the right of an existing button, and hoping that all translations would be short enough to keep a descent layout, is not very reliable ;-)

Heiko: I suggest you to do the change that you suggested: please make the button an image-only button, for all locales. Another option could be to remove the button from there - but I have no suggestion where it should be moved.

Thanks!
Comment 4 Heiko Tietze 2024-08-26 08:15:32 UTC
(In reply to Mike Kaganski from comment #3)
> make the button an image-only button, for all locales
I would prefer to keep the label, without it's not obvious what the hands do. Would it be sufficient to add a comment for translators?
Comment 5 V Stuart Foote 2024-08-26 12:08:11 UTC
(In reply to Mike Kaganski from comment #3)
> Indeed, adding a button to the right of an existing button, and hoping that
> all translations would be short enough to keep a descent layout, is not very
> reliable ;-)
> 
But we didn't just add a button, rather we've replaced the 'Extensions' button with the 'Donate' button.  Would agree the translators need guidance for the string--finding a suitable iconography for a bitmap button across the icon themes seems daunting.
Comment 6 Heiko Tietze 2024-08-27 13:31:48 UTC
Patch in review that will abbreviate labels >8 characters (full text will be shown as tooltip).
Comment 7 Commit Notification 2024-08-28 09:06:48 UTC
Heiko Tietze committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/a200d9580b36ab11a4d21285dd5a723db091afac

Resolves tdf#162615 - Long label must not overside sidebar in start center

It will be available in 25.2.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 8 Heiko Tietze 2024-08-28 09:06:55 UTC
Long strings will be abbreviated now.
Comment 9 Heiko Tietze 2024-08-28 09:08:17 UTC
Also added to an extra patch for 24.8 https://gerrit.libreoffice.org/c/core/+/172473