Hi, I get a similar problem here when just using the static QFileDialog::getOpenFileName(this) where this is my mainwindow. The dialog is not shown as sheet and my application gets completely disabled after the user clicks OK. This was tested using the carbon backend. The cocoa-version does only disable most of my menu actions but the mainwindow stays usable.
Both blocking issues should be fixed. But it would be also nice when the static methods of QFileDialog and QMessageBox would be changed in a way that allows window modal message boxes such as "Do you want to save your changes?" on a document window. Axel Am 11.02.2009 um 15:07 schrieb Richard: > As of Qt-4.5, to show a dialog as a sheet on Mac, use QDialog::open() > instead. > Using QDialog::exec() means that the dialog is supposed to be > 'application modal', and therefore show up as a normal dialog. This > behaviour change turned out necessary since sheets on Mac are only > supposed to be used when dialogs are 'window modal'. > > So the real bug you found was that whe dialog showed up as a sheet in > the first place. We'll look into that. > > -Richard > > > > > Den Feb 8, 2009 kl. 3:54 AM skrev Florian Schwehn: > >> Hi. >> >> I'm running Qt 4.5 Rc1 on Mac OS X (compiled for 64-bit >> architechture). I have an issue with QFileDialog when setting the >> windowflag Qt::Sheet. Each first time in an application I execute a >> QFileDialog everything seems to be ok - the dialog comes up as a >> sheet. Each other times it would appear as usual modal dialog, and >> on top of that the system plays a warning sound. Is there a chance >> to get it fixed? >> >> kind regards - Florian. >> _______________________________________________ >> Qt4-preview-feedback mailing list >> [email protected] >> http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback > > _______________________________________________ > Qt4-preview-feedback mailing list > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback _______________________________________________ Qt4-preview-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt4-preview-feedback
