-
Notifications
You must be signed in to change notification settings - Fork 45
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
Mouse scroll changes wrong freq digit. #49
Comments
I believe this is now fixed in this pull request #50 |
pull request #50 still not fixed mouse scroll changes. |
Could you provide some more information please? My understanding of this was that placing the mouse over the frequency in the VFO display at the top of the screen, the mouse wheel did not scroll correctly through the frequencies. If this is the issue you observe still after a fresh clone, can you provide some information about OS, which radio you are using etc? |
Please, look at my movie -> https://drive.google.com/open?id=1-Mhk6IEJN0hW_JrO16hOsaOMRPJOm1kr |
This problem is caused by the change to use the Overpass font face for the VFO frequency. It requires the Overpass font to be installed. If it is not then installed it uses another font face but the mapping for the scroll wheel do not match. |
Thanks both. I originally changed this on a machine with overpass installed. I have since changed dev machine. This machine doesn't have overpass installed. I have just tried: cairo_select_font_face(cr, "blah_blah_blah", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL); it compiled and ran fine. I suspect cairo silently goes to some system default if it can't find the font. Confirmed here (in the description of the "toy" text API): https://www.cairographics.org/manual/cairo-text.html I've just tested a few different Linux VMs and none had overpass as default. This is not good and I will remove overpass. I will look for a suitable font in various flavours of Ubuntu and one that works on Mac. Then I will update scroll wheel mapping. |
I installed the Overpass font from https://overpassfont.org |
Thanks, I will fix this. |
I have selected Noto Mono. This seems to be the least bad looking monospace font that is more commonly available on ubuntu flavours. I've tested this on Ubuntu 19.10, kubuntu 18.04 and lubuntu 18.04. I have yet to test on a mac, but it seems to be possible for mac too. If it is not available on a mac, the cairo default mono font might work anyway. Please could you test the latest commit in this fork: |
Until someone requests a change, the scroll is now locked to an upper limit of 99.999999 GHz. |
The mouse wheel changes the wrong digit when I try to change frequency by scrolling.
Using the lates comit. The interface looks good.
Manjaro Linux.
4.19.97-1-MANJARO
The text was updated successfully, but these errors were encountered: