Problem summary
When setting up multiple viewer tab displays, Nuke will recognise the last viewer as the 'Main' when reopening.
This can cause confusion, as the user expects their first viewer ( 'Viewer1' ) to be the main viewer.
For example, if the user has a tab named 'Viewer2' on the left and 'Viewer1' on the right and saves the layout, they get flipped when restarting Nuke.
If the user loads his last project they will flip again (Viewer2 = L, Viewer1=R)
Customer reported version
nuke.10.5v5
Customer reported platform
Steps to reproduce
1) Open Nuke (Compositing layout)
2) Create a Colorwheel, set up 2 Grade nodes and 2 Text nodes next to each other (Name the Text nodes 'Viewer1', 'Viewer2').
3) Attach a Viewer to each Text node
4) Split both viewer tabs so they are side-by-side (Viewer1 = L, Viewer2=R).
Example screenshot:
5) Navigate to 'Workspace -> Save Workspace...' and save as a new Layout. (e.g '2Viewers')
6)
Navigate to 'Edit -> Preferences -> Behaviours -> Startup' and set the 'Startup workspace' to your new viewer.
7) Save the project and exit Nuke.
8) Open Nuke
Result 1: 'Viewer1' should appear on the right side (Instead of on the left where it was saved).
9) Open your saved project
Result 2: The viewers will be flipped (Viewer2 = L, Viewer1=R)
Workaround
The LAST created viewer will be the MAIN viewer when it comes to saving the layout & projects.
(Saving the layout)
1) Follow the reproduction steps up to step 4.
2) Delete the 'Viewer1' node and tab.
3) Create a new 'Viewer' node and put the new viewer in the empty tab.
4) Follow steps 5 & 6 of the reproduction steps
Result: Viewer1 should save to the correct layout location
(Saving your project for the first time)
1) Set up your new project (add the second viewer node to the project).
2) Before saving, remove the first Viewer node.
3) Create a new 'Viewer' node and reconnect it.
4) Save your project.
Result: When you reopen your project, it should be displayed in the correct layout location.
Reproduced by support
This bug has been reproduced in:
Nuke11.1v1 - Windows 7 - Mac10.12 - CentOS6.9
Nuke11.0v4 - Windows 7 - Mac10.12 - CentOS6.9
Nuke11.0v1 - Windows 7 - Mac10.12 - CentOS6.9
Nuke10.5v7 - Windows 7 - Mac10.12 - CentOS6.9
Nuke10.0v6 - Windows 7 - Mac10.12 - CentOS6.9
Nuke9.0v9 - Windows 7 - Mac10.12 - CentOS6.9
Nuke8.0v7 - Windows 7 - Mac10.12 - CentOS6.9
Nuke7.0v10 - Windows 7 - Mac10.12 - CentOS6.9
Earliest version tested
- This issue appears to be in all versions of the product
Expected behaviour
The Viewer tabs should not be flipped when saving the layout, not should be flipped when opening a project.
Actual behaviour
The Viewer tabs should not be flipped when saving the layout and opening a project.