-
Notifications
You must be signed in to change notification settings - Fork 544
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 double call to receiver::set_rf_freq, may fix #1129 #1309
base: master
Are you sure you want to change the base?
Conversation
195eed4
to
75a3fbf
Compare
Before merging a change intended to fix a bug, I'd want to understand the root cause of the bug in question, and have some confirmation that the bug is actually fixed. I have my doubts that the duplicate |
75a3fbf
to
d89125c
Compare
I'm sorry I can't help because I'm not reproducing here. But at least guys reproducing can get this branch and test. 😉 Also notice that even if it doesn't fix the bug, it still is more proper implementation. 😄
I share this but at some point you have to try something. 😄 Also notice in the bug discussion, no one formally said "it happens only when I'm on a bookmark and activate another bookmark, but doesn't happen if I'm on an arbitrary frequency and activate a bookmark". 😉
The time frame of the dup call wouldn't be exactly the same, as when dragging the mouse it would happen on (at least) 2 different runs of Qt event loop. Here it happen in the same run (guess so, a bit unsure about Qt signal/slot). |
Sure, if there are reasons other than #1129 for making this change, we can make it. I'll need to review to make sure there aren't any unintended side effects.
Yeah, experiments to get to the bottom of #1129 are a good idea. Another thing to try might be intentionally stressing the RTL-SDR with very frequent |
Blocking the signal in The problem here is that |
Yes. Thought to that but this is far more changing and testing, because the signal is actually connected to 3 or 4 slots in MainApplication. Would deserve an architectural decision first. The main problem IMHO is that 2 functions are calling for a (hardware) frequency change in the code (1 in main application and 1 in the frequency controller). There should be only one (I have no clue which one is better to keep). 😉 |
Also commented at conf loading because same thing arises there.