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
When enabling the force_native flag in a Window node, this window becomes native in the editor: a new os window appears... force_native shouldn't take effect in the editor I think.
Additionally, the window correctly disappears when switching scenes but under some circumstances it can be leaked or the editor can crash:
Window duplication
In this clip, I repeatedly toggle the force_native flag and reload the scene.
setting the force_native flag to false and reloading the scene "disconnects" the window from the os window (the os window still hangs there):
notice how moving the os window changes its properties in the inspector (at 0:06 in the clip).
simplescreenrecorder-2024-03-19_09.04.19.mp4Crash
if the window node spawned an os window, and then had its force_native flag set to false, and then has its visibility toggled, the editor crashes (but changing position and size works fine).
simplescreenrecorder-2024-03-19_09.24.47.mp4
Steps to reproduce
add a Window node
enable its force_native flag and save and reload the scene
a new os window should spawn (which I believe is an issue)
additionally, if you now set the flag back to false and save and reload the scene, the window should still be here
Minimal reproduction project (MRP)
any
The text was updated successfully, but these errors were encountered:
mieldepoche
changed the title
Window.force_native forces windows to be native in the editorWindow.force_native forces edited scene's windows to be native in the editor
Mar 19, 2024
Tested versions
System information
linux
Issue description
When enabling the
force_native
flag in aWindow
node, this window becomes native in the editor: a new os window appears...force_native
shouldn't take effect in the editor I think.Additionally, the window correctly disappears when switching scenes but under some circumstances it can be leaked or the editor can crash:
Window duplication
In this clip, I repeatedly toggle the
force_native
flag and reload the scene.setting the
force_native
flag tofalse
and reloading the scene "disconnects" the window from the os window (the os window still hangs there):notice how moving the os window changes its properties in the inspector (at 0:06 in the clip).
simplescreenrecorder-2024-03-19_09.04.19.mp4
Crash
force_native
flag set tofalse
, and then has its visibility toggled, the editor crashes (but changing position and size works fine).simplescreenrecorder-2024-03-19_09.24.47.mp4
Steps to reproduce
Window
nodeforce_native
flag and save and reload the sceneMinimal reproduction project (MRP)
any
The text was updated successfully, but these errors were encountered: