Read the statement by Michael Teeuw here.
Alt Key Doesn't Open Menu
-
@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.
-
@lnicaodh If it is any consolation I have 3 Pi4b’s and 1 Pi3B and they all exhibit the same behavior.
Ive done automated installs, manual installs 64 bit, 32 bit, and none of them function by hitting ALT key.
F11 will reduce size on MM screen so you can get at file manager and Shift+CTL+I will launch developer tools.I suspect as prices continue to drop on Pi’s this is going to show up more and more.
-
@ankonaskiff17 I’m brand new to this so still testing on PC, but will be moving to RPi soon, thanks for letting me know what to expect!
It bothered me that alt+f4 left a bunch of electron processes open which prevents a new instance launching, and they are a bit stubborn to kill in the task manager.
I haven’t tested this but I’m thinking a solution might be to just make the app window slightly taller than the screen so that the visible frame is just beyond the display border… feels like a sad workaround but i’m hoping it’ll at least hide the unsightly edge!
Hopefully the issue gets resolved soon enough.
-
@ankonaskiff17 If you read the thread, this has nothing to do with the hardware. It’s a change that was made to the software. The price of the pi has nothing to do with this thread.