ID 247481 - The Python method for 'reformatState().setType()' doesn't immediately update the UI/Viewer.

Follow

Problem summary
The Python method for 'reformatState().setType()' doesn't immediately update the UI/Viewer.
 
Customer reported version
Hiero 15.0v4
 
Customer reported platform
Rocky 9 
 
Steps to reproduce
1) Import a non-HD clip and add to the timeline (or import a HD clip and set the sequence to be non-HD)
2) Select the track item, and open the Sequence Properties tab, with 'Clip Reformat:' set to None
3) Execute the following Python in the Script Editor:
seq = hiero.ui.activeSequence()track = seq[0]ti1 = track[0]ti1.reformatState().setType('to format')
     - The 'Clip Reformat' preference doesn't update and the image displayed in Viewer isn't affected.
4) Deselect the track item, and re-select it. 'Clip Reformat' preference has updated to show 'To Sequence Resolution', but the image displayed in Viewer still hasn't updated.
 
Expected behavior
The Clip Reformat preference should update immediately and the image in the Viewer should update to match accordingly, as if you had done it manually. 
 
Actual behavior
Using the reformatState().setType() function to change a track item's reformat behavior doesn't immediately update the UI or the Viewer. You need to deselect then re-select the track item to see the clip reformat properties update, and the Viewer doesn't get updated at all. 
 
Workaround
There is no available workaround at this time.
 
Reproduced by Support in:
Nuke Studio/Hiero 16.0v1 - Windows 11, Rocky 9
Nuke Studio/Hiero 14.0v1 - Windows 11, Rocky 9
 
Earliest version tested
Nuke Studio/Hiero 14.0v1 - This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why