You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The slider value and the corresponding value label do not match if
the value set by using SetValue(int) is outside the slider's range
the range is modified so that the actual value is afterwards outside the range
The bug can be seen when using the widgets sample code and selecting the slider control page.Entering a minimum value of 10 for the slider's range while the actual value is 0 leads to the situation that the slider is positioned at 10 while the label still shows the old value 0.
PS: Calling GetValue() will return 10.
PPS: The value itself is always adjusted so that it is within the slider's range.
Platform and version information
wxWidgets version you use: latest master built
wxWidgets port you use: macOS 14.4.1
The text was updated successfully, but these errors were encountered:
hwiesmann
pushed a commit
to hwiesmann/wxWidgets
that referenced
this issue
May 17, 2024
The label and value could become different when an attempt to set a
value out of slider range was made.
Make sure that the label always corresponds to the actual value.
See wxWidgets#24539, wxWidgets#24540.
(cherry picked from commit ca2a336)
Description
The slider value and the corresponding value label do not match if
The bug can be seen when using the widgets sample code and selecting the slider control page.Entering a minimum value of 10 for the slider's range while the actual value is 0 leads to the situation that the slider is positioned at 10 while the label still shows the old value 0.
PS: Calling GetValue() will return 10.
PPS: The value itself is always adjusted so that it is within the slider's range.
Platform and version information
The text was updated successfully, but these errors were encountered: