-
Notifications
You must be signed in to change notification settings - Fork 15k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Frameless window cannot call out hidden menu #9990
Comments
When setting the menu during browser window creation, a check explicitly aborts progress if the window is frameless. That's likely the reason why you can't show the menu; it was never created to begin with. @zcbenz Is there any technical reason why this is done? I removed the check in I don't know the code enough to answer the questions regarding maximize, though. Edit: So it's probably something within Chromium that is messed up in those cases. What Electron does to work around this is that it cheats a bit by manually setting the size and position of the window. It's not maximized per se, it just happens to fill the full screen. That's why it looks like it's maximized. This also explains why Now here's the real twist in the story. Setting transparency makes Chromium remove the WS_THICKFRAME on the window. I guess Electron could keep track of maximized state when WS_THICKFRAME is not set so that |
We are no longer implementing bugfixes for versions of Electron <= |
I'm using 1.7.4 beta on Windows 7 (x64). I set
frame=false
andautoHideMenuBar=true
, the menu cannot be visible, when I press ALT. Is this a bug?Further problems
I set
transparent=true
, I need to create a button to minimize/maximize the window like thisProblem 1:
The
w.isMaximized()
will always return false. Once the window is maximized, it will never unmaiximzed. (maybe a regression?)Problem 2
I set the HTML window with
-webkit-app-region:drag
. Now right click on window, I can see the window context menu. But the menu item "Maximize" is by default bold. It is expected to be disabled.Problem 3:
When I right click on the application button in task bar, the context menu (incl. Restore, Minimize, Maximize, etc.) is gone.
The text was updated successfully, but these errors were encountered: