Skip to content

Alt should only open the Menu Bar when released #2906

@benslv

Description

@benslv

Current behavior

Alt-Tabbing (key combination Alt + Tab in that order) out of Boostnote causes its Menu Bar to toggle on and off depending on its current state.

GIF of current behaviour.
The only keys being pressed are Alt and Tab.

Expected behavior

Pressing the Alt button should do nothing when Alt-Tabbing. I believe this can be fixed by causing the Menu Bar to be toggled when Alt is released, not pressed.

Steps to reproduce

  1. Bring Boostnote into focus (i.e. ensure it is the current window on the screen).
  2. Alt-Tab to a different window. If the Menu Bar was currently enabled, it should now be hidden.
  3. Alt-Tab back to Boostnote.
  4. Alt-Tab to a different window again. The Menu Bar should reappear.

Environment

  • Version : 0.11.13
  • OS Version and name : Microsoft Windows 10 (10.0.17763 Build 17763)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wanted 🆘Pull request/issue requires extra help from the community. Check these out if you're new!improvement request 🔨Issue concerns an existing feature that needs improvement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions