HISE icon indicating copy to clipboard operation
HISE copied to clipboard

[Engine] fadeComponent method is inconsistent, sometimes instantly changing visibility

Open aaronventure opened this issue 2 years ago • 4 comments

fadeComponent has been demonstrating inconsistent behavior for a while now, with no apparent trigger.

Assigning components to two panels and then triggering fadeComponent on these panels back and forth results in the panel (and as such, the controls, too) instantly changing visibility instead of fading over the set period.

The panel visibility (and as such the displayed controls) should crossfade smoothly, but sometimes you'll notice a jump as the one fading out instantly goes invisible, more often than the one fading in instantly appearing.

The behavior manifests in HISE, in the Interface preview and in a compiled plugin on Win11. This was captured from the compiled VSTi on Win11, 0d0251e59052c121d1b12c686254fa7ba77d27f5

fadeComponent

aaronventure avatar Feb 15 '24 18:02 aaronventure

Sounds similar to issue reported here - https://forum.hise.audio/topic/6094/fadecomponent

davidhealey avatar Feb 15 '24 18:02 davidhealey

HISE is fighting me so much when trying to create a smooth, animated interface.

aaronventure avatar Feb 15 '24 18:02 aaronventure

Beyond a basic fade I don't go in much for animation so I don't have any tips here.

davidhealey avatar Feb 15 '24 18:02 davidhealey