[PyQt] widget show/hide bug
Vsevolod Fedorov
seva4pyqt-list at yandex.ru
Mon Jun 16 13:11:18 BST 2008
Hello!
I have stumbled on problem that can be demonstrated by the following
snippet:
----
from PyQt4 import QtGui
import sys
app = QtGui.QApplication(sys.argv)
w = QtGui.QWidget()
w.show()
w.hide()
w.show()
app.exec_()
----
After its execution widget stays hidden and application keeps running
(without any visible windows).
Actual code that suffers from it is naturally much more complicated, but
workarounds are harsh and do not always work.
Qt version 4.3.4, pyqt version 4.3.3.
Seva
More information about the PyQt
mailing list