summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAlex Trotsenko <alex1973tr@gmail.com>2019-03-25 18:05:14 +0200
committerAlex Trotsenko <alex1973tr@gmail.com>2019-05-25 17:33:43 +0000
commit6a7cea64d20759ee4ff1e0c2f682868e2907661f (patch)
tree2a9f4a2c16cb1c207b9e30c27e7bcc0758fab128 /tests
parentf239cd5797e0fac1254adaccea61fe27408cea58 (diff)
QEventDispatcherWin32: rework sending of posted events
Since its initial implementation, QEventDispatcherWin32 manages a delivery of the posted events from the window procedure through WM_QT_SENDPOSTEDEVENTS message. That makes the implementation quite difficult and unclear. As a result, posted events get stalled, in case of using nested event loops or other recursion. The proposed solution is to send posted events at the beginning of processEvents() only once per iteration of the event loop. However, in case of using a foreign event loop (e.g. by opening a native modal dialog), we should leave the emission in the window procedure, as we don't control its execution. Task-number: QTBUG-74564 Change-Id: Ib7ce85b65405af6124823dda1451d1370aed9b1a Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions