V4.0 testing [was V3.7]

I will try and isolate / reproduce it - might take some time.

(Edited)
I have noticed maybe a related issue. After clicking the “Send To Electra” button on the Lua page from the browser app, the onPotTouch stops firing if the control specifically set to invisible

Steps:

  1. Try adding the fader visibility lines below to the pot touch test preset.
  2. Reset the E-1
  3. Press pot 0, the log line prints (with ControlId = 0)
  4. Press the “Send to Electra” button on the lua page
  5. Press pot 0, the log line does not print

But if you touch pots 4,5,6 etc, which do not have a control, they still fire onPotTouch with controlId = 0.

events.subscribe(PAGES | POTS)

 local fader = controls.get(1)
  fader:setVisible(false)


function events.onPotTouch(potId, controlId, touched)
  print ("potId: " .. potId .. ", controlId: " .. controlId .. ", touched: " .. (touched and "yes" or "no"))
end
12:48:59.242 ---- START ----
12:48:59.242 loadLuaModule: Lua extension file initialized: file=ctrlv2/slots/b00/p06/main.lua
12:48:59.242 ----- END -----
12:49:04.731 lua: potId: 0.0, controlId: 0.0, touched: yes
12:49:04.897 lua: potId: 0.0, controlId: 0.0, touched: no
12:49:05.292 lua: potId: 0.0, controlId: 0.0, touched: yes
12:49:05.456 lua: potId: 0.0, controlId: 0.0, touched: no
12:49:05.602 lua: potId: 0.0, controlId: 0.0, touched: yes
12:49:05.751 lua: potId: 0.0, controlId: 0.0, touched: no
12:49:12.193 lua: transport disabled
12:49:12.316 loadLua debug output:
12:49:12.317 ---- START ----
12:49:12.319 loadLuaModule: Lua extension file initialized: file=ctrlv2/slots/b00/p06/main.lua
12:49:12.320 ----- END -----
1 Like