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

Keybindings not working when pressed on Numpad [v9.0] #1400

Closed
avgrad opened this issue Jul 28, 2022 · 2 comments
Closed

Keybindings not working when pressed on Numpad [v9.0] #1400

avgrad opened this issue Jul 28, 2022 · 2 comments

Comments

@avgrad
Copy link

avgrad commented Jul 28, 2022

System information:

  • Windows OS version: Windows 10 21H2 (19044.1826 x64)
  • Keyboard Layout: German
  • ImageGlass version: 9.0.1.518 (64-bit)

To Reproduce

Steps to reproduce the behavior:

  1. Open an Image
  2. Zoom in by scrolling the mousewheel
  3. Press key 0 on the numpad (to reset to actual size)

Actual behavior:

Nothing happens.

Expected behavior:

Zoom should be reset to actual size (because 0 is keybinding for actual size)

Additional context:

  • Regular 0 in the number row of the main-keys works as expected.
  • IMPORTANT: other numpad-keybindings (I think basically all zoom/scale related) have the same behavior and DO NOT work as expected.
@avgrad avgrad changed the title Keybindings not working when pressed on Numpad Keybindings not working when pressed on Numpad [v9.0] Jul 28, 2022
@d2phap
Copy link
Owner

d2phap commented Jul 28, 2022

The first beta version only supports assigning 1 hotkey to the action.
If you want to set it to Numpad, you can change the hotkey for MnuActualSize to NumPad0 in igconfig.json

MenuHotkeys: {
  "MnuActualSize": "NumPad0"
},

@d2phap d2phap added this to the v9.0 beta 2 milestone Jul 28, 2022
@d2phap d2phap added the v9.0 label Jul 28, 2022
@d2phap d2phap modified the milestones: v9.0 beta 2, v9.0 beta 3 Sep 6, 2022
@d2phap
Copy link
Owner

d2phap commented Dec 24, 2022

ImageGlass Moon 9.0 beta 3 supports this by default.

It also supports setting multiple hotkey in igconfig.json file.

MenuHotkeys: {
  "MnuActualSize": ["A", "B"]
},

@d2phap d2phap closed this as completed Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants