ID 472478 - A crash occurs when loading a workspace with a negative value in the window "screen" parameter in a Nuke workspace .xml file

Follow

Problem summary
A crash occurs when loading a workspace with a negative value in the window "screen" parameter in a Nuke workspace .xml file.


Customer reported version
nuke.12.2v5


Customer reported platform


Steps to reproduce

1) Load Nuke and save a Workspace { Workspace > Save Workspace...)

2) Edit the workspace.xml file and adjust the window > screen value to include a negative number. 


3) Save the workspace, launch Nuke, then load the workspace.


Expected behavior
Nuke should load the workspace.


Actual behavior
Nuke crashes when reading the workspace file with a negative screen value.


Workaround
Change the screen value to a positive number.


Reproduced by Support in:
Nuke 13.0v1 - Windows 10, macOS 10.13.6

Nuke 12.2v1 - Windows 10

Nuke 12.1v1 - Windows 10

Nuke 12.0v1 - Windows 10

Nuke 12.0v1 - Windows 10, macOS 10.13.6 - regression


Unable to reproduce bug in:
Nuke 11.3v6 - Windows 10, macOS 10.13.6


Earliest version tested
Nuke 11.3v6 - This issue doesn't appear in this version and has regressed


    We're sorry to hear that

    Please tell us why