Skip to content

Menu disappears/won't appear on Release Notes focus #68335

Closed

Description

@4s7r0

I'm using Linux Mint 16.04 and the latest VSCode.

When focus is on Release Notes, the menu disappears and the hotkey does not make it reappear.

I do not know why the menu must disappear or how much programming went into making it (not) work this way, but I would argue that it is better if you could use the menu while reading the release notes.

This has only been tested with regular files already open when the release notes appear.

Activity

  1. vscodebot commented on Feb 9, 2019

    @vscodebot

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

  2. 4s7r0 commented on Feb 9, 2019

    @4s7r0
    Author

    (Experimental duplicate detection)
    Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

    Nope. But it's clear that the webview was programmed like it was an old school easter egg.

  3. sbatten commented on Feb 11, 2019

    @sbatten
    Member

    Matt Bierner (@mjbvz) Webviews are eating alt-key press

  4. added
    bug
    webview
    on Feb 11, 2019
  5. mjbvz commented on Feb 13, 2019

    @mjbvz
    Contributor

    This seems to be caused by the menubar ModifierKeyEmitter class listening for alt key presses using domEvent(document.body, 'keydown'). Our webview implementation has to re-dispatch all keyboard event, but it does so using the keybinding service. This means that the keydown event for alt key presses never triggers ModifierKeyEmitter.

    Benjamin Pasero (@bpasero) or SteVen Batten (@sbatten) Any ideas on how we can workaround this?

  6. sbatten commented on Feb 13, 2019

    @sbatten
    Member

    Matt Bierner (@mjbvz) so only commands with keybindings will be received outside of the webview when one is focused?

  7. mjbvz commented on Feb 13, 2019

    @mjbvz
    Contributor

    The webview converts key presses into commands. The raw key presses themselves however are captured by the webview. I tried rebroadcasting the key press events using dispatchEvent but it didn’t work properly

  8. 1 remaining item

  9. added
    menus
    and removed on Oct 7, 2019
  10. sbatten commented on Oct 9, 2019

    @sbatten
    Member

    using mnemonics in webviews works, alt focusing does not. as a workaround use alt+f to get to the menu or focus outside of the webview such as the sidebar or panel.

  11. removed this from the On Deck milestone on Oct 9, 2019
  12. locked and limited conversation to collaborators on Nov 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugmenuswebview

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions