Slider with not positive min value slightly fluctuates after decreasing min value
We've been looking for this issue before we post it, but unfortunately, we haven't found any discussion about it.
Apparently, this is an issue with any slider when the min-value is not positive (either zero or lesser).
Value slightly fluctuates between min-value and an epsilon-near min value.
We have tested it in a clean WPF Windows environment. The bug does not happen.
We haven't tested it with Noesis neither in Unity, Unreal, C++...
We have isolated a minimum scenario where the bug reproduces.
Steps To Reproduce:
1. Press "Decrease value" button once. (value goes from 1 to 0).
2. Press "Decrease value" button again.
Expected Result:
- Value keeps in 0.
Actual Result:
- Value goes to 3.8e-44 (almost 0).
- Whenever you press again the button twice, value toggles from 0 to 3.8e-44.
This very behaviour is not happening with "Increase value" button. It properly keeps at max value.
Apparently, this is an issue with any slider when the min-value is not positive (either zero or lesser).
Value slightly fluctuates between min-value and an epsilon-near min value.
We have tested it in a clean WPF Windows environment. The bug does not happen.
We haven't tested it with Noesis neither in Unity, Unreal, C++...
We have isolated a minimum scenario where the bug reproduces.
Steps To Reproduce:
1. Press "Decrease value" button once. (value goes from 1 to 0).
2. Press "Decrease value" button again.
Expected Result:
- Value keeps in 0.
Actual Result:
- Value goes to 3.8e-44 (almost 0).
- Whenever you press again the button twice, value toggles from 0 to 3.8e-44.
This very behaviour is not happening with "Increase value" button. It properly keeps at max value.
-
sfernandez
Site Admin
- Posts: 3106
- Joined:
Re: Slider with not positive min value slightly fluctuates after decreasing min value
This is clearly a bug in the Slider logic, could you please report it in our bugtracker?
-
sfernandez
Site Admin
- Posts: 3106
- Joined:
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 3 guests