Description: Writer's Groupedbar. Wrong name of item Print preview in drop-down menu File. It is "Close preview" in 6.1 beta 2 Steps to Reproduce: 0. Make sure that you activated experimental features 1. Open Writer 2. Select menu View->User interface->Groupedbar 3. Open drop-down menu File and look at item "Close preview" Actual Results: Item has wrong name "Close preview" Expected Results: Item has correctly name "Print preview" Reproducible: Always User Profile Reset: No Additional Info:
On pc Debian x86-64 with master sources updated today, I could reproduce this.
GenericCommands.xcu <node oor:name=".uno:PrintPreview" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">Print Pr~eview</value> </prop> <prop oor:name="TooltipLabel" oor:type="xs:string"> <value xml:lang="en-US">Toggle Print Preview</value> </prop> <prop oor:name="PopupLabel" oor:type="xs:string"> <value xml:lang="en-US">Close Preview</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>9</value> </prop> </node> it look like NB use PopupLabel how can I change the behavior that NB use the default name?
(In reply to andreas_k from comment #2) > it look like NB use PopupLabel how can I change the behavior that NB use the > default name? You can try this (didn't test, but it should work): 1) Extract the "Close Preview" string to a new command like this: <node oor:name=".uno:ClosePrintPreview" oor:op="replace"> <prop oor:name="Label" oor:type="xs:string"> <value xml:lang="en-US">Close Preview</value> </prop> <prop oor:name="TargetURL" oor:type="xs:string"> <value>.uno:PrintPreview</value> </prop> <prop oor:name="Properties" oor:type="xs:int"> <value>1</value> </prop> </node> 2) Link the menu icon of .uno:ClosePrintPreview to .uno:PrintPreview in various links.txt files. 3) Change the various sw/uiconfig/*/popupmenu/preview.xml to use .uno:ClosePrintPreview instead of .uno:PrintPreview. (and test it to make sure it still works). 4) Remove the PopupLabel of .uno:PrintPreview.
I don't know how to fix it, sorry. Should be fixed
*** Bug 118737 has been marked as a duplicate of this bug. ***
*** Bug 118763 has been marked as a duplicate of this bug. ***
(In reply to Maxim Monastirsky from comment #3) > (In reply to andreas_k from comment #2) > > it look like NB use PopupLabel how can I change the behavior that NB use the > > default name? > > You can try this (didn't test, but it should work): > Hi Maxim, Any chance you could provide a fix for this issue?
*** Bug 124811 has been marked as a duplicate of this bug. ***
*** Bug 128097 has been marked as a duplicate of this bug. ***
*** Bug 139459 has been marked as a duplicate of this bug. ***