Skip to content
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

Open
LucidCrux opened this issue Dec 4, 2019 · 4 comments
Open

Mouse Lockout #81

LucidCrux opened this issue Dec 4, 2019 · 4 comments
Labels
bug Something isn't working UI Somehing in the UI is broken

Comments

@LucidCrux
Copy link

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?

@wol-soft wol-soft added bug Something isn't working UI Somehing in the UI is broken labels Dec 4, 2019
@wol-soft
Copy link
Owner

wol-soft commented Dec 5, 2019

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 wol-soft added the Feedback Further information is requested label Dec 5, 2019
@LucidCrux
Copy link
Author

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.

@wol-soft wol-soft removed the Feedback Further information is requested label Dec 22, 2019
@wol-soft
Copy link
Owner

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).

@luciferakathedevil
Copy link

luciferakathedevil commented Dec 19, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working UI Somehing in the UI is broken
Projects
None yet
Development

No branches or pull requests

3 participants