Skip to main content
megamau
Inspiring
June 28, 2022
Answered

Scrollbar not updating

  • June 28, 2022
  • 1 reply
  • 981 views

The scrollbar for the effect controls panel does not update when I unhide some parameters.
So I have a checkbox parameter that unhides a group with a bunch of parameters inside. Once the group is unhidden and is shown expanded, I get a big list of parameters. The scrollbar however does not update accordingly, so I can't see all of the recently unhidden parameters.

This looks like a bug in AE, but is there any way to update the panel somehow so the size of the panel gets revaluated and the scroll updated?

This topic has been closed for replies.
Correct answer megamau

not that i know of. how about PF_RefreshAllWindows?


So... I found out I had this PF_ParamFlag_SKIP_REVEAL_WHEN_UNHIDDEN set to all my groups... I know I added this to fix some other issue, but I don't remember what exactly.

Removing it, fixed teh scroll problem.

1 reply

Community Expert
June 28, 2022

It is indeed an AE bug. pehaps if you set the twirly state of some param or your entire effect up and down it would force a refresh of the scroll bar? (just hypothesizing here...)

megamau
megamauAuthor
Inspiring
June 28, 2022

There is a fix for this I didn't mention because it introduces a different bug. If I call PF_UpdateParamUI right after unhiding the parameter, it will fix the scroll. However, the side effect is that any parameter that I unhide (if already visible), will expand to its "slider" mode.

 

I tried to fix the unwanted expansion by not changing the hidden stream flag if the parameter was already visible, but if I do this, the PF_UpdateParamUI has no effect on the scrollbar. 

 

I tried all the options of twirly and collapsed flags and found no way to fix these to issues at the same time...

Community Expert
June 28, 2022

another guess:
if you hide and then unhide some parameter down the list, AE should scroll to it in the ECW. perhaps that would force the slider to appear?