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
Describe the bug
TypeError is thrown when trying to move a slider constrained to be between 0 and 1 with float values
Expected behavior
no TypeError
Steps to Reproduce
if you create a slider with a min value of 0 and a max of 1 with 101 steps, link it to some channel and try to grab it by holding the left mouse button and moving the mouse you get this error
Possible Solution
mouseMoveEvent uses QSlider's setValue method to set the value of the slider. I believe this has to be switched to PyDM's Value method
The text was updated successfully, but these errors were encountered:
YektaY
changed the title
BUG: PyDMSlider throws a TypeError when using floats and the handled is dragged
BUG: PyDMSlider throws a TypeError when using floats and the handle is dragged
Nov 13, 2024
Describe the bug
TypeError is thrown when trying to move a slider constrained to be between 0 and 1 with float values
Expected behavior
no TypeError
Steps to Reproduce
if you create a slider with a min value of 0 and a max of 1 with 101 steps, link it to some channel and try to grab it by holding the left mouse button and moving the mouse you get this error
Possible Solution
mouseMoveEvent uses QSlider's setValue method to set the value of the slider. I believe this has to be switched to PyDM's Value method
The text was updated successfully, but these errors were encountered: