JavaFX MenuBar: Separate mouse click on menu to show corresponding menu items - javafx-8

In JavaFX MenuBar, If we click on any menu then it shows corresponding menu items. Now If we don't move our mouse pointer from the clicked menu and drag it horizontally over other menus, then for each menu it shows corresponding menu items. It is the default functionality. But I don't want that.
I want to configure it in a way such that separate mouse click would be necessary to show corresponding menu items. So here If we click on any menu and drag mouse pointer horizontally over another menu then it should do nothing.
here, by saying mouse click, I meant click & release(not hold the click)
I searched in StackOverflow & google for any related questions or blog posts but found nothing. Any suggestions will be highly appreciated. Thank you.

Related

how to remove items from right click context menu in Visual Studio Code?

Currently, my right click context menu looks like this
It is too long. Many items I don't ever use. Can I remove some items from the menu?
Thank you.
You can click the menu bar then by right click you will get the option to close the component.

How do you use the Explorer tree is VSCode?

I find the explorer tree to be unintuitive. Opening a file on single click was annoying, so I set "workbench.list.openMode": "doubleClick". Now I have to click twice on the expand/collapse triangle just to make the tree expand or collapse (in code outline view, gitlens, and other views).
Shouldn't single click on the twisty open/close?
Why can't you type letters to navigate in lists/trees?
Why is the item you clicked on one color, but the item you navigate to with arrow keys another?
What is the point of the other highlight, as the context menu only seems to apply to the highlight with less contrast?
How do I open the selected item with the keyboard?
What is happening in the explorer when you press ESC? Seems like focus moves to the tree itself, but what does that achieve?
Shouldn't single click on the twisty open/close?
I've seen an open issue about that
Why can't you type letters to navigate in lists/trees?
That issue exists too
Why is the item you clicked on one color, but the item you navigate to with arrow keys another?
IDK. Usually, after you click that file is open in editor. (Selected list item - active editor(easier to spot?); Focused list item - where the focus is)
What is the point of the other highlight, as the context menu only seems to apply to the highlight with less contrast?
You can change the colors if you want to.
How do I open the selected item with the keyboard?
Enter? I assigned arrow right→ though.
What is happening in the explorer when you press ESC? Seems like focus moves to the tree itself, but what does that achieve?
What did you expect it to do?

Is there way to handle system tray icon window over dropdown window

How to access/use the window which is underneath another window upon it, please click on the link to check this case
I'm using pywinauto to do this, is there a way to handle this case/issue.
Issue:
By following this link, able to open system tray and click on the icon, which results in drop-down menu.
But when i try to mover over mouse to click specific option from drop-down, hidden icons window re-appears on top of the drop-down list, which results in wrong click.
Is there a way to handle these windows?

What menu is called by Alt-Shift-S in Eclipse?

What menu is called by Alt+Shift+S combination in Eclipse? How to call it from main menu? It is mostly resembles Source menu but has some differences.
Source menu
Source menu looks same but not exactly:
It is Source menu. If you do a right click in java editor you can see key combination for it and if you hover over Source you can see it is the same.
About the visual difference: If it is invoked from the main menu, disabled menu items stay visible (but grayed), because you would be very confused if the vertical position of the same menu item changed all the time (depending on how many other menu items above are disabled).
Context menus on the other hand are invoked at arbitrary places of your screen, so you don't notice a certain menu item offset "jumping" relative to the complete context menu. That's why many menu items are not just disabled in the context menu, but set to invisible.
That's the Source menu, Alt + Uppercase S

How can I create a YUI menu where you can click to open the submenus?

We have a multi-tiered/hierarchical YUI menu activated via a YUI menu button. Everything in this menu works pretty well. If you mouseover a menu item with a submenu, the submenu appears as expected. You can select an item from this submenu just fine.
The problem, however, is that you can also click on the parent items of this menu which closes the entire menu. In fact, I want the opposite. I'd like a click of a parent menu item leave the top level menu open and open the submenu (i.e. I want a click to be identical to a mouseover event in terms of functionality).
Side note: This isn't an issue on a typical web browser (e.g. Firefox) where the click event doesn't matter because you can't have a click without a mouseover. This is an issue on the iPhone which doesn't have a mouseover event.
I've been playing with the autosubmenudisplay properties and keepopen properties, hoping I can just handle the parent item click events to do what I want but, so far, I've been unsuccessful. If I set autosubmenudisplay to false, I can't figure out how to get the submenus to display manually. The keepopen property doesn't seem to work rather I set it on the menu or submenus.
Is there a way to get the behavior I want so our iPhone users are happy?
Todd Kloots, author of the YUI Button and Menu widgets here. Took at look at your request. Unfortunately the current version YUI Button and Menu aren't designed to support the type of interaction you are looking to create. Feel free to file a feature request via SourceForge and I'll try to work on this for a future version of YUI.
Todd
It's not exactly what you asked for, but have you looked at iUI? You may be able to pick up some tricks from the implementation.