Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
destruk
Streaming Star

Button and LabelList Node swapbuffers?

The first time my label list moves the selection box in the scenegraph app it was flickering the screen.
Just a note - it appears to flicker only once per channel execution, and it's always the first time.
The labellist was grouped with everything else on the screen for easier reference in the script for the component.
I fixed it by moving the labellist out of the group, and displaying it on top all by itself with translation for where it would be on the screen.  I'm sure it is still flickering, but it's not noticeable as it has a lot less to redraw this way for this instance.
The downside to this is it needs to be set visible/not visible, and focused separately another layer deep - but it works fine and that's the important thing.
I would suppose there are situations where you would want to redraw everything in the group, so I wouldn't necessarily consider this a bug, just my first instinct was if the list was changing it should know only to redraw the list unless told otherwise.
0 Kudos
Community is Temporarily in Read-Only Mode!

We’re upgrading Roku Community to bring you a faster, more mobile-friendly experience. You may notice limited functionality or read-only access during this time. You will not be able to log in or post new comments or kudos during this time. Read more here.

Planned Downtime:
Community will be unavailable for up to 24–48 hours during the upgrade window during the week of May 12 and you may notice reduced functionality. In the meantime, for additional assistance, visit our Support Site.

Thanks for your patience — we’re excited to share what’s next!