Overriding flash functionality
Posted: Fri Oct 20, 2023 9:41 am
Hello guys,
I have used QLC the last year for my personal usage, but I always wanted a flash button which really overrides the flash scene to the output.
Since other people also requested this feature in the forums, I decided to take some time and implement this functionality (https://www.qlcplus.org/forum/viewtopic.php?t=6871 and https://qlcplus.org/forum/viewtopic.php?t=14796).
Instead of just implementing this feature, I read in the forums that other users might not want this functionality.
Therefore, I implemented the possibility to activate this effect when the user wants to.
Two options were added:
So, please take a look into this PullRequest and leave your opinion about this implementation: https://github.com/mcallegari/qlcplus/pull/1462
For completion in this thread:
Massimo answer to PR:
I have used QLC the last year for my personal usage, but I always wanted a flash button which really overrides the flash scene to the output.
Since other people also requested this feature in the forums, I decided to take some time and implement this functionality (https://www.qlcplus.org/forum/viewtopic.php?t=6871 and https://qlcplus.org/forum/viewtopic.php?t=14796).
Instead of just implementing this feature, I read in the forums that other users might not want this functionality.
Therefore, I implemented the possibility to activate this effect when the user wants to.
Two options were added:
- Flash Override Priority - This adds a higher priority to the generic fader (Universe::Flashing). This priority is between Override and SimpleDesk. So, flash buttons will override sliders and also running chasers. We could also consider adding the possibility to choose the priority instead of toggling it to not override sliders but override running chasers.
- Flash Force LTP - This simply forces the flash scene channels to behave like LTP channels. This will override intensity channels also.
So, please take a look into this PullRequest and leave your opinion about this implementation: https://github.com/mcallegari/qlcplus/pull/1462
For completion in this thread:
Massimo answer to PR:
Wazzledi answer:Hi, thanks for this.
Here's my comments:
- can you please point me to the relevant discussions that led you to submit this PR?
- QLC+ does have a "central" place where to store settings (see all QSettings used) but they're not save into projects
- I need to know why this has to be a global setting rather than per-button one. As far as I know, flashing is needed only with buttons. I don't see a reason to use it elsewhere
- I'm not sure a new type of state is needed to stay before Simple Desk. A few years ago I added priorities to faders. Maybe that's enough to achieve priority flashing
Thanks
- in general, such big changes should be discussed (e.g. in the development section of the forum) before submitting a PR to save time to you to write an already approved code and to me so that I don't have to review ideas not discussed and without the proper knowledge of the code base
Hi,
- primarily, this was implemented due to personal needs and i thought it would be helpful for others. That's why I submitted a PR.
- Alright, i did not Knew the QSettings.
- This does not have to be a global setting. I also thought about adding the possibility to the button itself. But that would add a decision to the user, which does not exactly know what this is for. And if a user really needs this, he can easily activate it. For all other users it would stay the same, and they do not have to make any further decision. I can change this with pleasure. I thought, normally, this decision would be a decision for the whole show file and not for each button.
- I also don't think a new state is really needed. But what if later on in the development of QLC+ some functions also have the override priority set but should not override flash scenes. I just added it so that further implementation does not break this functionality. But yeah, the existing states would be enough to achieve this.
Thanks
- Of course. I literally forgot about the possibility to create a discussion in the forum and thought the discussion could be held here. I will add a forum discussion with pleasure if you want to.