qt6-bb10/src/plugins
Richard Moe Gustavsen fd4106e2d1 Cocoa: fix unresponsive dialogs causes application to hang
The reason for this bug seems to be related to how we wait for
more events in the event dispatcher. We use the nextEventMatchingMask
function, which already in Qt4 showed to have problems when telling
it to not dequeue the event. The solution back then was to
tell it to dequeue the event, and instead repost in front again.
Why this was changed in Qt5 is uncertain (other than it being tempting)
but moving the same code back in will solve the bug.

Note that this bug might also stem from the fact that the run loop
sources we add in the event dispatcher fires before the application
is really ready to show modal dialogs. E.g refusing to execute a
modal dialog before NSAppDelegate applicationWillFinishLaunching
is called will also fix the problem. But this code change is to big
atm, and can easily introduce other unforeseen regressions.

Task-number: QTBUG-28283
Change-Id: I07cd109568c2b9c782cf5120a9eb2ac71128cada
Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@digia.com>
2012-12-05 17:29:46 +01:00
..
accessible Fix compile with QT_NO_SHORTCUT 2012-12-01 01:49:46 +01:00
bearer beef up qt_plugin.prf 2012-11-01 20:17:57 +01:00
generic beef up qt_plugin.prf 2012-11-01 20:17:57 +01:00
imageformats Make qtbase compile with QT_NO_IMAGEFORMATPLUGIN 2012-12-05 15:30:07 +01:00
platforminputcontexts Change license header from Nokia to Digia 2012-11-26 17:33:37 +01:00
platforms Cocoa: fix unresponsive dialogs causes application to hang 2012-12-05 17:29:46 +01:00
printsupport specify MODULE to avoid module .pri filename clash 2012-11-02 15:25:14 +01:00
sqldrivers beef up qt_plugin.prf 2012-11-01 20:17:57 +01:00
plugins.pro Do not build qpa/gui dependant plugins in no-gui mode 2012-08-25 10:30:02 +02:00