-
Notifications
You must be signed in to change notification settings - Fork 51
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 scroll control event handling on the filter dialog. #139
Conversation
Hi @tmiw - thanks for this PR. I'm unclear about the bug that this PR addresses. Can you pls describe how I can demonstrate the bug on freedv-gui/master? |
@drowe67, basically, drag any of the scroll controls (e.g. mic bass gain) in the Filter dialog left or right. Without this PR, the numbers next to each control don't increase or decrease, whereas they do with this PR. |
So on freedv-gui/master e1e6ad3 this is what I see on my Ubuntu 18 system:
I tried it a few times, here's a screen shot: If I understand your bug report correctly, it would suggest the mic and speaker EQ (plus other filtering options) are all broken when you try them? Sorry if I'm missing something here ..... 🤔 |
@drowe67, hmm, I wonder if it's a macOS specific issue, then. It definitely didn't work for me before on my 2019 MBP (Intel) or the M1 Mac Mini. |
Perhaps something to do with a different wxWidgets version? Or some sort of corner case we have missed to date. This feature has been in pretty constant use since it was written (many years ago) so we would have had a bug report if the issue was wide spread on all platforms. |
The latest Windows build is using 3.1 so I would imagine we'd have heard something by now if that was it. Something OS related seems more likely. |
@drowe67, so yeah, I'm okay with these changes. After this is merged, we can do one more test build if you'd like. However, I haven't really heard of many issues (other than #137 and this one, the latter which hasn't been duplicated by any other non-Mac users to my knowledge), so perhaps we're okay with incrementing version numbers after this? |
@tmiw OK cool. So this ended up being a MacOS-only issue? It's quite unusual to have different behavior across operating systems with wxWidgets. Guess we should make sure the changes in this PR are working on Linux and Windows. |
Hi @tmiw how about we merge this one 👍 I tried it on Linux again and it seems to work the same as Re above - yes good idea to bump the version number and make some test builds. I'm keen to have end users give |
Turns out that the scroll controls on the filter dialog didn't really work. I traced it down to them not being connected to the same events the ones on the main window are.
BTW, I also noticed on the main window that it was connecting the same scroll events multiple times per control, so I have some cleanup for those in this PR too.