stride icon indicating copy to clipboard operation
stride copied to clipboard

Crash when docking tab side by side.

Open DomeAlessi opened this issue 1 year ago • 2 comments

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

DomeAlessi avatar Sep 26 '24 01:09 DomeAlessi

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.

Doprez avatar Sep 26 '24 13:09 Doprez

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.

DomeAlessi avatar Sep 26 '24 15:09 DomeAlessi

Attempted this now, but I'm not getting any issues with moving/docking/undocking around the Graphics Compositor editor.

Though, undocking then docking the MainScene window will make it black.

Tested on the current master branch.

NicusorN5 avatar Dec 11 '24 18:12 NicusorN5

Hey thank you very much for checking this. That's an old issue, I just got 4.2.0.2267 and i am still able to repro. The tabs are exactly the ones in the image MainScene, GraphicCompositor and Page. If i undock the middle one (GraphicCompositor) and move it like in the image it will crash. Do you also have the Page tab opened?

DomeAlessi avatar Dec 11 '24 21:12 DomeAlessi

I doubt that having the PageUI editor opened could have meant anything.

NicusorN5 avatar Dec 11 '24 22:12 NicusorN5

Can you repro it like this?

https://github.com/user-attachments/assets/eaf8718d-2326-467a-ba3c-e6533f851d84

DomeAlessi avatar Dec 12 '24 03:12 DomeAlessi