Bug 115470

Summary: Name of the "Cycle Case" is too long
Product: LibreOffice Reporter: Muhammet Kara <kara>
Component: UIAssignee: Heiko Tietze <heiko.tietze>
Status: RESOLVED FIXED    
Severity: normal CC: heiko.tietze, kara, philipz85, vsfoote
Priority: medium    
Version: 6.0.0.0.alpha0+   
Hardware: All   
OS: All   
Whiteboard: target:6.1.0
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 115596    
Attachments: Cycle Case button added to the Standard toolbar

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.