-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
Disable Hotkey On Settings Menu #71
Comments
Hello @idietmoran! Is this issue up for grabs? |
It is. I'm thinking the hotkey should be unregistered when a user navigates to the settings page, and reregistered when the user navigates away. Make sure you do it on the develop branch. Line 370-374 is where the switching is detected. Thanks! |
@idietmoran I was wondering if I could potentially get some more clarification on the hotkey. I'm a little confused on what the hotkey is. Are you referring to the Settings options such as "Minimize on start", "Bring window to foreground", etc.? |
Currently this feature is only enabled on the develop branch. There should be a small box at the bottom of the window that you can click into and set a hotkey. Check hotkey.c in dispLib for more information. The hotkey information is stored in a struct HOTKEY which is also in a struct SETTINGS. Check common.h for struct implementations. |
Awesome. Thanks! That clarifies a lot. I didn't see the develop branch and was on the master branch when I opened up the project in VS. |
Yep, all work should be done on develop, or a branch checked out from develop. Any tests you may want to add would be appreciated as well (although a lot of this stuff is hard to test against) |
Unfortunately this is going to have to wait for #42 which was just reopened. I'm not sure if you're still working on this, but someone found a bug with the method we used. |
No problem @idietmoran . I was still in the process of getting acquainted with the codebase as it's my first time working with a WinAPI application so not much was changed on my end yet. Thanks for the heads up! |
Currently the hotkey button is enabled on the settings menu and should be temporarily disabled until the tab is switched. The key should be unregistered, and re-registered after the switch.
The current hotkey should appear in the Hotkey control box
The text was updated successfully, but these errors were encountered: