summaryrefslogtreecommitdiffstats
path: root/doc/src/howtos
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-12-09 14:30:10 (GMT)
committerRichard Moe Gustavsen <richard.gustavsen@nokia.com>2009-12-22 14:09:29 (GMT)
commit464306df827cbf3378f72f9aead0448a32ab5a21 (patch)
treeabe5dfae26a3f46dea649e771ab060c5e26ac8b3 /doc/src/howtos
parent875afab977005b03d307040fb3be15c7524a37ff (diff)
downloadQt-464306df827cbf3378f72f9aead0448a32ab5a21.zip
Qt-464306df827cbf3378f72f9aead0448a32ab5a21.tar.gz
Qt-464306df827cbf3378f72f9aead0448a32ab5a21.tar.bz2
Cocoa: event dispatcher drops events on the floor
Under some circumstances, the event dispatcher needs to stop NSApplication, let the control return back to the QEventLoop that called processEvents, which very often will just call processEvents again, which in turn will restart NSApplication. After stopping NSApplication, Cocoa seems to throw away at least some of the posted cocoa events that are still pending. This will offcourse have inpact on things like window updates etc. that never happends. This patch will be more careful about when to stop NSApplication, and delay this until the run loop has finished one more spin after interrupt has been called. The same goes for modal sessions. Introducing this delay also made it neccessary to sometimes block cocoa from updating the stacking order of the windows. Autotest: qcoreapplication, qapplication, qtimer
Diffstat (limited to 'doc/src/howtos')
0 files changed, 0 insertions, 0 deletions