Issue 128337

Summary: Customize-Toolbars dialog - ad infinitum?
Product: General Reporter: Czesław Wolański <czeslaw.wolanski>
Component: uiAssignee: AOO issues mailing list <issues>
Status: UNCONFIRMED --- QA Contact:
Severity: Minor    
Priority: P5 (lowest)    
Version: 4.1.7   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Screenshots illustrating issue none

Description Czesław Wolański 2020-03-13 16:02:04 UTC
Created attachment 86899 [details]
Screenshots illustrating issue

A bug described below is reproducible in any AOO component
and - I presume - for any toolbar, be it a standard one or one created by user.

So let's check AOO Writer.

1. Run AOO Writer
2. Undock Standard toolbar.
3. Click small arrow-down in title bar of Standard toolbar.
4. Choose "Customize Toolbar"
   Customize dialog appears, active is "Toolbars" tab page.
5. If Customize dialog overlays Standard toolbar, click on
   Standard toolbar and move it over Customize dialog.

If you now repeat steps 3.-4. you will see second instance of
Customize dialog.

Repeating steps 5.-3.-4. will bring you more instances of
Customize dialog. 

As you can see in attached file "HowToMultiply" (Genesis 9:7) I have stopped at 20 Customize dialogs (and rearranged them to form
a nice stack). Apart from new aesthetic experience for user,
that bug could eventually lead to AOO crash. For example with 20 dialog instances in AOO Writer, I wasn't able to switch focus to AOO Calc.

So if one cares to check programmatically limit of instances, I would be glad to know the results (like in Queen's song: "I want it all, I want it all, I want it all, and I want it now"... on my screen.).

Issue doesn't occur if toolbar is docked. If you then invoke Customize dialog you will notice it is a modal one. So there is no chance of
having more than one instance on screen.