Hide the menu bar in full screen mode, but allow it to be shown again 
automatically if the user moves the mouse to the top of the screen, or invokes 
a menu keyboard mnemonic. This is already the default behavior on MacOS, but 
not on other OSes.

Simply hiding menu bar would be a one-line change in 
o.n.core.windows.view.ui.MainWindow--however a fair bit of logic is needed to 
make the menu bar properly appear and disappear on demand. The related logic is 
in the separate file AutoHidingMenuBar.java. I've done quite thorough manual 
testing of this on Windows 10 and Ubuntu 18, including in a multi-monitor 
setup, in the full NetBeans IDE as well as in my NetBeans Platform application.

See https://issues.apache.org/jira/browse/NETBEANS-731 .

[ Full content available at: 
https://github.com/apache/incubator-netbeans/pull/852 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to