-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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 ColorPicker deferred mode not working for sliders. #80916
Fix ColorPicker deferred mode not working for sliders. #80916
Conversation
2b14e2c
to
08af262
Compare
Clicking the slider does not emit changed signal in deferred mode. You need to drag it at least 1 px. SpinBox is also broken (note that you can drag SpinBox too). |
08af262
to
9816b31
Compare
It's fine now, but there is a little inconsistency. Clicking the slider for the first time emits the signal immediately, while it doesn't happen when clicking the color box/circle. This is still an improvement, so I think that small inconsistency is ok (unless you can fix it easily?). |
I found it just after pushing I was looking at it. I'm not 100% sure why it is happening but should be pretty easy to fix
Yeah that was what I was going to say the class feels a bit lacking :( |
81ce565
to
ed27c75
Compare
So I fixed the slider trigerring |
cefb93d
to
b916c24
Compare
SpinBoxes are broken in deferred mode again 🙃 |
b916c24
to
db8fb5a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works correctly now, left a few comments.
The Range changes make _drag_started()
emitted before value changed. Probably it's fine though.
I added both of your recommendation If SpinBox ever gets |
f64fb26
to
636a40a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see this adds more _no_signal
helpers. We should aim to resolve the discussion on #76432 before adding more methods like this (though this one isn't exposed so it's not too critical).
636a40a
to
3e0eacb
Compare
3e0eacb
to
3160add
Compare
Thanks! |
Fixes #80915