ID 197295 - Preferences- GPU device reverts back to CPU after hitting cancel then reopening

Follow

Problem summary
When a user selects 'cancel' while in their preferences window, the 'Default Blink Device' will automatically reset from GPU to CPU.   

Although it changes visually, it does not edit the setting (Restarting Nuke will display the proper device)

 

Customer reported version
nuke9.0v1

 

Customer reported platform
windows 7

 

Steps to reproduce

In NukeX or NukeStudio:

1. Open preferences with shift+S
 
2. Go to the Hardware tab and observe that the 'Default Blink Device' preference is set to the GPU device.
 
3. Hit cancel or 'X' on the top right corner
 
4. Open preferences again, navigate to the Hardware tab
 
Result: 'Default Blink Script' should now look like its set to 'CPU' 

Workaround
This is a visual bug and does not change the value itself.

If you restart Nuke, the value will display the proper device.

Reproduced by support
Does not work correctly:

Nuke11.0v1 - Windows 7 - CentOS6.9

Nuke10.5v5 - Windows 7 - CentOS6.9

Nuke10.5v1 - Windows 7 - CentOS6.9

Nuke10.0v6 - Windows 7 - CentOS6.9

Nuke10.0v1 - Windows 7 - CentOS6.9

Nuke9.0v9 - Windows 7 - CentOS6.9

Nuke9.0v1 - Windows 7 - CentOS6.9

Works Correctly:

Nuke8.0v1 - Windows 7 - CentOS6.9

Nuke7.0v10 - Windows 7 - CentOS6.9

 

Earliest version tested
Nuke7.0v10 - Earliest regression we check, Does not change

Nuke9.0v1 - Earliest release to cause bug

 

Expected behaviour
When selecting 'Cancel', No values should change automatically in the preferences window.

 

Actual behaviour
The 'Default Blink Device' is switching to 'CPU' without input by the user.

    We're sorry to hear that

    Please tell us why