ID 401881 - Custom shortcuts using Shift cannot be initialized when used with numbers on the keypad in Windows.

Follow

Problem summary:
Custom shortcuts using Shift cannot be initialized when used with numbers on the keypad in Windows.


Customer reported version:
nuke.11.3v4


Customer reported platform:
Windows 10


Steps to reproduce:

1) From Nuke, open the Script Editor and run the following command:

import nuke


def myFunc():

  nuke.message("shortcut run")


toolbar = nuke.menu('Nuke').addCommand('MyMenu/myFunction', lambda: myFunc(), 'Ctrl+Alt+Shift+9')

2) Press Ctrl+Alt+Shift+9 (on the numpad) to use the hotkey.


Expected behaviour:
The custom hotkey/shortcut should initialize when using the number pad with Shift enabled.


Actual behaviour:
The command does not register when Shift is used in conjunction with the keypad numbers.


Workaround:
Refrain from using Shift in the custom shortcut when using numpad keys.


Reproduced by Support in:
Nuke 11.3v5 - Windows 10

Nuke11.2v1 - Windows 10

Nuke11.1v1 - Windows 10

Nuke11.0v1 - Windows 10

Nuke10.5v1 - Windows 10

Nuke10.0v1 - Windows 10

Nuke9.0v1 - Windows 10

Nuke8.0v1 - Windows 10


Earliest version tested:
Nuke8.0v1 - This issue appears to be in all versions of the product


    We're sorry to hear that

    Please tell us why