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
After changing the "Linux Display Server" in the "Project Settings" to "wayland" (Project Settings -> Display Server -> Driver.linuxbsd -> wayland), when changing the project resolution "in-game", in Windowed Mode, the project window doesn't resize and center automatically, contrary to the expected behavior when the "Linux Display Server" is set to "default" or "x11", as demonstrated below.
"Linux Display Server" set to "default":
MRPWaylandTestingDefault.mp4
"Linux Display Server" set to "wayland":
MRPWaylandTestingWayland.mp4
It does, however, adapt the project window size if changed manually, by dragging the window border.
As this seems to be an issue specifically with Wayland as the compositor, I include here my system information, obtained with fastfetch, to better help solve the issue:
Steps to reproduce
Change the "Linux Display Server" in the "Project Settings" to "Wayland" (Project Settings -> Display Server -> Driver.linuxbsd -> wayland)
Change resolution using get_window().set_size()
Repeat but with "Linux Display Server" set to "default" or "x11" (Project Settings -> Display Server -> Driver.linuxbsd -> default) to see expected behavior
The MRP included below has a simple option button to set different resolutions for better testing, as well as the background godot icon to help see the issue better.
Tested versions
System information
Godot v4.3.beta2 - EndeavourOS #1 SMP PREEMPT_DYNAMIC Fri, 05 Jul 2024 22:11:24 +0000 - Wayland - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (nvidia; 555.58.02) - AMD Ryzen 5 3600 6-Core Processor (12 Threads)
Issue description
After changing the "Linux Display Server" in the "Project Settings" to "wayland" (Project Settings -> Display Server -> Driver.linuxbsd -> wayland), when changing the project resolution "in-game", in Windowed Mode, the project window doesn't resize and center automatically, contrary to the expected behavior when the "Linux Display Server" is set to "default" or "x11", as demonstrated below.
"Linux Display Server" set to "default":
MRPWaylandTestingDefault.mp4
"Linux Display Server" set to "wayland":
MRPWaylandTestingWayland.mp4
It does, however, adapt the project window size if changed manually, by dragging the window border.
As this seems to be an issue specifically with Wayland as the compositor, I include here my system information, obtained with fastfetch, to better help solve the issue:
Steps to reproduce
The MRP included below has a simple option button to set different resolutions for better testing, as well as the background godot icon to help see the issue better.
Minimal reproduction project (MRP)
MRPWaylandTesting.zip
The text was updated successfully, but these errors were encountered: