-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mouse Lockout #81
Comments
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) |
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. |
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). |
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 |
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?
The text was updated successfully, but these errors were encountered: