[ 
https://issues.apache.org/jira/browse/PIVOT-273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12751062#action_12751062
 ] 

Greg Brown commented on PIVOT-273:
----------------------------------

This happens because the menu item has no way to know that it needs to close 
the popup. We can't simply close it when the menu item loses focus, since it 
will often lose focus to its sub-menu. It then has no way to be notified when a 
sibling menu item obtains the focus.

We need to move to a model that relies on menu item selection state, rather 
than focus state, as is done in the menu bar. Each menu item in a menu will 
belong to a button group. When the item is selected, it will display the 
sub-menu (if any). When de-selected, it will close the sub-menu.




> Mousing over a different menu item does not close any open menu popup
> ---------------------------------------------------------------------
>
>                 Key: PIVOT-273
>                 URL: https://issues.apache.org/jira/browse/PIVOT-273
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 1.3
>            Reporter: Greg Brown
>            Assignee: Greg Brown
>            Priority: Minor
>             Fix For: 1.3.1
>
>
> To reproduce:
> 1) Open the File menu in the Kitchen Sink demo.
> 2) Expand the Save As menu.
> 3) Move the mouse over any other menu item (e.g. Close)
> Expected result:
> The Save As menu should close.
> Actual result:
> The Save As menu remains open.

-- 
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