stride3d / stride

Stride (formerly Xenko), a free and open-source cross-platform C# game engine.
https://stride3d.net
MIT License
6.62k stars 956 forks source link

Crash when docking tab side by side. #2470

Open DomeAlessi opened 1 month ago

DomeAlessi commented 1 month ago

Release Type: Official Release/GitHub (please choose appropriate option) Official Release 4.2.0.1 and Github

Platform(s): Does the problem occur on Windows, Android...? Windows 11

Describe the bug When trying to dock a tab window side by side the editor crashes. See attached gif.

To Reproduce Steps to reproduce the behavior:

  1. Grab a tabbed panel
  2. Try to dock it side by side with another panel by using the docking gizmo.

Expected behavior Editor should not crash and the panel should dock side by side with the selected one.

Screenshots StrideDockingCrash

Log and callstacks StrideDockingCrash.txt

Doprez commented 1 month ago

Interesting, mine does not seem to crash in Stride 4.2.0.2232.

With it seeming to be a crash with a Keyboard focus event in your logs, I wonder if it could be firing an event while the dock/tab is moving and inactive?

I do still have the blackout when trying to dock a scene though https://github.com/stride3d/stride/issues/2161 and it seems like the reference PR in that issue also could be related to inputs.

DomeAlessi commented 1 month ago

Hey thanks for checking this one for me.

I synced to the same official release now i am on 4.2.0.2232 but it still crashes. Try selecting the Graphic Compositor in the Asset View and double click it (top open the editor) so the 2 tabs MainScene and Graphics Compositor are side by side. Then undock Graphics Compositor and try to put it side by side with the MainScene.