State:In Progress|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:596598|
Problem summary
Nuke crashes when trying to add a QtWebEngineWidgets.QWebEngineView to a Nuke panel.
This doesn't happen if you make a modal panel.
Customer reported version
nuke.16.0v1
Customer reported platform
Alma 8.9
Steps to reproduce
1) Launch Nuke
2) Run the following code in the Script Editor:
try: from PySide2 import QtWidgets, QtWebEngineWidgets, QtCore except: from PySide6 import QtWidgets, QtWebEngineWidgets, QtCore from nukescripts import panels class WebBrowserWidget(QtWidgets.QWidget): def __init__(self): super( WebBrowserWidget, self).__init__() self.webView = QtWebEngineWidgets.QWebEngineView() self.setLayout( QtWidgets.QVBoxLayout() ) self.layout().addWidget( self.webView ) panels.registerWidgetAsPanel('WebBrowserWidget', 'Test Window', 'testWindowWidget') temp = WebBrowserWidget() temp.show() We're sorry to hear that
Please tell us why