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
MacOS Ventura - Apple M2 Max - Metal 3 - Compatibility Renderer
Issue description
There are serious problems with changing window mode through DisplayServer's window_set_mode function.
window_mode_issue.movwindow_mode_test_1.mov
There are several cases of unexpected behavior. More in steps to reproduce.
Steps to reproduce
Test 1:
Window -> Maximized -> Window CORRECT
Test 2:
Window -> Maximized -> Fullscreen
The window behaves oddly between Maxmized -> Fullscreen mode change. It looks like it's going to window mode between maximized and fullscreen. INCORRECT
Test 3:
Window -> Maximized -> Exclusive Fullscreen
Same as Test 2. INCORRECT
Test 3:
Window -> Maximized -> Fullscreen -> Window
Window has correct size. CORRECT
Test 4:
Window -> Fullscreen -> Exclusive Fullscreen
Instead of going from Fullscreen to Exclusive Fullscreen it goes back to Window. INCORRECT
Test 5:
Window -> Fullscreen -> Exclusive Fullscreen -> Window
Then after changing to Window, it goes to fullscreen INCORRECT
Test 6:
Window -> Fullscreen -> Exclusive Fullscreen -> Window -> Exclusive Fullscreen
Then after changing to Fullscreen it goes back to window. INCORRECT
Pretty trivial fix. I'm assuming the same logic error exists for Mac as well (else if (p_mode == WINDOW_MODE_WINDOWED) just needs the else removed), but I don't have a mac to build and test on. If any mac devs want to make a contribution, this should be an easy one! :)
I'm assuming the same logic error exists for Mac as well (else if (p_mode == WINDOW_MODE_WINDOWED) just needs the else removed)
This will break switching maximize → fullscreen → window switch (macOS do not have real maximized state, so exiting full-screen will return it to previous window size).
Godot version
4.1.1.stable, 4.1.2.stable
System information
MacOS Ventura - Apple M2 Max - Metal 3 - Compatibility Renderer
Issue description
There are serious problems with changing window mode through
DisplayServer
'swindow_set_mode
function.window_mode_issue.mov
window_mode_test_1.mov
There are several cases of unexpected behavior. More in
steps to reproduce
.Steps to reproduce
Test 1:
Window -> Maximized -> Window
CORRECT
Test 2:
Window -> Maximized -> Fullscreen
The window behaves oddly between Maxmized -> Fullscreen mode change. It looks like it's going to window mode between maximized and fullscreen.
INCORRECT
Test 3:
Window -> Maximized -> Exclusive Fullscreen
Same as Test 2.
INCORRECT
Test 3:
Window -> Maximized -> Fullscreen -> Window
Window has correct size.
CORRECT
Test 4:
Window -> Fullscreen -> Exclusive Fullscreen
Instead of going from Fullscreen to Exclusive Fullscreen it goes back to Window.
INCORRECT
Test 5:
Window -> Fullscreen -> Exclusive Fullscreen -> Window
Then after changing to Window, it goes to fullscreen
INCORRECT
Test 6:
Window -> Fullscreen -> Exclusive Fullscreen -> Window -> Exclusive Fullscreen
Then after changing to Fullscreen it goes back to window.
INCORRECT
Minimal reproduction project
window_mode_issue.zip
The text was updated successfully, but these errors were encountered: