Page Switch Problem

I’m running into a problem and can’t figure out the error.
In the preset below, the Algorithm fader (top left) controls the pages via Lua.
When I scroll through the algorithms, everything freezes during the page change, and I have to restart the E1.

I will try to replicate it. By “scrolling” you mean changing the pages by using the knob or swiping the list in that bigger detail window with the list values?

EDIT: I was able to replicate the issue.

As a quick workaround I added a timer with a counter.
The fader sets only a target value, and the timer applies it with a short delay.
This prevents the controller from freezing during fast page changes.

The issue is caused by the fact that you fire the page change 6 times in the same time. Each list control on all pages will execute the Lua function because they share the same virtual parameter. I am trying to find out why - it should be safe to execute the functions in parallel.

I like the simplicity of your original solution but it has this drawback…

Thanks for clarifying. I didn’t realize that this was firing the Lua function in parallel. In the original preset, this fader also triggers a lot of other functions.

I also tried your example with the use of hidden pages as pools of controls to avoid this, but I still ran into the same issue. I’ll make a reduced test version and post it later.

I also tested this preset and observed the same issue. Maybe as a workaround I could add a buffer that checks whether 0–5 is already loaded instead of using a timer.