Issue with default Slider since Juce 5

gui

#1

Since JUCE 5 the default slider looks weird to me when selecting “text box above” in the Projucer:

slider_styleV4

Using the old LookAndFeel_V3() instead of the default LookAndFeel_V4() makes the slider look the way it should, I guess:

slider_styleV3

Am I misunderstanding something about the slider, since no one has mentioned this before?


#2

Hmmm this seems very odd to me. No one has reported something like this before. Any special transformations that your code may be using?


#3

Nothing special I’m aware of. And this can also be seen in the GUI editor of the Projucer, so my code shouldn’t matter I guess. Simply creating such a slider in the GUI editor leads to this:


#4

OK, wow! This is indeed a bug. Not sure how this went unnoticed for so long. I’ll have a look…


#5

Thanks for reporting. This is now fixed on develop with commit da30211.


#6

Thanks!