-
Notifications
You must be signed in to change notification settings - Fork 365
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
bug: client crashes when you attempt to login too fast #2255
Comments
@WeylonSantana I'm going to need a video for this, I am not fully understanding what's going on. How can you click the login button if the screen is black and you can't see it...? Also, it should not be clickable in that case, we shouldn't have to fix this in the Login window's code. |
explorer_GieW8PtrJS.mp4The easiest way to reproduce is to keep clicking when the server starts When I reported the bug I was able to do it by clicking on the position of the login button even when it was on the black screen, with the server offline if i remember correctly, probably before I refactored the file the button did not start disabled and then I must have set it to start disabled, I was not able to reproduce the bug now in the way reported above, now the way to reproduce is with the client already open when the server turns on, before the configuration is sent. |
Description
the client crashes when you open the client and keep pressing the login button, when it is on the black screen waiting for the gui to appear
Steps to Reproduce
Version with bug
Current
Last version that worked well
Unknown
Affected platforms
Windows
Did you find any workaround?
The problem is in Options.Instance in the LoginWindow's Show() method, which is still null, when the player (extremely impatient by the way) keeps clicking the login button before everything is loaded, for now I leave this workaround
An effective solution to avoid this type of happening anywhere else is to release the buttons only when Options.Instance is not null, or only fade in after you have successfully loaded Options
Relevant log output
Duplicate Bug Check
The text was updated successfully, but these errors were encountered: