beerplop icon indicating copy to clipboard operation
beerplop copied to clipboard

Mouse Lockout

Open LucidCrux opened this issue 5 years ago • 4 comments

Using a small window with beer glass and building list side-by-side (haven't tested larger/smaller), when closing the special buildings or factory tab/overlay, it is sometimes possible be locked out of mouse interaction, requiring a refresh of the page. It seems to be behaving almost like an overlay is still present and 'blocking' input to lower objects. I don't have a reliable way to reproduce the bug, and it seems to be pretty random. Possibly from clicking too fast?

LucidCrux avatar Dec 04 '19 00:12 LucidCrux

In which browser does the issue occur? I tried to reproduce it in Firefox 70.0.1, Chrome 78.0.3904.108 and in Edge 44.18362.449.0 without reproducing it once (opened/closed overlays for a while)

wol-soft avatar Dec 05 '19 10:12 wol-soft

I'm in firefox 70.0. Like I said, it seems super random. The reason I was thinking fast clicks is because I had a mouse issue with left button, resulting in lots of unintended rapid clicks. Sometimes I would get locked 15 minutes after a refresh, other times I could play for half the day before it happened.

I switched mice now, and am taking a small break from the game, but if it happens again when I resume play, is there some thing that comes to mind that I should look for? (I haven't dug into this code at all and am totally unfamiliar with the backend used.) Might give me a place to investigate a little bit and see if I can help pinpoint the cause.

It's far from a game killer, at any rate. Only mentioned it because I was here doing issues anyway.

LucidCrux avatar Dec 06 '19 04:12 LucidCrux

I don't really know how to investigate the bug. Are you familiar with the browser development tools? You could have a look with them at the DOM when the issue occurs again. You could check if a DIV or something similar acts as a transparent overlay and collects all mouse events so the other input elements are blocked as you describe in your initial report.

Maybe there is a class on the DIV or something else which isn't cleared properly in combination with fast clicks. Currently I really don't know as I can't reproduce it no matter how often I open and close the overlay (even tried to open/close it very fast by triggering clicks by code without delay, so faster isn't possible).

wol-soft avatar Dec 22 '19 13:12 wol-soft

For me, this bug is when I click too fast but accidentally click the factory's production thing and it causes it to open at a speed but when I close it locks my mouse out of the game so the only thing I can do is click the buff beer bottles or use tab to shift around the page but at some times I cant refresh because I cant always use wifi so it's pretty annoying at times. So I assume its from opening a certain production tab too fast or something like that

luciferakathedevil avatar Dec 19 '21 02:12 luciferakathedevil