ID 310182 - Hiero's Right click context menu 'hangs' when selecting a large mount of files on first initiation.

Follow

Problem summary
When opening the right click menu while selecting alot of items (100+ items), Nuke Studio will hang from anywhere between 1 second to 20 seconds before the menu appears.

The issue appears to be with the "Show" event when it gets called the first time on a long selection.
You do no receive the lag if you right click the selection again.

The speed with which menus load shouldn't be affected by how much data the project is looking at.

The context menu's show event needs to be audited and optimised.

Reference:



Customer reported version
Hiero11.0v2

Customer reported platform
centos7

Steps to reproduce

1. Open a large Nuke Studio project

2. Expand all the folders, then Select all the files.   (Drag left click or use the Hotkey 'Ctrl+a')

3. Right Click in the project window.

Result: You will notice it will take a few seconds before the menu appears.  If you do step 3 again it will load instantly. 

Note: This appears to happen only when the folders are expanded.

Workaround
This will only happen the first time you right click the large selection, It will work as intended afterwards.

Reproduced by support
Hiero11.0v2 - Windows 7 - Mac10.12 - CentOS6.9
Hiero11.0v2 - Windows 7
Hiero10.5v5 - Windows 7 - Mac10.12 - CentOS6.9
Hiero10.5v1 - Windows 7
Hiero10.0v6 - Windows 7 - Mac10.12 - CentOS6.9
Hiero10.0v1 - Windows 7
Hiero9.0v9 - Windows 7 - Mac10.12 - CentOS6.9

Regression - No slowdown on first right click
Hiero1.9v1 - Windows 7 - Mac10.12 - CentOS6.9
Hiero1.8v2 - Windows 7

Earliest version tested
Hiero1.8v2 - Noted regression in program version.

Expected behaviour
There should be no lag when Right click selecting a large group of islands

Actual behaviour
Hang and freeze on first right click selection for a few seconds, works without hang afterwards.

    We're sorry to hear that

    Please tell us why