ID 612232 - The OCIO config file does not update when using Graph Scope Variables and changing the GSV filepaths in Nuke.

Follow

Problem summary
The OCIO config file does not update when changing GSV filepaths in Nuke.
 
Customer reported version
Nuke 16.0v5
 
Customer reported platform
Rocky 8
 
Steps to reproduce
1) In Nuke, open the Project settings (S) and goto the Variables tab.
2) Click the + knob to create a new variable (e.g test), then set the variable name and add a value for the path to a valid config.ocio file.
3) Select the Color tab, change the color management dropdown for OCIO and choose custom from OCIO config.
4) Set the custom OCIO config file as the GSV %test, observing changes.
5) Select the Variables tab, then change the file path of the config.ocio to another valid ocio config file.
6) Go back to the Color tab and observe any changes for the new configuration. Press Reload and observe updates.
 


 
Expected behavior
The OCIO config should update to the new path and the new config loaded.
 
Actual behavior
It only evaluates once and doesn't update when the variable changes, even after pressing Reload or pressing Enter on the custom OCIO variable knob.
 
Workaround
Changing the custom OCIO variable to a different/invalid one then back to the correct variable updates the ocio config file.
 
Reproduced by Support in:
Nuke 16.0v8 - Windows 10/11, Rocky 9
Nuke 16.0v2 - Windows 10/11, Rocky 9
Nuke 15.2v2 - Windows 10/11, Rocky 9
 
Unable to reproduce bug in:
15.2v1 + 16.0v1 - Windows 10/11, Rocky 9 - bug for variables didn't allow them.
 
Earliest version tested
Nuke 15.2v1 - The GSV feature did not exist before this version

    We're sorry to hear that

    Please tell us why