-
Notifications
You must be signed in to change notification settings - Fork 60
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
Unclickable fatal error message (Windows) #1324
Comments
An easy way to produce the error is to pass |
Ah yes I reproduced it last time I tried Windows but forgot to report it! Clicking the icon in the taskbar brings the fullscreen game up but cycling to the error message brings the fullscreen game down and the error messages goes down with it… 🙃️ We may also have to check if such bad behavior happens on GNOME when modal attachment is enabled (I always disable this bad feature because of this kind of bad behavior with all apps). |
This started happening sometime this year, at the start of the year it was still working fine. I haven't seen black screen with it, rather just the window getting minimised and mouse position being reset to the top left of the screen when trying to click on it. |
This may even be something having changed in SDL2 or in Windows. |
0.54.1 still works fine in this regard, so I don't think it's an OS change. |
Never mind just forgot to set |
There may be a way to fix the focusing issue, but I believe a better solution would be to entirely destroy the game window on |
Not really. Sys::Error is used for things like segfaults so we don't want to do a lot of stuff. If it turns out this bug can only happen in a narrow window of the loading phase, maybe we could reduce that window by doing a miminal initialization of the cgame (like just the CGAME_STATIC_INIT call) before starting the renderer. |
I've found this: libsdl-org/SDL#5371, maybe that's the reason? |
Yeah that seems to be it. Maybe after the release I'll update all the external_deps and see if that fixes it. |
When I got an error starting the cgame VM on startup (
Error during initialization: VM: Could not create child process: Access is denied
), the fatal error dialog box was created "in" the full-screen window (where nothing was drawn yet). The full-screen window was not yet focused, so the dialog was initially not visible. By clicking on Unvanquished in the taskbar it was possible to focus the window and see the dialog drawn over a black screen, but it was not possible to interact with it using mouse or keyboard. Normal methods for closing also do not work during the fatal error dialog, so it had to be closed using the Task Manager. This is on Windows 10.The text was updated successfully, but these errors were encountered: