ID 494705 - Setting clip color is slow in Hiero compared to Nuke Studio

Follow

Problem summary
Setting clip color is slow in Hiero compared to Nuke Studio
Nuks Studio will change all the clips in around a second, Hiero can take over a minute when using Python.
Using the GUI right click menu, Hiero is still slower, but not as much as when using Python.

Customer reported version
hiero.

Customer reported platform

Steps to reproduce

1) Open Hiero

2) Open the following project: /netshare/support/tickets/slowProject/SlowProject_v001.hrox

3) In the sequence, select all the clips then run the following code in the Script Editor:

sel = hiero.ui.getTimelineEditor(hiero.ui.activeSequence()).selection()
for i, track_item in enumerate(sel):
    try:
        track_item.source().binItem().setColor("red")
    except:
        pass
Hiero will freeze/very slowly change all the clip colors. Nuke Studio doesn't have the same issue.

There is also a speed difference if you right click the clips, Color> then select a color, but it is not as bad as Pythonically setting clips colors.

Expected behaviour
For the clips to have their color changed quickly, like Nuke Studio does.

Actual behaviour
Hiero freezes for some time or will slowly change the color of each clip.

Workaround
Unknown.

Reproduced by support
This bug has been reproduced in:
Hiero 13.0v5 - Windows 10, CentOS 7, macOS Big Sur
Hiero 11.2v1 - Windows 10, CentOS 7, macOS Big Sur

Unable to reproduce bug in:
Nuke Studio 13.0v5 - Windows 10, CentOS 7, macOS Big Sur
Nuke Studio 11.2v1 - Windows 10

Earliest version tested
Hiero 11.2v1 - Earlier versions are not compatible with this project

    We're sorry to hear that

    Please tell us why