Skip to content

KeyUp event not handled if the KeyDown is triggered before startup #1631

@aj3423

Description

@aj3423

Describe the bug
I use a global hotkey "Alt+Enter" to launch Neovide, if I release the 'Alt' key after Neovide launches, then the Alt is always down even after being released, all key strokes will become combination of 'Alt + key'. I need to press and release 'Alt' again to fix it.

To Reproduce

  1. Type neovide in terminal
  2. Hold down "Alt" key and press "Enter" to launch Neovide
  3. After Neovide is launched, release "Alt" key
  4. Press any key would become "Alt + key"

Expected behavior
The key up event should be handled even if the keydown event is triggered before it launches.

Screenshots
None

Desktop (please complete the following information):

  • OS: Kali Linux 2022.3
  • Neovide Version 0.10.3
  • Neovim Version v0.8.0-1210-gd367ed9b2

Please run neovide --log and paste the contents of the .log file created in the current directory here:
neovide_rCURRENT.log

Additional context
None

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions