BoostNote-Legacy icon indicating copy to clipboard operation
BoostNote-Legacy copied to clipboard

Alt should only open the Menu Bar when released

Open benslv opened this issue 6 years ago • 10 comments

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)

benslv avatar Feb 26 '19 20:02 benslv

Additionally, holding down Alt causes the Menu Bar to be toggled on and off really quickly. It doesn't stop until you release Alt.

benslv avatar Feb 26 '19 20:02 benslv

Can you try using our latest version? v0.11.15

ZeroX-DG avatar Feb 27 '19 21:02 ZeroX-DG

I'm using v0.11.15 and the bug is still there. Another way to test it: Keep pushing down Alt key, it will constantly switch the menu ON and OFF.

cvilla87 avatar Mar 08 '19 14:03 cvilla87

I came here to request the same improvement. Is there a setting to always show the menu bar? This will sufficient for now 👍

boyski33 avatar Mar 13 '19 17:03 boyski33

@ZeroX-DG

Can you try using our latest version? v0.11.15

Hey, Zerox-DG, is this behavior intended?

https://github.com/BoostIO/Boostnote/pull/1809 Specifically, in this pull request, you mention that you would like the menu bar to appear from the alt key press. On this key press, is it intended that alt + tabbing out of a program would toggle the menu?

hak33m16 avatar Aug 17 '19 01:08 hak33m16

Hey @hak33m16, I intended the menu to be open only if alt is the only key being pressed, so in this case, the current behavior is not how the app should behave.

ZeroX-DG avatar Aug 18 '19 07:08 ZeroX-DG

To act similar to how all other programs work the menu does not pop-up until Alt is released. I definitely think we should do this to solve many issues with hotkeys.

Flexo013 avatar Aug 19 '19 22:08 Flexo013

Any updates on this?

sergboec avatar Sep 30 '20 08:09 sergboec

There's a PR to continue to work on: https://github.com/BoostIO/Boostnote/pull/3335

Flexo013 avatar Oct 04 '20 13:10 Flexo013

This also occurs when there are multiple keyboard layouts and you're switching them using the Alt+Shift combination.

After pressing Alt+Shift it is expected that the user would continue typing as usual, but instead he gets into a menu and needs to dismiss it using the Esc key. This is really impeding good UX.

mxmv avatar Apr 07 '21 04:04 mxmv