Skip to content

uiSlider bug: Maximum value not reached when Minimum value negative  #650

@mtarenskeen

Description

@mtarenskeen

When I create a uiSlider (rotary, linear bar, inc/dec button) and set Minimum value to a negative value (for example -99) and the maximum value to a positive value (for example 99) the maximum can not the be reached by moving the slider/knob/incdec.
It will only go from -99 to +98.

I am running Ctrlr 5.7.1, built myself from GIT sources, on Linux Fedora 40. Also tried pre-built recent Ctrlr versions on Windows, same issue.
Older "stable" version 5.3.201 on Windows does not have this issue. (Ctrlr Version 5.3.201 has become unusable on my Linux Fedora (mouseclicks not responding) but that's a totally different issue, not releated to the bug I am reporting here)

There is a workaround for this issue: Setting the Maximum value to 99.0001 or 99.1 solves the problem.
The problem also does not arise when Minimum value=0. Only when Minimum value is a negative number.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions