godot icon indicating copy to clipboard operation
godot copied to clipboard

Highlight outline jumps around on toggle visibility with flexible layout

Open leogott opened this issue 1 year ago • 0 comments

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:

  1. Adjust the 2D editor so the 4 Buttons are centered and big enough to see
  2. shift+click all the buttons with text 'A'
  3. In the Inspector, toggle CanvasItem>Visibility>visible twice

Method B:

  1. Adjust the 2D editor so the 4 Buttons are centered and big enough to see
  2. in the scene tree select all the buttons in the HBoxContainer
  3. click the visibility icon twice

Minimal reproduction project (MRP)

MWE.zip

leogott avatar Oct 01 '24 19:10 leogott