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
{{ message }}
Repository navigation
Using menuBarVisibility set to toggle and alt commands menu contributions. #37724
Setting menuBarVisibility to toggle means that top menu bar will be shown only after pressing the Alt button.
Extensions can define Alt commands for menu contributions to provide alternative commands that get enabled when user press Alt button.
Problem: user wants to use Alt command but it also additionally causes menuBar to toggle on, which causes the whole screen to jump a bit. And there is no way to override used key for any of those actions (at least as far as I know).
Possible solution:
Make buttons used in both cases configurable with normal keyboard settings.
The problem is people who set menuBarVisiblity to hidden want to be able to toggle it open sometimes to use the menubar without having to go in to settings to make it visible. They could also pop it open with e.g. Alt+f to open the file menu but then it seems the menu is stuck open with no way to hide it but to fiddle around in settings again (another electron issue I guess..)
The toggleMenuBar action could solve this if it didn't change the user's setting to toggle instead of hidden. Discussed in #46181
Activity
Suggested menu toggle fix. Solves microsoft#41070 microsoft#35010 mic…
bpasero commentedon Mar 20, 2018
Krzysztof Cieślak (@Krzysztof-Cieslak) wouldn't it make a lot more sense to recommend to these people to set
menuBarVisibilitytohiddeninstead?Bottom line is that there is no way to configure the Alt key when menu is set to toggling (see also #41070)
lyallh commentedon Mar 24, 2018
The problem is people who set
menuBarVisiblitytohiddenwant to be able to toggle it open sometimes to use the menubar without having to go in to settings to make it visible. They could also pop it open with e.g. Alt+f to open the file menu but then it seems the menu is stuck open with no way to hide it but to fiddle around in settings again (another electron issue I guess..)The
toggleMenuBaraction could solve this if it didn't change the user's setting totoggleinstead ofhidden. Discussed in #46181bpasero commentedon Mar 24, 2018
Krzysztof Cieślak (@Krzysztof-Cieslak) is this still an issue with our new builds that leverage Electron 2.0.0 (Windows, Linux)?
vscodebot commentedon Mar 31, 2018
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!