FIXED: Strange children alpha bug when animating parent Container opacity

Hi there,
I noticed something really strange today, I was animating the opacity parameter of a parent container to show or hide its children containers.
From the viewer of this parent container, everything looks fine, but if I go one level higher, the opacity animation looks broken.
It’s a bit hard to explain so I did a TOX demonstrating it.
opacity_alpha_issue_demo.tox (13.3 KB)
Are you able to reproduce this ?

I had the same results on both following systems:
Windows 11
2023.33600

Windows 10
2023.32660

1 Like

Hey @michelchrome

I’m able to reproduce.

This is logged for a developer to look into it.

Thanks for the report.

Best,
Michel

1 Like

This issue will be fixed in builds 2023.11679+

Best,
Michel

Hi Michel,
I hope you’re doing well, it seems that the issue is not fully resolved yet, please have a look at this updated demo.
Best,
opacity_alpha_issue_demo_comeback.tox (556.8 KB)

Hi @michelchrome

I’ve logged the additional file to be looked at with the developers.

Thanks for the report.

Best,
Michel

Hi @michelchrome
I found a workaround that solves this undesireable popping, I think…
Inside /opacity_alpha_issue_demo_thecomeback/container_GUI/page1 looking at add_element, this component is set Composite = Add
If you set this parameter back to the default ‘Over’ the animation works correctly. Any further fixes we have to make for ‘Add’ composite are something that would have to go into our next experimental version, so for now this would be the best solution for you.

Incidentally, I don’t think in this setup you would ever need the Opacity to be animated on both add_element and its parent, since they are animated by the same source. If there was a reason you added this, I’d be curious to hear.