processing / processing4-javafx

JavaFX library for Processing 4
14 stars 5 forks source link

fullScreen(FX2D) doesn't hide the menu bar #12

Open brendanmatkin opened 8 years ago

brendanmatkin commented 8 years ago

When using fullscreen(FX2D) on OS X 10.11.5, Processing 3.1.1:

Calling fullScreen(FX2D) appears to be maximize (like option-click green button) and hide the menu bar, rather than native fullscreen (like regular click green button).

The problem with this is that, rather than the app filling the entire screen as expected, there is a gap where the menu bar used to be, through which you can see the desktop background.

Hiding the menu bar was introduced in 3.0.1 but no pull request is referenced in the revisions and I haven't yet found what is going on there..

Workaround: Adding a robot which moves the mouse to the location of the greenlight and clicks it works great, but it's a bit clunky and isn't 100% reliable.

benfry commented 8 years ago

We don't use the native OS X full screen because it doesn't allow us to span multiple displays (and introduces that goofy animation that can't be disabled).

However, this is working fine for me in the latest release. When I use fullScreen(FX2D) the menubar is hidden just fine. Is that not the case for you?

benfry commented 8 years ago

Come to think of it, I know there's a problem with exported applications and FX2D, is that where you're seeing this?