Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
None
-
5.2.0 Beta1 , 5.3.1
-
None
-
Linux, ubuntu, gnome or unity
Description
1. show a QFileDialog, select some texts and copy them, cancel the dialog
2. press right button of mouse on QLineEdit
3. GUI will freeze.
tip: can reproduce on all qt version
snippet:
#!/usr/bin/python from PyQt4.QtGui import * from PyQt4.QtCore import * import sys class MyMainWindow(QWidget) : request = pyqtSignal() def __init__(self, parent = None): super(QWidget, self).__init__(parent) self.button = QPushButton('Save File') layout = QVBoxLayout() lineedit = QLineEdit() layout.addWidget(self.button) layout.addWidget(lineedit) self.setLayout(layout) self.button.clicked.connect(self.buttonClicked) def buttonClicked(self): strn = QFileDialog.getSaveFileName(self, "Caption") if __name__ == '__main__': app = QApplication(sys.argv) w = MyMainWindow() w.show() sys.exit(app.exec_())
Attachments
Issue Links
- is required for
-
QTBUG-41613 Issues to be fixed before 5.4.0 RC
- Closed