lichess.org
Donate

Having mouse issues only on Lichess

Hiya,

I've been having some mouse input issues and it is only isolated to Lichess. Maybe I'm wrong, but I did try and run some tests on my mouse in other apps as well used an online mouse tester, seems okay otherwise.

So in frustration, I'm posting this feedback in case I'm not crazy and it really is Lichess and not my mouse or between seat and keyboard.

In a nutshell, my mouse is dropping pieces onto squares where I am very sure I did not intend and sure that did not accidentally release on wrong square. [No, I'm not trying to make excuses ;-)]

I use the "drag a piece" method for moving pieces. It seems that the piece is getting dropped prematurely and in some cases on the wrong square. Not all the time, but I would say at least 30% of the time it is released prematurely even though I'm holding that mouse button down the whole time during the drag. About 5% or 10% of the time it is released on the wrong square, at least once or twice during a game, any more than 2 or 3 and I'm pretty much dead meat and lose the game as a result, so I couldn't say if it is happening more than that.

Do you have any recommendation to troubleshoot and at least is there some kind of debug log that help identify if this a Lichess issue or just my imagination?

Thanks.
I'd try it in another browser. If it is some rare bug connected to the html/js/etc code of lichess and your setup, maybe this could bring some clarification.
Download a screencapture app and record. Then you will know for sure
I'll try the screenscapture and record method, but not sure how that will show if I released the physical mouse button on my mouse. :). It will show piece being dropped on wrong square, but I'm scratching my head on how it will show I never physically released my mouse button. :-)

I'll try a different browser method. Currently I'm using Mozilla.
Okay, here is a video grab, but in this case what is happening is that I'm trying to move a pawn and have to attempt it 4 times before it grabbed by the mouse. I think during this time, something was locked/frozen. My PC was fine, did not appear locked, just Lichess. I'm wondering if this is related to the unintentional mouse drops, maybe the drops occur when I'm dragging a piece during "lockup" in Lichess? It is almost like Lichess input event handling was paused or frozen. It even looks like the clock paused for a second or two.

You can see this while trying to move pawn to g4.

youtu.be/5LHpjQH_GiU
Okay, after a few more games, I'm going to say I think I'm more confident that it is the lockup that is causing the mouse to drop early. But not sure if this is Lichess issue still, but I'm thinking it is. Here is my theory, during the game when moves are going fast, if a drag is going on during the lockup, then when if I release my mouse onto the intended square when Lichess "unlocks", Lichess is apparently catching up to the event queue and I can visibly see a drag that is "lagging" behind my mouse pointer, so when I release the mouse button, if the lagged drag has not caught up where my actual pointer is, Lichess simply drops right there. Or, maybe it think that when the "unfreeze/unlock" occurs, that it assumes I've release the button already.

Not sure, but I think definitely part of the problem.
Okay, I think I found the cause and solution. Apparently, Mozilla was wanting to do an update which I had delayed. I don't think the update itself fixed the problem, I just think maybe Mozilla was running an event loop to check if update was applied which was interfering with Lichess event loop. As soon as I updated, problem went away.

This topic has been archived and can no longer be replied to.