Hi, > > First of all, I use PyQt4 and my development machine is running MacOS Lion > > Here is how the problem happens: > > 1) Inside a slot of my main window class, open a file using > QFileDialog.getOpenFileName for the first time. I Also manually set the > focus on main window so that it handle keyPressEvent. > > MainWindow: > > def mySlot(self): > filename = QFileDialog.getOpenFileName(...) > self.activateWindow() > self.setFocus() >
More information, in the same slot, a thread is fired up after the specified file is read in. > > 2) the second time I try to open a file, the file dialog does not show any > file. Instead, the dialog seems to be in a busy-wating state (see the > attachment) > > Has anyone had this problem before? > > Regards, > > Yifei >
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest