Issue 116432 - defect customizing a toolbar with icons for a macro call command
Summary: defect customizing a toolbar with icons for a macro call command
Status: CONFIRMED
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOO320m18
Hardware: PC Windows XP
: P3 Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2011-01-12 17:47 UTC by lmerger
Modified: 2013-01-29 21:46 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
testdocument for to try to remove the icon (15.15 KB, application/vnd.oasis.opendocument.text)
2011-01-13 19:12 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description lmerger 2011-01-12 17:47:43 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
Comment 1 Regina Henschel 2011-01-12 18:13:38 UTC
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).
Comment 2 lmerger 2011-01-13 09:02:17 UTC
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
Comment 3 Oliver Brinzing 2011-01-13 17:31:32 UTC
.
Comment 4 Regina Henschel 2011-01-13 17:44:22 UTC
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?
Comment 5 lmerger 2011-01-13 17:54:13 UTC
It does work

I asked someone to reproduce it (with the same OOo version) and he has got the
same behavior
Comment 6 Regina Henschel 2011-01-13 19:07:39 UTC
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.  

 
Comment 7 Regina Henschel 2011-01-13 19:12:40 UTC
Created attachment 75556 [details]
testdocument for to try to remove the icon
Comment 8 Regina Henschel 2011-01-13 19:23:58 UTC
change component to framework, because all modules are affected.
Comment 9 Ariel Constenla-Haile 2011-01-14 22:40:58 UTC
.