ID 362295 - When several nodes are created and selected pythonically within Nuke, if the amount of nodes created exceed the maximum panel value of the Properties Bin, Nuke will crash.

Follow

Problem summary
When several nodes are created and selected pythonically using the Script Editor, if the Properties Bin is set to a maximum panel value lower that the amount of nodes created, Nuke will crash upon de-selection and re-selection of the last node.

This issue appears to only occur in the Nuke 11.2 release versions on all operating systems. Testing has shown this only applies to nodes created using the 'nuke.createNode' function.

Customer reported version
nuke.11.2v3

Customer reported platform
centos7

Steps to reproduce

1) Open a new Nuke session

2) Within the Properties Bin, limit the number of maximum panels to 1. Ensure you don't lock the panels.

3) Within the Script Editor pane, paste the following snippet.

blur1= nuke.createNode('Blur')
blur2 = nuke.createNode('Blur')
blur1['selected'].setValue(True)
Result: This will create two Blur nodes and pre-select them

4) Click within the DAG/Nodegraph to de-select these Blur nodes

5) Select just the second Blur node
Result: Nuke will crash

Workaround
There are several workarounds that avoid this issue:

1) Click on the lock panels control to create new windows for the two Blur nodes

2) Avoid have a lesser amount of maximum panels in comparison to your python created nodes

3) Create the nodes pythonically using the nuke.nodes function as appose to the nuke.createNode function

4) Create the node without prompting a Properties bin through the use of the inpanel=False function.
nuke.createNode('Blur', inpanel=False)

Reproduced by support
This bug has been reproduced in:
Nuke 11.2v3 - Windows 7 - MacOS 10.13.6 - CentOS 6.9
Nuke 11.2v2 - Windows 7
Nuke 11.2v1 - Windows 7 - MacOS 10.13.6 - CentOS 6.9

Unable to reproduce bug in:
Nuke 11.1v5 - Windows 7 - MacOS 10.13.6 - CentOS 6.9

Earliest version tested
Nuke 11.1v5
- This issue no longer appears in this version and has regressed

Expected behaviour
Nuke should not crash from nodes being created pythonically, that exceed the maximum properties bin panel count.

Actual behaviour
Nuke crashes from nodes being created pythonically, that exceed the maximum properties bin panel count.

    We're sorry to hear that

    Please tell us why