Skip to content
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

windows build, changing frequency using the mouse scroll wheel #351

Open
ando274 opened this issue May 19, 2024 · 3 comments
Open

windows build, changing frequency using the mouse scroll wheel #351

ando274 opened this issue May 19, 2024 · 3 comments

Comments

@ando274
Copy link

ando274 commented May 19, 2024

have been using gpredict 2.3.37 on Widows 10 successfully with an IC-9700, It all works very well. The issue is the use of the mouse scroll wheel on the “rig control frequency widget” does not work, the tool tip mentions “Use mouse buttons or wheel to change”.

Investigating the issue, I could see the code was not responding to mouse wheel events, also all the code required to deal with the events was in the source code of gtk-freq-knob.c

Enabling the scroll wheel mask with the line gtk_widget_add_events(knob->[i], GDK_SCROLL_MASK), at line 361 fixed the issue.

I have found using the wheel instead of the buttons to spot my down link signal as well as tuning other stations that are off frequency, faster and more convenient than the buttons.

I am not sure if this effect is particular to windows builds, as I have not tested on a Linux machine.

I used msys64 on Windows 10 to build and tested 32 bit and 64 bit versions, I have not found any problems.

@curtiswilliams
Copy link

Can you share that file I’ve tried for weeks to get Mingw64 to compile for windows 11 and I’m failing miserably.

@ando274
Copy link
Author

ando274 commented Jun 28, 2024

https://1drv.ms/u/s!AioHOutp0it5i9wT0JoUSlBttvStoA?e=cKHDD6

Hi Curtis, the link is to a 64-bit version which started from the latest source about a month ago. It seems to work well for me,

To build I used MSYS2, and the package installer to load the mingw64 dependencies and used the gprdict/w32 folder make file. The make file needed to be modified as it failed at the windows resource file and the paths needed adjustment.

I have not tested the version on Windows 11

cheers

@csete
Copy link
Owner

csete commented Sep 17, 2024

There is a patch for this in issue #362 which I think fixes this in general. To be honest, I don't remember whether this was never implemented or just stopped working as the GUI toolkit evolved over the years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants