Read the statement by Michael Teeuw here.
Alt Key Doesn't Open Menu
-
@Fifteen15Studios what menu were you talking about?
mm is a browser app, so that is it’s frame’s menu,
I have never seen anything else -
@sdetweil It used to pop down the browser’s menu. With a File, Tools, etc. I could get it to show developer mode from that menu, and more.
-
@Fifteen15Studios I guess electron must have changed its behavior.
-
@Fifteen15Studios I see how to do the disable in code, but we don’t do that.
window.removeMenu()
I do not see any mention of changing the default behavior or how to enable it
-
@sdetweil It only seemed to happen with a fresh install. I had an older version installed that I just continuously updated for months and never had this issue. But with a fresh install, behavior is different. Maybe there’s something that changed in the install script that causes it?
-
@sdetweil said in Alt Key Doesn't Open Menu:
I see how to do the disable in code, but we don’t do that.
we are using
frame: false
in electronOptions -
@Fifteen15Studios well, we upgraded the to a newer version of electron. everyone keeps changing things…
-
Hi,
I’ve got the same issue (no menu when hitting alt).
Inspired by @karsten13 's post I tested out changing
“electronOptionsDefaults.frame = false;” to true in electron.js and this gave me the window toolbar just fine, but it was always on. Trying a few other things still hasnt given me the ‘sometimes on’ functionality.I also don’t know if there is another electronOptions I should be changing instead of the defaults inside of electron.js
Short of writing a new function to set frame to true on a button press (which I’m not even sure would work, because the settings are passed in at window creation), I’m not sure where to go next.
So I know roughly what to investigate, but I’m still a bit lost. If anyone else has solved this issue or has any suggestions I’d be very grateful!
-
@lnicaodh you can look thru the electron config option on the electron site. lots of them
-
As a partial fix for this:
Add the following to your config.js
electronOptions: { frame: true, autoHideMenuBar: true }
However, this has the issue of still showing the outer frame of the window, which obviously isn’t ideal.
I need to move on from troubleshooting this particular issue so this will have to do for now. Hopefully someone in future can solve it for real.