Widgets: MenuBar: Menubars stay open until an option is chosen
--------------------------------------------------------------

                 Key: XAP-553
                 URL: https://issues.apache.org/jira/browse/XAP-553
             Project: XAP
          Issue Type: Bug
          Components: Widgets: Menu/MenuBar/Toolbar
            Reporter: Trevor Oldak
            Priority: Critical


When a menuBar is clicked, it cannot be closed until an option is selected. 
This is very problematic because sometimes users do not wish to select any 
option.

Try the following xal to see what I mean. Click the first menuBar, then the 
second, then the third. All three popupMenus stay active until an option is 
selected.

<xal xmlns="http://openxal.org/ui";>
        <rootPane>
                <verticalBoxPane>
                        <menuBar>
                                <menu text="Click me first">
                                        <popupMenu>
                                                                <menuItem 
text="This one stays open"/>
                                        </popupMenu>
                                </menu>
                        </menuBar>
                        <label text=" " height="100px"/>
                        <menuBar >
                                <menu text="Then me">
                                        <popupMenu>
                                                                <menuItem 
text="after this one is clicked"/>
                                        </popupMenu>
                                </menu>
                        </menuBar>
                        <label text=" " height="100px"/>
                        <menuBar>
                                <menu text="Then me">
                                        <popupMenu>
                                                                <menuItem 
text="now all three should be open"/>
                                        </popupMenu>
                                </menu>
                        </menuBar>
                </verticalBoxPane>
        </rootPane>
</xal>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to