-
-
Notifications
You must be signed in to change notification settings - Fork 21.1k
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
Fullscreen plus display resolution changes cause frozen fullscreen view #55280
Comments
If your game supports fullscreen resolution, it should most likely support window resizing anyway. Therefore, I'd just allow resizing the window. It makes life more convenient for everyone 🙂 |
Unfortunately, I'm developing pixel-perfect games, so I can't allow arbitrary window resizing or it'll be too easy to get the window in a state where the pixel art looks janky. |
You can use an add-on such as https://github.com/Yukitty/godot-addon-integer_resolution_handler to enforce integer scaling. |
Can confirm this in 3.5 beta. Not personally, but some players reported this issue in our game. |
This may be due to the same cause as #60665. |
Godot version
3.4.stable.official
System information
Windows 10, NVIDIA GeForce RTX 2060 (496.49), GLES3
Issue description
When running Godot with window resizing disabled, setting window size to the current display's resolution and toggling fullscreen on/off results in a fullscreen view that can't be interacted with.
Steps to reproduce
When running Godot with window resizing disabled (
Project Settings -> Display -> Window -> Resizable
), ifOS.window_size
is set to the current display's resolution (aka the window the app is currently in), and thenOS.window_fullscreen
is toggled on and off, the app shows a fullscreen view that can't be interacted with. If your game window was partially on a different window, then you are able to interact with that window, but the visual changes happen on the fullscreen view (which you still can't interact with directly).Note: I was not able to reproduce this issue when window resizing was enabled, only when it was disabled.
Also, if you try to take a screenshot of the issue, the fullscreen view disappears and you only see the windowed version, so I couldn't get a screenshot of this issue. :P
I found #25427, which may or may not be related, but did not see an open issue for this bug currently.
Minimal reproduction project
FullscreenFreeze.zip
The text was updated successfully, but these errors were encountered: