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

Window::unresizable property is not respected in embedded mode (DisplayServer) #56869

Closed
stijn-h opened this issue Jan 17, 2022 · 0 comments · Fixed by #56874
Closed

Window::unresizable property is not respected in embedded mode (DisplayServer) #56869

stijn-h opened this issue Jan 17, 2022 · 0 comments · Fixed by #56874
Milestone

Comments

@stijn-h
Copy link
Contributor

stijn-h commented Jan 17, 2022

Godot version

8958e1b

System information

W10

Issue description

Setting the window unresizeable flag does not seem to have an effect if the window is in embedded (single window) mode.

Tested it in the editor with a window node as well as in the editor with

set_flag(Window::Flags::FLAG_RESIZE_DISABLED, true);

In both cases the flag is set, but not respected as the user is able to resize regardless of the flag. Setting the flag to false also doesn't have the opposite effect, so it is probably ignored in embedded mode.

Related tracker: #37734

Steps to reproduce

  • Create Window node
  • Tick Unresizable under Flags
  • Run scene and try to resize window

Minimal reproduction project

No response

@Calinou Calinou added this to the 4.0 milestone Jan 17, 2022
@Calinou Calinou changed the title Window::unresizable property is not respected in embedded mode Window::unresizable property is not respected in embedded mode (DisplayServer) Jan 17, 2022
MarioLiebisch added a commit to MarioLiebisch/godot that referenced this issue Jan 17, 2022
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.

2 participants