Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: Addressed two bugs on the slider. Middle click to see PV name and click and drag on the slider handle #1115

Merged
merged 7 commits into from
Oct 8, 2024

Conversation

YektaY
Copy link
Collaborator

@YektaY YektaY commented Sep 26, 2024

This PR fixes two bugs with the PyDMSlider. The first was with middle clicking on the slider, which did nothing, indeed of the expected behavior of displaying the PV name. The second was that the Slider was unable to be dragged. Now if a user clicks then holds on the handle of the slider they are able to drag the slider.

…le of the slider to be able to drag it and the other to be able to middle click and see the PV name attached to the slider
@YektaY YektaY marked this pull request as draft September 27, 2024 21:11
@YektaY YektaY marked this pull request as ready for review September 27, 2024 22:38
Copy link
Collaborator

@nstelter-slac nstelter-slac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice patch, tried it out and working well on my end!

pydm/widgets/slider.py Outdated Show resolved Hide resolved
pydm/tests/widgets/test_slider.py Show resolved Hide resolved
pydm/tests/widgets/test_slider.py Outdated Show resolved Hide resolved
pydm/widgets/slider.py Show resolved Hide resolved
pydm/tests/widgets/test_slider.py Show resolved Hide resolved
pydm/widgets/slider.py Show resolved Hide resolved
pydm/widgets/slider.py Show resolved Hide resolved
@YektaY
Copy link
Collaborator Author

YektaY commented Oct 4, 2024

thank you for the notes, I believe I have addressed everything now, let me know if there is anything else.

@YektaY YektaY merged commit cb1dd3a into slaclab:master Oct 8, 2024
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants