You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exclusive full screen window mode. This mode is implemented on Windows only. On other platforms, it is equivalent to MODE_FULLSCREEN.
Only one window in exclusive full screen mode can be visible on a given screen at a time. If multiple windows are in exclusive full screen mode for the same screen, the last one being set to this mode takes precedence.
Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports multiple resolutions when enabling full screen mode.
A single window full screen mode. This mode has less overhead, but only one window can be open on a given screen at a time (opening a child window or application switching will trigger a full screen transition).
Full screen window cover the entire display area of a screen, have no border or decorations. Display video mode is not changed.
On Windows: Depending on video driver, full screen transition might cause screens to go black for a moment.
On macOS: Exclusive full screen mode prevents Dock and Menu from showing up when the mouse pointer is hovering the edge of the screen.
On Linux (X11): Exclusive full screen mode bypasses compositor.
Note: Regardless of the platform, enabling full screen will change the window size to match the monitor's size. Therefore, make sure your project supports multiple resolutions when enabling full screen mode
The enum in Window should be deprecated and the Window.mode should use the DisplayServer variants (that's how it works internally). Until then, its documentation could directly link to the corresponding ones in DisplayServer to ensure they stay in sync.
Steps to reproduce
Read documentation. 🗿
Minimal reproduction project
/
The text was updated successfully, but these errors were encountered:
Lielay9
changed the title
Conflicting information in Window.Mode and DisplayServer.WindowMode for exclusive mode
Conflicting information in Window.Mode and DisplayServer.WindowMode description for exclusive mode
Sep 23, 2023
There is currently a fresh PR open updating these: #82179. Feel free to give feedback.
As for the duplicate enums, it's common to do that, for example matching Mesh and RenderingServer enums. I find it a bit troublesome too, but too late to change now.
There is currently a fresh PR open updating these: #82179. Feel free to give feedback.
Quite the timing. Pull didn't exists yet when I noticed this in the morning.
but too late to change now.
Waiting for Godot 5 ™️. I still think linking to a single description could make sense to avoid future disparities. Then again, it does make the docs a little less ergonomic when reading the class with the "wrong" enum. 🤷
Godot version
v4.2.dev5.official [e3e2528]
System information
Godot v4.2.dev5 - Windows 10.0.22621 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4090 (NVIDIA; 31.0.15.3699) - AMD Ryzen 9 7950X 16-Core Processor (32 Threads)
Issue description
Documentation bug; relevant parts highlighted.
Window.Mode.MODE_EXCLUSIVE_FULLSCREEN
(Outdated):DisplayServer.WindowMode.MODE_EXCLUSIVE_FULLSCREEN
:The enum in
Window
should be deprecated and theWindow.mode
should use the DisplayServer variants (that's how it works internally). Until then, its documentation could directly link to the corresponding ones in DisplayServer to ensure they stay in sync.Steps to reproduce
Read documentation. 🗿
Minimal reproduction project
/
The text was updated successfully, but these errors were encountered: