Community
Participate
Working Groups
There is already an menu entry to hide the toolbar. I would be nice to have this option also for the menu bar. If the menu bar is hidden it could be shown via a shourtcut (for example as long the user pressed the ALT key the menu bar is visible, like Sublimetext).
I'd really like to have the ability to hide the top menu bar. It could work likle in Firefox and other programs, being shown with Alt when set hidden. Everything else can be hidden (toolbar, statusbar) but not the menu bar. Use case is to maximize vertical space which is especially useful on laptops. Speaking of which can it be disabled in a config file or is the functionality simply not there ?
So i just discovered that if you disable all menu entries while customizing a perspective you can get rid of the main menu, but then the shortcut to show the menu does not work too, which is bad. In my opinion, CTRL+3 is the best candidate to work with if the main menu is disabled. For example you want to search for a File, where you normally would go to the main menu and select: Search -> File Alternative is: CTRL+3, type "File" and select it. This works for most menu items that I tried and I actually don't need the Mainmenu anymore. I still support the idea that the menu should show up when pressing ALT, because that's something that works in other applications already and some people might like that better.
@2 I knew about this solution (and using CTRL-3 to access to hidden menu entries), but it would be less of a hassle to have a proper toggle for hiding/showing the menu like the rest of UI elements (toolbar/status bar).
any news on this?
(In reply to emil viorel diaconescu from comment #4) > any news on this? Would you mind taking a stab at this Emil?
Just be aware that on OS X the menu bar is different. It's global; not in the application window, and Eclipse on OS X should not even have this function.
(In reply to Thomas Wolf from comment #6) > Just be aware that on OS X the menu bar is different. It's global; not in > the application window, and Eclipse on OS X should not even have this > function. Right. IIRC, on OSX, the main menu can already be dynamically hidden via the system preferences.
Created attachment 285126 [details] Playing with the menu and toolbar through the model ## Analysis When the model spy is installed from the marketplace, you can play with the model. Specifically, you can flip the "visible/to be rendered" flags. For example, you can observe what happens when the toolbar is hidden and shown. By working with the model spy to flip off the "to be rendered" flags, in combination with ALT+F11, you can get a completely full-screen Eclipse. The repo where to put this code is here [1]. Code that hides the main toolbar is here [2]. You can take this as a starting point. See the attached movie. ## -clearPersistedState I ran into trouble when I accidentally flipped the "visible" flag on the main window. When this happens, you have to restart with -clearPersistedState ## Tests When I tried to hide my main menu on my running Eclipse, it did not work. I had to flip the "to be rendered" button on the main menu a couple of times. I could not get it back at some point, and I had to open a new window via CTRL+F3. After closing my previous window, the "to be rendered" toggle worked as expected. [1] https://git.eclipse.org/c/platform/eclipse.platform.ui.git [2] https://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.ui.workbench/Eclipse%20UI/org/eclipse/ui/internal/handlers/ToggleCoolbarHandler.java