You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 7, Windows 10 (both 32bit in a VM) and Linux (Ubuntu 14.04) with NW.js v0.13.4:
The window menu set with nw.Window.get().menu = myMenu; is still visible when in fullscreen mode or kiosk mode. As a workaround I tried to temporarily remove the menu when entering fullscreen mode, but nw.Window.get().menu = null; didn't change anything.
It's possible to set an empty menu with nw.Window.get().menu = new nw.Menu({type: 'menubar'}), but that still leaves the – now empty – menu bar.
Only tested on Windows 10 with NW.js v0.14.0:
Clicking a menu item which has a submenu doesn't open the submenu. Nothing happens. Also still visible in fullscreen/kiosk mode.
The text was updated successfully, but these errors were encountered:
@rogerwang@sebadorn On 0.12.x, the menubar shows in fullscreen on Linux, but doesn't show it on Windows. However neither shown or hidden is defined in the doc or wiki. Some one may need the menubar on full screen mode, and some one may not. So I think it's better to leave the choices, whether to show or hide menubars in full screen mode, to the developers.
Anyway, when set win.menu = null, the menubar should disappear on all platforms. I'll try to fix this issue and update the usage of setting win.menu = null on the doc site.
ghostoy
pushed a commit
to ghostoy/nw.js
that referenced
this issue
Apr 19, 2016
Previously in 0.12.x the visibility of menubar on fullscreen/kiosk
mode is inconsistent on different platforms. Since 0.13.0, the
menubar is always visible on fullscreen / kiok mode. Using
`win.menu=null` can remove the menubar manually. This gives
developers better control on the menubars.
This patch implemented `win.menu=null` to completely remove the
menubar on Linux and Windows, and cleared out the menubar on Mac.
The patch also updated the docs about menubar visibility on
fullscreen mode.
Fixednwjs#4725
Windows 7, Windows 10 (both 32bit in a VM) and Linux (Ubuntu 14.04) with NW.js v0.13.4:
The window menu set with
nw.Window.get().menu = myMenu;
is still visible when in fullscreen mode or kiosk mode. As a workaround I tried to temporarily remove the menu when entering fullscreen mode, butnw.Window.get().menu = null;
didn't change anything.It's possible to set an empty menu with
nw.Window.get().menu = new nw.Menu({type: 'menubar'})
, but that still leaves the – now empty – menu bar.Only tested on Windows 10 with NW.js v0.14.0:
Clicking a menu item which has a submenu doesn't open the submenu. Nothing happens. Also still visible in fullscreen/kiosk mode.
The text was updated successfully, but these errors were encountered: