DesModder icon indicating copy to clipboard operation
DesModder copied to clipboard

Keyboard stops working while typing

Open SlimRunner opened this issue 1 year ago • 2 comments

https://github.com/DesModder/DesModder/blob/e3a6b84ae1fa7aebbc2d5352a15609e9274f32e5/src/utils/listenerHelpers.ts#L171-L187

The error trace in Desmos points to this function. It happened under two different machines in Firefox (Windows) on the current Desmodder version available for Firefox. Also, yesterday it was in Calculator. Today it happened in Geometry.

I have not being able to reproduce reliably the bug, but basically as you are typing you just cannot type anymore in that specific expression that glitched out. The other day it happened multiple times, but I was in rush putting together a graph, so I simply duplicated the expression and deleted the one glitching out to get rid of the error.

The last thing I typed this time was this image

I tried to retype this and it does not reproduce the error. What seems to trigger it is navigating and selecting things as you type. Also, one thing to point out is that sometimes you can type, but you cannot move. After this error during the same glitched session I disabled all the plugins and the error persisted.

Addendum: apparently it can lock the graph from being dragged as well.

SlimRunner avatar Feb 23 '24 07:02 SlimRunner

My bad I forgot to put what the error was. It was too much recursion.

SlimRunner avatar Feb 23 '24 07:02 SlimRunner

I get this fairly frequently too. I'm able to consistently reproduce it by spamming 0s: image

ronwnor avatar Feb 23 '24 08:02 ronwnor

I can't reproduce this anymore. Maybe https://github.com/DesModder/DesModder/pull/824 fixed it? But reverting with git revert 7a22f27 9a85a78 f5c3c2e 23d6325 doesn't allow me to reproduce it by spamming 0s.

jared-hughes avatar Jun 04 '24 10:06 jared-hughes

Closing this since it seems to be fixed. If you can reproduce it, then feel free to re-open.

jared-hughes avatar Jul 19 '24 09:07 jared-hughes