Here is a simplified example of the bug... Again, this behaviour only happens in Linux, not WinXP or OSX...Anybody have any idea or thoughts on this?
#============================================================================= #!/usr/bin/python # On linux, when you undock the widget, the resulting window can't be moved (only resized). # import sys from PyQt4 import QtGui, QtCore app = QtGui.QApplication(sys.argv) # Window win = QtGui.QWidget() win.setWindowTitle("Test") win.resize(400,300) win.show() # Dock dock = QtGui.QDockWidget(win) dock.setFeatures(QtGui.QDockWidget.DockWidgetFloatable | QtGui.QDockWidget.DockWidgetClosable | QtGui.QDockWidget.DockWidgetMovable ) dock.setGeometry(0,0,400,300) dock.show() sys.exit(app.exec_()) #============================================================================= The Linux Env Centos 5.7 Python 2.6.6 Qt 4.7.4 (qt-everywhere-opensource-src-4.7.4.tar.gz) Sip 4.13.1 PyQt 4.9 (PyQt-x11-gpl-4.9.tar.gz) Thank you, -- View this message in context: http://python.6.n6.nabble.com/QDockWidget-issue-in-Linux-but-not-Windows-OSX-tp4374122p4384646.html Sent from the PyQt mailing list archive at Nabble.com. _______________________________________________ PyQt mailing list PyQt@riverbankcomputing.com http://www.riverbankcomputing.com/mailman/listinfo/pyqt