godot
godot copied to clipboard
Highlight outline jumps around on toggle visibility with flexible layout
Tested versions
Reproducible in 4.3-stable
System information
Godot v4.3.stable - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - dedicated AMD Radeon RX 580 Series (RADV POLARIS10) - AMD Ryzen 7 7700X 8-Core Processor (16 Threads)
Issue description
When toggling the visibility of items in a flex layout, in a way that adjusts the size of the enveloping container, the outlines of the items (initially) appear in the wrong place
Steps to reproduce
Method A:
- Adjust the 2D editor so the 4 Buttons are centered and big enough to see
- shift+click all the buttons with text 'A'
- In the Inspector, toggle CanvasItem>Visibility>visible twice
Method B:
- Adjust the 2D editor so the 4 Buttons are centered and big enough to see
- in the scene tree select all the buttons in the HBoxContainer
- click the visibility icon twice