Skip to content
Discussion options

You must be logged in to vote

You are correct on all accounts.
Your counter example does it. If I hold space for a few seconds, eventually it will crash.
https://asciinema.org/a/eqB6At9xwFSrbYCHPhc38JqQR

Note that using an ssh connection or while recording the session using asciinema it is much faster to trigger than without. This corroborates my suspicion that it has something to do with the background rendering.

The reason for bringing up the discussion is that it is counter intuitive that toggling a button doesn't make that button the pressed one... This is bound to cause unexpected behavior for more developers. Arguably is is also against the asyncio philosophy where programs can yield to the event loop after they…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@davep
Comment options

@davep
Comment options

Answer selected by davep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2201 on April 03, 2023 08:08.