Apache OpenOffice (AOO) Bugzilla – Issue 116432
defect customizing a toolbar with icons for a macro call command
Last modified: 2013-01-29 21:46:58 UTC
add an icon to a toolbar entry (attached to a macro) and then try to suppress that icon : you just can't select the icon anymore The only way to solve it seems to be removing anything about images in the .ods file
What do you mean by "suppress the icon"? What do you mean by "select the icon"? What do you want to achieve? If you want only text for the toolbar, then select "Text only" in Tools > Customize > Toolbars > Toolbar (drop down). To remove an icon from an item, that has no icon as default, select "Restore default command" from Tools > Customize > Toolbars > Modify (drop down).
thx for your answer the goal to achieve is to remove an icon -which is not a default one- from a custom toolbar item. - select/pickup/choose an icon when you customize the toolbar > pick up item > modify > modify the icon : you can't pickup the right icon nor even remove anything from there -"text only" isn't the solution -"Restore default command" could work if only it was possible to choose the custom toolbar in the listbox... so it is not
.
I cannot reproduce your problem. Click on the triangle at the right edge of the toolbar, which contains the icon. Choose "Customize toolbar" from drop-down list. Does that work for you?
It does work I asked someone to reproduce it (with the same OOo version) and he has got the same behavior
OK, I think, now I have got your problem. There is a special behavior for a toolbar item, which calls a macro. To reproduce the problem: Customize a toolbar, so that you insert an item to call a macro. Ok. Notice, the default entry is the macro name. Open customize-dialog of the toolbar, click on the macro item, then on Modify. Chose "Change icon" and select an arbitrary one. OK. Notice, the toolbar item shows the icon. Open customize-dialog of the toolbar, click on the macro item, then on Modify. Notice, that the entry "Restore default command" is disabled. Expected behavior: The entry "Restore default command" is enabled and a click on it will remove the icon. Do the same with another command like "Edit macro". Here the entry "Restore default command" works as expected. You can test it with the attached document.
Created attachment 75556 [details] testdocument for to try to remove the icon
change component to framework, because all modules are affected.