ImageGlass icon indicating copy to clipboard operation
ImageGlass copied to clipboard

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

Open avgrad opened this issue 1 year ago • 1 comments

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 avatar Jul 28 '22 11:07 avgrad

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 avatar Jul 28 '22 11:07 d2phap

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 avatar Dec 24 '22 09:12 d2phap