It seems that the behaviour in Qt 5 has changed, and KeyPress events are no longer sent to the application when a Shortcut event has been fired. KeyRelease events are still received just after the Shortcut event.
Katana 3.0
Katana 3.1
KeyPress event
Shortcut event
KeyRelease event
Shortcut event
KeyRelease event
Steps to reproduce:
Edit your shortcuts.xml to assign the N key to any of the Scene Graph tab actions. For example:
Click on the Scene Graph tab, to set the focus to the TreeWidgetViewLink.TreeWidget widget.
Move the mouse pointer over the Node Graph tab.
Press N.
Expected:
Context menu should appear.
Actual:
The context menu won't appear, as no KeyPress event has been fired.
NOTE: A developer could add some logging to KatanaApplication::notify() to confirm that indeed the KeyPress event is not received by the application in this case.