Skip to content

Menu bar toggling is inconsistent with the rest of Windows #58377

Closed as not planned

Description

@akbyrd

I'm splitting out some previously reported issues since they weren't resolved with the fix to the original issue.

There are a couple of quirks with the keybinding for toggling the menu bar that don't match other Windows applications and cause workflow annoyances. These both occur when window.menuBarVisibility is set to toggle.

  1. Hold Ctrl, press and release Alt, notice the menu bar is toggled.
    Expected: the menu bar is not toggled.
    I've tested with various other applications on Windows including Notepad, Paint, and Firefox. None of them do this.

  2. Press and release Alt, press escape, notice the menu bar does not get hidden.
    Expected: the menu bar should be hidden.
    I tested with Firefox and Visual Studio 2015 (using https://marketplace.visualstudio.com/items?itemName=MatthewJohnsonMSFT.HideMainMenu) and both will hide the menu bar when escape is pressed.

Issue 1 is a daily annoyance for me, as it seems to happen very frequently when I jump between editor groups.

Also, the new custom title bar doesn't have these issues and it feels like the menu bars should be consistent with each other and with the rest of the Windows experience.

Activity

  1. added
    upstream
    on Sep 11, 2018
  2. sbatten commented on Sep 11, 2018

    @sbatten
    Member

    Adam Byrd (@akbyrd) just to clarify, this issue is specific to the old style menu bar?

  3. akbyrd commented on Sep 11, 2018

    @akbyrd
    ContributorAuthor

    This only applies to the old menu bar.

  4. added
    menus
    and removed on Oct 7, 2019
  5. m50d commented on May 24, 2020

    @m50d

    Assuming this is the same issue: when I use Alt-` (toggle Japanese input method) focus moves to the menu bar (as though I'd just tapped Alt). Extremely frustrating when trying to write text in mixed Japanese/English!

  6. AB1908 commented on Jun 6, 2020

    @AB1908

    I'm having a somewhat similar issue but the relevant ones seem to have been locked.

    • System Information:
      • Environment: Linux x64 5.6.15-arch1-1
      • DE: GNOME 3.36.2
      • Display Server: X11
      • VS Code Version: 1.45.1
      • Commit: 5763d90
      • Date: 2020-05-14T08:27:22.494Z
      • Electron: 7.2.4
      • Chrome: 78.0.3904.130
      • Node.js: 12.8.1
      • V8: 7.8.279.23-electron.0
    • Extension Table:
    Extension Author (truncated) Version
    textile idl 0.1.5
    latex-workshop Jam 8.10.0
    textile-preview mic 1.0.2
    python ms- 2020.5.80290
    code-spell-checker str 1.9.0
    vscode-icons vsc 10.1.1
    vim vsc 1.14.5
    • Reproducible Steps:
      • Split terminal using Ctrl+Shift+%
      • Press Alt+Right Arrow to switch to terminal on right
    • Expected Behaviour: Cursor switches to terminal on the right followed by user actions such as input, etc.
    • Observed Behaviour: Cursor switches to terminal on right followed by Menu Bar becoming visible or focused depending on prior setting of Menu Visibility.
    • Notes: The behaviour is also observed when using any two keystroke command involving a leading Alt, such as any GNOME based shortcuts. It can also be observed by pressing Ctrl+Alt, which ideally should not lead to a capture of Alt.
  7. sbatten commented on Oct 19, 2020

    @sbatten
    Member

    Robo (@deepak1556) this is an old issue about electron's menus

  8. deepak1556 commented on Dec 12, 2022

    @deepak1556
    Collaborator
    1. from Menu bar toggling is inconsistent with the rest of Windows #58377 (comment) is addressed, 1) is still present. Closing as blocked on upstream and will not be actionable in the next few months.
  9. removed this from the Backlog milestone on Dec 12, 2022
  10. locked and limited conversation to collaborators on Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

menusupstream

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions