Skip to content

Key press sometimes gets stuck #181

@covanam

Description

@covanam

The issue

  • Sometimes, after pressing a key and releasing it; RVVM sees the key press event, but not the key release event. In other words, RVVM behaves as if the key is held indefinitely.

Steps to reproduce

  • Use these images: images
  • Run rvvm_x86_64 -smp 4 -res 1920x1080 fw_jump.bin -k Image -i rootfs.ext2 (Linux, X11)
  • After booting, hold any key for ~ 1 second and release (for example, 'a'). Occasionally RVVM never sees the release (and 'a' continuously appears in the terminal)

Investigation

  • Git bisect: 5d20e7c
  • It seems like RVVM misses the X11's key release event

Workarounds

  • Press another key and the problem disappears.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions