Bug 115470 - Name of the "Cycle Case" is too long
Summary: Name of the "Cycle Case" is too long
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: UI (show other bugs)
Version:
(earliest affected)
6.0.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Heiko Tietze
URL:
Whiteboard: target:6.1.0
Keywords:
Depends on:
Blocks: UNO-Command-Label
  Show dependency treegraph
 
Reported: 2018-02-05 15:51 UTC by Muhammet Kara
Modified: 2018-02-09 20:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Cycle Case button added to the Standard toolbar (21.19 KB, image/png)
2018-02-05 15:57 UTC, Muhammet Kara
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Muhammet Kara 2018-02-05 15:51:47 UTC
Follow Tools > Customize... menu and add the button "Cycle Case" to a toolbar. It looks even worse in localized versions.

Current title/name is "Cycle Case (Title Case, UPPERCASE, lowercase)", and I suggest to remove the part in the braces, and add a description for the item.
Comment 1 Muhammet Kara 2018-02-05 15:57:41 UTC
Created attachment 139606 [details]
Cycle Case button added to the Standard toolbar
Comment 2 V Stuart Foote 2018-02-05 16:41:49 UTC
Looking at the entry for ".uno:ChangeCaseRotateCase" in GenericCommands.xcu shouldn't the Context Label have the "(Title Case, UPPERCASE, lowercase)" annotation, but the label omit it? 

Also, for when used as a toolbar button, rather than menu item, seems it could use an Icon.

=-ref-= 
https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu#2639
Comment 3 Yousuf Philips (jay) (retired) 2018-02-05 19:06:27 UTC
(In reply to V Stuart Foote from comment #2)
> Looking at the entry for ".uno:ChangeCaseRotateCase" in GenericCommands.xcu
> shouldn't the Context Label have the "(Title Case, UPPERCASE, lowercase)"
> annotation, but the label omit it? 

This label is suitable for the tooltip, so 'Label' should likely be changed to 'TooltipLabel' and 'ContextLabel' changed to 'Label'.
Comment 4 Commit Notification 2018-02-08 23:17:54 UTC
heiko tietze committed a patch related to this issue.
It has been pushed to "master":

http://cgit.freedesktop.org/libreoffice/core/commit/?id=7f8936e7db018664d6074caa9bd6a82972cb4923

tdf#115470 - Name of the "Cycle Case" is too long

It will be available in 6.1.0.

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

Affected users are encouraged to test the fix and report feedback.