Monitoring button behavior when pressed
Posted: Sat Aug 26, 2017 11:11 am
Hey guys,
in this thread there was a discussion about the behavior of buttons in solo frames. After this change (or a subsequent one) I noticed the following change in behavior from previous versions:
Assume you have a button and a slider, both controlling the same scene (see workspace file for example).
If you want to recover the old behavior I would suggest changing line 679 in vcbutton.cpp to:
(just tested the restoration of old behavior, not various usage cases with solo frames)
Tested with latest sources on Xubuntu 14.04 64Bit Qt5.
Regards,
siegmund
in this thread there was a discussion about the behavior of buttons in solo frames. After this change (or a subsequent one) I noticed the following change in behavior from previous versions:
Assume you have a button and a slider, both controlling the same scene (see workspace file for example).
- Move the slider upwards, the button turns yellow
- Click the button. Old behavior: The scene gets deactivated. New behavior: The scene gets activated at full intensity (and the button turns green)
If you want to recover the old behavior I would suggest changing line 679 in vcbutton.cpp to:
Code: Select all
if ((state() == Active || state() == Monitoring) && !(isChildOfSoloFrame() && f->startedAsChild()))
Tested with latest sources on Xubuntu 14.04 64Bit Qt5.
Regards,
siegmund