Skip to content

[Simulator] Button presses are sometimes holds #984

@kmcnaught

Description

@kmcnaught

Bug Description

In the simulator you can press button A or B. By default this is supposed to be a "press and release" unless you expand to access the "hold" toggle switches.

However, some methods of clicking the buttons leave them incorrectly stuck down. So far I've found touch input, and one particular type or simulated mouse click. But I imagine it's a more general issue to do with the timings/specifics of mouse up/down/press events.

How To Reproduce

Simplest way to reproduce is with a touch screen device:

  1. Run the sample code in the simulator
  2. Tap button A or B with your finger
  • expected behaviour: button is pressed and then released
  • observed behaviour: button is held down
  1. Tap again and button is released.
  2. Tap again and button is held down
  3. Now click the held-down button with your mouse
  • The button now works in reverse, briefly being released while you click it and then being pressed again

The same scenario can be reproduced using Optikey to simulate mouse presses with eye control.

Environment

Windows 10/Chrome/Surface Pro touchscreen

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions