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
Reproducible in: v4.3.beta2.official [b75f048] and earlier betas
Not Reproducible in: v4.2.2.stable.official [15073af] and earlier 4.2
System information
Windows 11 - Forward +
Issue description
Containers will correctly resize to fit their contents when in the editor and the first time they are made visible while the application is running. However, if the container is hidden, and then shown again, the container will shrink and not resize properly when shown again. This is easiest to see with panel containers.
Steps to reproduce
Create a control scene and add a script to this node
Add a panel container, a grid container as a child, and buttons as children to the grid container
Add a button as the child of the root control node, link its pressed signal to the root script
Have the button's signal turn the panel container's visibility on and off
Observe that the panel container does not consider its child contents when it determines its size after being shown again
I can change the other containers too, but should it be SortableVisbilityMode::VISIBLE or SortableVisbilityMode::IGNORE? I used VISIBLE to fix the grids, but going through the others I see some use IGNORE.
I can change the other containers too, but should it be SortableVisbilityMode::VISIBLE or SortableVisbilityMode::IGNORE? I used VISIBLE to fix the grids, but going through the others I see some use IGNORE.
I think they should use VISIBLE in the minimum size checks so that it matches behavior from before #91613
Tested versions
System information
Windows 11 - Forward +
Issue description
Containers will correctly resize to fit their contents when in the editor and the first time they are made visible while the application is running. However, if the container is hidden, and then shown again, the container will shrink and not resize properly when shown again. This is easiest to see with panel containers.
Steps to reproduce
Minimal reproduction project (MRP)
container-visibility.zip
The text was updated successfully, but these errors were encountered: