You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The release key event should always come after the key pressed event.
With the example I have given, the background should always be white unless the "a" key is being held.
Actual behavior
The release key event comes before the last key pressed event.
With the example I have given, the background gets "stuck" with the red background occasionally.
The text was updated successfully, but these errors were encountered:
This behavior was introduced by mistake in #1850 (see #1850 (comment)).
There is currently an open PR #1894 trying to solve it, without much success for now.
I am using fcitx5 instead of ibus, so this is also affecting fcitx5 if it makes any difference.
I have also tried limiting at 60 and 90 fps but although less frequent, the problem still exists.
Given this is probably affecting most use cases with any sort of framerate locking.
Do you know if there's any plan to fix this?
Subject of the issue
Key Released event is either not properly ordered or missing when fps is limited, creating a "key stuck" effect.
Your environment
Steps to reproduce
Tell us how to reproduce this issue. Please provide a minimal, complete and verifiable example, you can use the follow template as a start:
Expected behavior
The release key event should always come after the key pressed event.
With the example I have given, the background should always be white unless the "a" key is being held.
Actual behavior
The release key event comes before the last key pressed event.
With the example I have given, the background gets "stuck" with the red background occasionally.
The text was updated successfully, but these errors were encountered: