c3d / db48x

RPL runtime for the DM42 calculator, in the spirit of HP48/49/50
http://48calc.org
GNU Lesser General Public License v3.0
63 stars 9 forks source link

Key press repeats when the solver menu is open #1001

Open mahi2003 opened 1 week ago

mahi2003 commented 1 week ago

Sometimes, after starting the solver, tapping a number button to enter a value does not seem to register the release event and keeps repeating the number (as if you kept the button pressed).

I'm not sure yet what triggers this because I cannot reproduce it with every equation, nor does it happen on USB power, but I can do it quite consistently as follows (even after a reset):

It happens only when transitioning to entry mode with the solver menu open, but not always. Pressing for example XEQ does not trigger it. Nor does "TEXT", but enabling alpha mode and then pressing any button (with alpha) will trigger it.

Pressing the buttons just a tad longer also prevents the issue from happening. Judging by that and the fact that it does not happen on USB power, it is most likely a timing issue. I guess it won't happen in the simulator.

c3d commented 1 week ago

I have been unable to reproduce.

However, I made a number of display refresh fixes related to the problem with the annunciators (shift and alpha) and the management of the timers. I suspect one of them may have fixed that specific issue.

Let's see if you can reproduce with the release I do today, and if you can't, we'll close this issue.

mahi2003 commented 1 week ago

✔️ I've not been able to reproduce it on 0.7.9. You may close this issue.