Bug ID: 925
Short desc: Buttons get stuck after chording with cancel by timer or by movement

Last changed byphil 
Reported Byphil 
Reported On2026-02-21 3:21 PM 
ProjectXMBC 
OrganizationDevelopment 
Categorybug 
Priorityhigh 
Assignedphil 
Statusnew 
Target ReleaseNext Release 
VersionCurrent Beta 

comment 5591 posted by phil on 2026-02-21 3:21 PM, 55 days ago

https://forums.highrez.co.uk/viewtopic.php?t=4974

It is possible for the button state to get stuck, causing Windows to ignore button presses.

When chording is enabled, and Cancel by time AND/OR by movement) is enabled, when a chord is cancelled and it simulates the button down, it is possible for the button UP to happen BEFORE the simulated input is processed (as it runs in a different thread).

In this case, Windows recieves the button UP before the button DOWN. Thus it thinks a button is held down, and other buttons do not work as expected.

If the button down is simulated, the button up should also be simulated, to ensure it will not come in out of order!