FYI, i've ask the Nuke Support team about this bug... waiting for a response
On Mon, Apr 2, 2012 at 11:22 AM, Matthieu Cadet <[email protected]> wrote: > But the thing is, i want to use the window and interact with Nuke at > the same time. > > here a simple example window that crashs Nuke if you left it open when > exiting Nuke: > > import PySide.QtCore as QtCore > import PySide.QtGui as QtGui > > class TestMainWindow(QtGui.QDialog): > def __init__(self): > super(TestMainWindow, self).__init__() > > self.hbox=QtGui.QHBoxLayout() > self.button=QtGui.QPushButton("TEST") > self.hbox.addWidget(self.button) > self.setLayout(self.hbox) > > wnd=TestMainWindow() > wnd.show() > > > On Mon, Apr 2, 2012 at 10:35 AM, Jimmy Christensen <[email protected]> wrote: >> How does the code look? >> >> You can actually open the window in modal mode, which means it has to be >> closed before you can close nuke. Nuke is actually frozen until you close >> the window. >> >> Best Regards >> Jimmy Christensen >> Developer >> Ghost A/S >> >> >> >> On 31/03/12 00:19, Brogan Ross wrote: >>> >>> So I've got a very simple PySide widget that opens up and shows some >>> text. That's it. However, if it is left open and you try to quit Nuke, >>> the window gets closed, and Nuke crashes. I know it doesn't seem like a >>> big deal cause Nuke is closing anyway, but has anyone run into something >>> like this before? >>> >>> I've tried assigning the window to a global variable and using a >>> scriptClose callback to make sure the window is closed. But that >>> doesn't help. >>> >>> Anyone aware of any work arounds, or some such? >>> >>> >>> Thanks >>> >>> >>> _______________________________________________ >>> Nuke-python mailing list >>> [email protected], http://forums.thefoundry.co.uk/ >>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python >>> >> >> _______________________________________________ >> Nuke-python mailing list >> [email protected], http://forums.thefoundry.co.uk/ >> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > > -- > Matthieu Cadet > Compositor Artist & TD, > nWave Digital > [email protected] -- Matthieu Cadet Compositor Artist & TD, nWave Digital [email protected] _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
