ID 555717 - An incorrect output happens when running the event.mimeData.formats() Python command in the Script Editor

Follow

Problem summary
An incorrect print statement is given when running the event.mimeData.formats() Python command in the Script Editor.
 
Customer reported version
Hiero 14.0v3
 
Customer reported platform
CentOS 7
 
Steps to reproduce
1) In Nuke Studio/Hiero, open the Script Editor.
2) In the Script Editor, run the code:

from hiero.core import events def printer(event):     print(event.mimeData.formats()) events.registerInterest("kPaste", printer)
3) Import footage into the Project bin.
4) Drag/drop the clip onto the Timeline to create a Sequence.
5) Select the clip/shot on the timeline and press Ctrl+C to copy it.
6) Press Ctrl+V to paste the clip and observe the output in the Script Editor.
 

 
Expected behavior
The command for events.mimeData.formats() should not be printed in the console.
 
Actual behavior
The console/Script Editor incorrectly prints: "['x-foundry/x-clips', 'text/x-nuke-script']"
 
 
Workaround
There is no available workaround at this time.
 
Reproduced by Support in:
Nuke Studio/Hiero 14.0v6 - Windows 10, CentOS 7
Nuke Studio/Hiero 14.0v1 - Windows 10
Nuke Studio/Hiero 13.2v1 - Windows 10, CentOS 7 - reg
 
Unable to reproduce bug in:
13.1v5 - Window 10, CentOS 7
 
Earliest version tested
Nuke 13.1v5 - This issue doesn't appear in this version and has regressed
 

    We're sorry to hear that

    Please tell us why