Skip to content

RawKeyboard has stuck pressed keys when shift is released — shortcuts fail as a result #40496

@shyndman

Description

@shyndman

Reproduction:

  1. Press shift+a
  2. Release shift
  3. Release a

Now evaluate the state of RawKeyboard.pressedKeys: capital A is still reported as being pressed. As such, shortcuts fail to match from this point forward, unless the user happens to go through a similar sequence but releases the a key before shift.

This happens surprisingly often when you're typing quickly.

Related to #38076
@gspencergoog

Metadata

Metadata

Assignees

No one assigned

    Labels

    a: desktopRunning on desktopframeworkflutter/packages/flutter repository. See also f: labels.platform-macBuilding on or for macOS specifically

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions