Re: Close all ContextMenu with mouse button

2014-09-18 Thread Anthony Petrov
Hi Peter, When you click - a menu item, or - any area of the stage that isn't covered with a popup menu, or - another window of the same application, or - somewhere outside of the FX application, all the open menus should close at once. If they don't, this is a bug in either Control,

Re: Close all ContextMenu with mouse button

2014-09-18 Thread Werner Lehmann
On 18.09.2014 14:38, Anthony Petrov wrote: If they don't, this is a bug in either Control, Scenegraph, or Glass. Please file a JIRA and provide a small test case that reproduces the problem. ...or a JFXPanel is involved: popups and contextmenus opened from a JFXPanel do not close when

Re: Close all ContextMenu with mouse button

2014-09-18 Thread Anthony Petrov
On 9/18/2014 5:17 PM, Werner Lehmann wrote: On 18.09.2014 14:38, Anthony Petrov wrote: If they don't, this is a bug in either Control, Scenegraph, or Glass. Please file a JIRA and provide a small test case that reproduces the problem. ...or a JFXPanel is involved: popups and contextmenus

Close all ContextMenu with mouse button

2014-09-17 Thread Peter Penzov
Hi All, Is there a way to close all opened context menus opened on the scene? When I press a button I would like to close all Context menus opened by right muse click. BR, Peter