Den mån 31 aug. 2020 kl 20:43 skrev Eirik Bakke <[email protected]>:
> The auto-hiding of the menu bar was added in 2018: > https://github.com/apache/netbeans/pull/852 . But it's unreleated to the > toolbar behavior here. > > Thank you, it was a nice addition. One thing though, with QuickSearch located in the hidden menu bar I'm not able to activate it with its shortcut, e.g. ctrl+i. Perhaps, as long as it disappears in "Show Only Editor" mode, which is a > separate setting in dependent of Full Screen. In any case I agree it should > work the same on all platforms. > I have a different view on "Show Only Editor" and "Full screen" than NetBeans, especially in the context of platform applications. For me it's about getting rid of unnecessary clutter, where toolbar and status bar are *necessary*. In my map application the status bar is displaying coordinates, and that is still of interest even when viewing the map as "Show Only Editor", the same goes for the toolbar. I solved this in the past with a custom toolbar and a custom status bar, allowing them to be visible all the time. Last week I began to use the pure netbeans ones with all their benefits, and the drawbacks of not being visible all the time. Changing the default behavior after all these years might not be a good idea so I would like to propose two new system properties: netbeans.winsys.status_line.always_visible netbeans.winsys.toolbars.always_visible that when set to true should do just that. Any thoughts? /Patrik > -----Original Message----- > From: Patrik Karlström <[email protected]> > Sent: Monday, August 31, 2020 11:20 AM > To: [email protected] > Subject: Re: No toolbar in full screen on Linux & Windows > > > https://github.com/apache/netbeans/blob/38e2a66ddefbcbd25686d28566b9dd243a7ddf70/platform/core.windows/src/org/netbeans/core/windows/view/ui/MainWindow.java#L784 > > getToolbarComponent().setVisible( !isFullScreenMode ); > > I guess this was intentional then, and since the Mac has its own handling > with regard to full screen, this was never exposed. > > IMHO the toolbar should remain visible on every platform. > > I'll poke around a bit more. > > Den mån 31 aug. 2020 kl 17:07 skrev Geertjan Wielenga <[email protected] > >: > > > Take a look at the source code of that action, to see what it does, > > maybe add a property that can be set for configuring it. > > > > Gj > > > > On Mon, 31 Aug 2020 at 17:04, Patrik Karlström <[email protected]> wrote: > > > > > Interesting, this is also present in 8.2, without the smooth hiding > > > of > > the > > > > > > menu bar though. > > > > > > > > > > > > Den mån 31 aug. 2020 kl 16:15 skrev Geertjan Wielenga < > > [email protected] > > > >: > > > > > > > > > > > > > Was this also the case in 8.2 or is it more recent than that? > > > > > > > > > > > > > > Gj > > > > > > > > > > > > > > On Mon, Aug 31, 2020 at 3:29 PM Patrik Karlström > > > > <[email protected]> > > > wrote: > > > > > > > > > > > > > > > I noticed this when re-enabling the toolbar on a platform > > application, > > > > > > > > the same issue is also in the IDE 12.0 & 12.1. > > > > > > > > > > > > > > > > There is no toolbar when using full screen on Linux & Windows, > > > > > in > > > > > > > addition, > > > > > > > > every menu item in View/Toolbars. > > > > > > > > On Mac it's as I expect it to be. > > > > > > > > > > > > > > > > Steps to reproduce on Linux & Windows > > > > > > > > 1. Look at the toolbar > > > > > > > > 2. Go full screen > > > > > > > > 3. Where is the toolbar? > > > > > > > > > > > > > > > > The somewhat new and smooth auto-hiding of the menu bar is new > > > > > to me, > > > > > > > > could that be related to the issue at hand? > > > > > > > > > > > > > > > > Can You confirm this? > > > > > > > > > > > > > > > > /Patrik > > > > > > > > > > > > > > > > > > > > > > > >
