Hi Jules
First post here. I have been tracking Juce from the sideline for quite some time and I like what I see. We are considering using your framework for a major project (and will of course buy a license for that), but as always I like to check things out on smaller pilot projects first. Which is what I am doing right now
I believe I found a bug in the Slider code:
The associated texbox does not update unless the slider value is actually changed. If, for instance, the slider is at one end (say max value 10.0) and an out-of-limit value (say 100) is typed into the textbox the text stays at what was entered.
The cause is quite easily spotted in Slider::setValue where the criterion for calling updateText() & repaint() is simply (currentValue != newValue).
The easy way to go would be to always update the text in response to a change. This would also take care of cleaning up the text after user entry and displaying the actual rounded slider value (after clipping to ‘interval’).
I don’t think there would be any performance penalty from this fix, but I may be wrong since I am not that familiar with the framework yet.
Best regards and thanks for your excellent work,
Niels Farver