Skip to content

Using menuBarVisibility set to toggle and alt commands menu contributions. #37724

Closed

Description

This is a small UX problem.

  • 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.

Activity

  1. added
    feature-request
    and removed on Nov 16, 2017
  2. bpasero commented on Mar 20, 2018

    @bpasero
    Contributor

    Krzysztof Cieślak (@Krzysztof-Cieslak) wouldn't it make a lot more sense to recommend to these people to set menuBarVisibility to hidden instead?

    Bottom line is that there is no way to configure the Alt key when menu is set to toggling (see also #41070)

  3. added
    info-needed
    and removed
    feature-request
    on Mar 20, 2018
  4. lyallh commented on Mar 24, 2018

    @lyallh

    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

  5. bpasero commented on Mar 24, 2018

    @bpasero
    Contributor

    Krzysztof Cieślak (@Krzysztof-Cieslak) is this still an issue with our new builds that leverage Electron 2.0.0 (Windows, Linux)?

  6. vscodebot commented on Mar 31, 2018

    @vscodebot

    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!

  7. locked and limited conversation to collaborators on May 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

info-needed

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions