-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
FIX: coreg spin box calling set_parameter twice #10251
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: coreg spin box calling set_parameter twice #10251
Conversation
|
Daaaamn, all of this just for a spinbox? 😳 |
|
Maybe there is simpler... This is only what I suggest and tested locally 😅 |
|
What do you think @larsoner ? |
|
Why is this necessary? On Peek.2022-01-26.10-11.mp4What I don't like is that the display seems to update twice, which I assume has to do with an errant |
|
You do not have this behaviour... Is it only me then? main main.mp4PR pr.mp4 |
|
No, I click once and it only updates once. Are you on an older PyQt5? I'm on 5.15. maybe it's a 5.12 bug for example. Did you try the simpler suggested solution of: ? |
|
Oh you said in #10244
It's too bad this didn't work :( |
|
I am using I tried connecting the spin boxes with |
|
Every time we parallelize something we make debugging harder, but this seems to be a real bug on your system at least so I guess we have to live with the complexity. Feel free to merge if it does fix things for you @GuillaumeFavelier , I at least notice no change in behavior (in a good way) on my system. |
|
Okay, but the other PRs have higher priority. Now that I know that this could be related to my system, I think I'll hold on a bit before merging. I can try:
|
|
If you hit the bug, and it's a known behavior of Qt under some circumstances (based on the threads), it's at least somewhat likely some user will have this problem. We don't want to make them mess with Qt installs as a fix... |
Indeed not optimal Okay fair enough, I'll merge then. |
|
Amazing detective work, @GuillaumeFavelier! |
This PR is extracted from #10224: