Page 1 of 1

Changes to Upper and Lower Limits on VC sliders won't stick

Posted: Wed Jul 09, 2014 8:15 pm
by Jose Paris
Hi,

Just installed 4.7.3 and found that when I add a NEW slider to virtual console and set it to work by levels, the first time I set the upper and lower limits it'll stick and take that values but, if you wish to change the values the slider sticks to the old ones. The workaround is to delete the slider, make a new one and set the values again.

Changes to Upper and Lower Limits on VC sliders won't stick

Posted: Thu Jul 10, 2014 8:07 am
by david garyga
Hi,
Thanks for reporting :-)

OK, I got it.
Steps to reproduce:
- create a slider
- open the slider properties
- set low limit to 50
- close the slider properties
-> slider low limit is 50
- reopen the slider properties
- set low limit to 10
- close the slider properties
-> slider low limit is still 50



Massimo, here's a really quick fix :
vcsliderproperties.cpp
line 855
remove the "if mode has changed" line

(the code to change the slider range is in VCSlider::setSliderMode())

I don't know if it is the best way to fix this bug, but it does the job.

Changes to Upper and Lower Limits on VC sliders won't stick

Posted: Tue Jul 15, 2014 3:27 pm
by david garyga