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

ProjectSetting set "display/window/size/resizable" does not take effect #84876

Closed
crasy1 opened this issue Nov 14, 2023 · 3 comments · Fixed by #84886
Closed

ProjectSetting set "display/window/size/resizable" does not take effect #84876

crasy1 opened this issue Nov 14, 2023 · 3 comments · Fixed by #84886

Comments

@crasy1
Copy link
Contributor

crasy1 commented Nov 14, 2023

Godot version

Godot v4.2.beta.mono (fee6df7)

System information

Godot v4.2.beta.mono (fee6df7) - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Laptop GPU (NVIDIA; 31.0.15.3713) - 12th Gen Intel(R) Core(TM) i7-12700H (20 Threads)

Issue description

ProjectSetting set "display/window/size/resizable" does not take effect

Steps to reproduce

1.set display/window/size/resizable=true in editor
2.call ProjectSettings.SetSetting("display/window/size/resizable",false) in script
3.Window can still be resized

Minimal reproduction project

"N/A"

@AThousandShips
Copy link
Member

AThousandShips commented Nov 14, 2023

Most project settings are not read when the program is running, only when it starts, you need to set this on the window directly when the project is running

@crasy1
Copy link
Contributor Author

crasy1 commented Nov 14, 2023

I feel that it's important to flag settings that can't be modified during gameplay.

@AThousandShips
Copy link
Member

AThousandShips commented Nov 14, 2023

Most of them work that way, but it should be more clear in the documentation

See also:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants