magellanmapper
magellanmapper copied to clipboard
Sliders may shift unexpectedly during adjustments
The RangeEditor
slider controls may shift unexpectedly, such as suddenly decreasing to 0 when shifting only slightly downward, or shifting upward before shifting downward. Clicking on a new position may also bring the slider there, but releasing the mouse button will cause the slider to pop back to its original positions. A shift in one intensity control can cause a further unexpected shift in the other control since we attempt to synchronize them. For example, the max intensity slider cannot be below the min slider, so an unintentional shift in the max slider to 0 will also cause the min slider to shift to 0.
The shift during mouse release also occurs in other sliders, such as the ROI position sliders. Reproduced in the TraitsUI Range Editor demo (v.7.4.3, macOS 12.6.3, Python 3.8). It is possible that the other shifts are related to image adjustment callbacks.