qlcplus icon indicating copy to clipboard operation
qlcplus copied to clipboard

Channel gets stuck

Open Loewe111 opened this issue 6 months ago • 3 comments
trafficstars

Describe the bug I dont really know what exactly it is that is causing the issue. I have a Scene that turns on a Dimmer, i have a Chaser "Flash" in single mode that turns on that Scene for a short time and and fades it out for some time. I then have another Chaser "Repeated Flash" that calls that "Flash" Chaser repeatedly. When the "Repeated Flash" is combined with a submaster in the virtual console, the duration of the "Repeated Flash" is less than the total duration or fadeout time (im not sure which) of the "Flash" Chaser and I move the submaster the Dimmer value gets stuck and i can only apply higher values and reset only with restarting QLC+.

Screenshots

https://github.com/user-attachments/assets/db378d34-e336-4ed1-9d84-466f5cb73f24

issue_sample.qxw.txt

Desktop (please complete the following information):

  • OS: Windows
  • QLC+ Version 4.14.1

Loewe111 avatar May 18 '25 17:05 Loewe111

Thanks for your excellent bug report with video.

I have been able to reproduce the issue using Ubuntu 24.04.2 LTS.

Hopefully one of the devs can give us some insight.

yestalgia avatar May 19 '25 07:05 yestalgia

Oh so that's what I stumbled upon while trying to reproduce behaviours in the fade-out regression topic ( #1736 ). I wasn't able to figure out what caused it, so now I know.

Also tested it in the version where the fade-out regression was fixed, this is still an issue.

DrFreas avatar May 19 '25 16:05 DrFreas

To add to this, the issue doesn’t only appear with the dimmer but also with the color channels. Here’s my example:

  • Create a color scene

  • Create a chaser and/or sequence using common channels

  • In the virtual console, create a frame with the scenes and another frame with the chaser/sequence + a frame dimmer

  • When you adjust the intensity of the chaser/sequence and then disable the sequences, there is a residue left on the color channels. This residue can only be cleared by restarting QLC.

Here is my configuration file and a video illustrating the issue.

https://github.com/user-attachments/assets/066e12fe-2409-4321-8ed1-f3f80923a178

bugResetColor.qxw.txt

Desktop : OS: Windows QLC+ Version 4.14.1

LorisMercier avatar Jun 02 '25 19:06 LorisMercier

I have made a potential fix for these cases. Can you please test the latest build from GitHub? Thanks

mcallegari avatar Jun 24 '25 08:06 mcallegari

Tried it, sadly the same issue is still there.

Loewe111 avatar Jun 24 '25 10:06 Loewe111

After trying some more i figured out that when this issue exists, QLC repeatedly writes [Universe] HTP check not passed into the Debug Log, even when everything is off and if qlc is in edit mode. Meaning that something is still calling Universe::write or Universe::writeBlended in /engine/src/universe.cpp https://github.com/mcallegari/qlcplus/blob/c410657e576da2e8ec3f9ea963ac5b76d6bbce8b/engine/src/universe.cpp#L924-L937

Loewe111 avatar Jun 24 '25 11:06 Loewe111

OK, I think I found it. Can you guys please test the latest build? Thanks

mcallegari avatar Jun 24 '25 15:06 mcallegari

This fixed it, Thanks!

Loewe111 avatar Jun 24 '25 15:06 Loewe111