Mysterious behavior using loopback to control widgets
Posted: Sun Feb 19, 2017 10:34 pm
This issue is reproducible on MacOS 10.11.6 and on Ubuntu MATE 16.04.1 LTS (I did not test on Windows), with QLC+ 4.10.4, 4.10.5b, and latest GIT source compiled today.
It is easiest to demonstrate through a very short (2-minute) screen capture video:
It seems that, when using an Input Profile that assigns DMX channels to buttons with extra presses, only on the first time going into Live mode after opening a .qxw, frame Enable controls which are assigned to those DMX channels trigger unexpectedly. The specific controls that are affected appear to be consistent between times the project is re-opened and put into Live mode on the same OS, but various factors seem to influence exactly which widgets are affected, including OS type, and whether any channels are "grabbed" by the Simple Desk.
Attached are all the files needed to reproduce the issue.
Note that, if I delete all of the Level mode faders for Universe 3 (the one with the loopback "fake" fixture), the issue goes away. (Of course, this also takes away the functionality I needed them for...) For now, I plan to work around this by using Playback mode faders instead of Level mode.
-------
(In case you're curious, there's a reason for this complex setup. I'm using a custom TouchOSC layout. Unfortunately, since OSC uses UDP, single-message controls like buttons and toggles are very unreliable on WiFi - perhaps 5-15% of the time these messages are being dropped on my network, which makes TouchOSC and my QLC+ Virtual Console go out of sync. So I am working around this by using only faders within TouchOSC instead of buttons, because faders always send out multiple messages whenever they are touched. I have my layout set with the custom controls to send values between 0 and 0.004 = DMX values 0 to 1.)
It is easiest to demonstrate through a very short (2-minute) screen capture video:
It seems that, when using an Input Profile that assigns DMX channels to buttons with extra presses, only on the first time going into Live mode after opening a .qxw, frame Enable controls which are assigned to those DMX channels trigger unexpectedly. The specific controls that are affected appear to be consistent between times the project is re-opened and put into Live mode on the same OS, but various factors seem to influence exactly which widgets are affected, including OS type, and whether any channels are "grabbed" by the Simple Desk.
Attached are all the files needed to reproduce the issue.
Note that, if I delete all of the Level mode faders for Universe 3 (the one with the loopback "fake" fixture), the issue goes away. (Of course, this also takes away the functionality I needed them for...) For now, I plan to work around this by using Playback mode faders instead of Level mode.
-------
(In case you're curious, there's a reason for this complex setup. I'm using a custom TouchOSC layout. Unfortunately, since OSC uses UDP, single-message controls like buttons and toggles are very unreliable on WiFi - perhaps 5-15% of the time these messages are being dropped on my network, which makes TouchOSC and my QLC+ Virtual Console go out of sync. So I am working around this by using only faders within TouchOSC instead of buttons, because faders always send out multiple messages whenever they are touched. I have my layout set with the custom controls to send values between 0 and 0.004 = DMX values 0 to 1.)