State:Closed|TargetRelease:No Target|icon_bug|icon_katana|database:public|Resolution:Not A Bug|BugID:347332|
Problem summary:
Users have found that event handlers registered for a 'node_pasted' event type are never called.
The reason for this is that no events of that event type are ever added to Katana's event queue.
Unfortunately, Katana does register one event handler for a 'node_pasted' event type, but that appears to be a remnant of Sony's Katana:
>>> 'node_pasted' in Utils.EventModule.GetAllRegisteredEventTypes()True>>> Utils.EventModule.GetNumRegisteredHandlersForEventType('node_pasted')1
Note that, in the current implementation of Katana's event handling mechanism, event handlers can be registered against arbitrary event type names. This means that, in general, the result of Utils.EventModule.GetAllRegisteredEventTypes() should not be taken as the authoritative source for which types of events exist in Katana (as in: which types of events are added to Katana's event queue in response to user interactions).
Steps to reproduce:
In the Node Graph tab, create a PrimitiveCreate node, and select it.
Execute the following snippet of code in a Python tab: