ID 386501 - Opening a QWizard issue in Windows does not display Nuke's stylesheet

Follow

Problem summary
Opening  PySide2.QWidgets.QWizard() ( or PySide.QtGui.QWizard() on Nuke10.5 and earlier) does not fetch Nuke's stylesheet on Windows:



As displayed above the windows are White, when they should be a darker grey colour.

Running the same code on OSX or CentOS7 show the correct look:
 
From tests, this issue is due to the DEFAULT style chosen by Nuke.
 
Switching the QWizard style to another style ( such as ModernStyle ) display the correct results:


Customer reported version
nuke.11.3v2

Customer reported platform
n_a_mac

Steps to reproduce

1) Open Nuke

2) Copy/paste/execute the following within the Script Editor

from PySide2 import QtWidgetsp = QtWidgets.QWizard()p.show()

Result: A new window will open, the stylesheet will be white.

Expected behaviour
The QWizard should look closer to the rest of Nuke's formatting

Actual behaviour
The QWizard should open and use Nuke's Stylesheet formatting.

Workaround
Switch the QWizard to another style:

from PySide2 import QtWidgetsp = QtWidgets.QWizard()style = QtWidgets.QWizard.ModernStylep.setWizardStyle(style)p.show()

Reproduced by support

This bug has been reproduced in:
Nuke11.3v3- Windows 7
Nuke11.3v1- Windows 7
Nuke11.2v1 - Windows 7
Nuke11.1v1 - Windows 7
Nuke11.0v1 - Windows 7
Nuke10.5v1 - Windows 7
Nuke10.0v1 - Windows 7
Nuke9.0v1 - Windows 7
Nuke8.0v1 - Windows 7

Unable to reproduce the bug in:
Nuke11.3v3 - Mac10.13 - CentOS7

Earliest version tested
- This issue appears to be in all versions of the product

    We're sorry to hear that

    Please tell us why