Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
None
-
4.8.0
-
None
-
OSX 10.7.2
Description
When the unix event dispatcher is used, a call to QEventLoop::quit does not have the desired effect when immediately followed by some sort of nested call to processEvents, for example through a nested eventloop, QTest::wait, or similar. The reason appears to be that the second processEvents resets the interrupt flag previously set by quit(), since that is unconditionally done at the start of processEvents(), thereby aborting the quit. Testcase that reproduces this failure attached. This is a reduced test case from a failing (on OSX) unit test in KDE's kdelibs, which passes on linux, suggesting that the glib event loop is unaffected.
Attachments
Issue Links
- relates to
-
QTBUG-49539 QThread::quit() does not work on OS X.
-
- Closed
-
For Gerrit Dashboard: QTBUG-23759 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
158619,3 | WIP: Add QAbstractEventDispatcher::quit(). | 5.6 | qt/qtbase | Status: ABANDONED | -2 | 0 |