If your binding is Alt+X, try pressing it down, tapping shift (press and release), then releasing X. The release keybind shouldn’t trigger.
I tried the workaround with all modifier combinations but this still happens, even if you bind Shift+(Your Binding). Pressing “shift” while the a chord is held prevents the release event from being handled.
The argument describes an algorithm that can be translated into code.
1/(1-x)^(2) at 0 is 1 (1/(1-x)^(2) - 1)/x = (1 - 1 + 2x - x^(2))/x = 2 - x at 0 is 2 (1/(1-x)^(2) - 1 - 2x) = ((1 - 1 + 2x - x^(2) - 2x + 4x^(2) - 2x(3))/x(2) = 3 - 2x at 0 is 3
and so on