Redot-Engine / redot-engine

Redot Engine – Multi-platform 2D and 3D game engine
https://redotengine.org/
MIT License
4.68k stars 205 forks source link

Creating a folder displays "res://" as the parent #666

Closed StudioSyndiCatCaius closed 3 weeks ago

StudioSyndiCatCaius commented 3 weeks ago

Tested versions

4.4 Beta

System information

Win 11 - 4.4 Beta - Forward+

Issue description

When I add a new folder to my project, it displays it as a child folder of "res://", even though the folder heirarchy in WIn explorer is correct. Seems to correct itself when minimizing and re-maximizing the editor. So on some refresh event? 5b70a36a3820d9a90d48669c2f6ed770

Steps to reproduce

Just try adding a new folder or subfolder.

Minimal reproduction project (MRP)

The project might not help, since it isn't actually creating the "res://" folder, only saying it has. test3d_error.zip

AlchemicRaker commented 3 weeks ago

I was able to recreate this issue on Windows. The hierarchy in the FIleSystem treeview is borked, but clicking away and then reforcusing the redot engine window is enough to prompt the treeview to refresh and correct itself.

Steps to Recreate on Windows 11, in redot 4.4.dev.custom_build [5e7e5fc60]:

  1. in a new project, create a folder "Foo" under "res://". This folder appears correctly.
  2. within the folder "Foo", create a new folder "Bar". Bar will appear with the path: "res://", "Foo", "res://", "Bar".
  3. alt-tab to some other program, and then alt-tab back to redot. The treeview will correct itself, fixing the path to "res://", "Foo", "Bar"

This error does not occur when creating new folders directly within the top-level "res://", only within its descendants.

image

SkogiB commented 3 weeks ago

This one may be fixed by merging in upstream commits on Godot master, we'll see how we're looking once we're caught back up, hang tight

valkyrienyanko commented 3 weeks ago

I was also able to reproduce this issue on Windows 11 Redot v4.4.dev.mono.gh [1c7d7fa8d]

SkogiB commented 3 weeks ago

I was also able to reproduce this issue on Windows 11 Redot v4.4.dev.mono.gh [1c7d7fa]

We've determined that this was indeed a bug caused by Godot's dev build, not by us, so we're going to close it as we expect them to fix it upstream