ID 132713 - Nuke Studio - Some nodes' knobs do not update if set via the Python API unless Node Properties panel is shown

Follow

Problem summary
Nuke Studio - Some nodes' knobs do not update if set via the Python API unless Node Properties panel is shown

Customer reported version
nuke.10.5v7

Customer reported platform
centos7

Steps to reproduce
1) Open Nuke Studio or Hiero.
2) Select edit>preferences, and change the "OpenColorIO config" value under Project Defaults>Color management to "aces_1.0.3," then press OK.
3) Restart Nuke Studio/Hiero to apply the preference change.
4) Import a movie file into the item bin.
5) Drag that file into the timeline.
6) Select the mosaic panel properties icon in the top left of a panel, then choose windows>new script editor.
7) Paste the following command and run it by pressing "Ctrl + enter":

for trackItem in [y for x in hiero.ui.activeSequence().videoTracks() for y in x.items()]:  trackItemEffect = trackItem.parentTrack().createEffect("OCIOColorSpace",trackItem=trackItem )  trackItemEffect.node()["out_colorspace"].setValue('ACES - ACES2065-1')
8) Double click the new "OCIOColorSpace" soft effect above the clip in the timeline.
Result: The "Out" value is incorrect (it should be "ACES - ACES2065-1")

Workaround
Some of these knobs can be modified if the control panel is shown before modifying it. Add the following command to your script above the knob change command, substituting the values for the desired item/knob:

Using the "steps to reproduce" example, use the following script for step 7 to workaround the issue:

for trackItem in [y for x in hiero.ui.activeSequence().videoTracks() for y in x.items()]:  trackItemEffect = trackItem.parentTrack().createEffect("OCIOColorSpace",trackItem=trackItem )  trackItemEffect.node().showControlPanel()  trackItemEffect.node()["out_colorspace"].setValue('ACES - ACES2065-1')
Result: The "Out" value is correct.

Reproduced by support
This bug has been reproduced in:
Hiero, NS - 11.1v4 - Windows 10, OSX 10.13.2, Centos 7.4
Hiero, NS - 11.1v1 - Windows 10
Hiero, NS - 11.0v4 - Windows 10
Hiero, NS - 11.0v1 - Windows 10
Hiero, NS - 10.5v7 - Windows 10
Hiero, NS - 10.5v1 - Windows 10
Hiero, NS - 10.0v6 - Windows 10
Hiero, NS - 10.0v1 - Windows 10
Hiero, NS - 9.0v9 - Windows 10
Hiero, NS - 9.0v7 - Windows 10, OSX 10.13.2, Centos 7.4

Earliest version tested
9.0v7 - Windows 10, OSX 10.13.2, Centos 7.4 - The "OCIOColorSpace" soft effect did not exist before this version

Expected behaviour
The target knob should update if the change is valid.

Actual behaviour
The target knob does not update if the change is invalid OR if the target knob has not been revealed yet.

    We're sorry to hear that

    Please tell us why