Skip to content

held_keys["<any key>"] does not release on Ubuntu 24.04 #754

@stonier

Description

@stonier

Environment

  • Ubuntu 24.04 fails (we tested on multiple machines)
  • Ubuntu 20.04 succeeds

Reproduce

  • Run the Introduction Tutorial verbatim on Ubuntu 24.04.
  • Press 'd' and release - the box moves continuously across the screen
  • Press 'a' and release - the box stops

If printing the values of held_keys["a"] and held_keys["d"] they get set to 1 but never return to 0 on releasing.

Expected Behavior

The box stops moving after d is released.

Other Notes

Seems like something has changed under the hood with the graphical server in-between Ubuntu releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions