summaryrefslogtreecommitdiff
path: root/vcl/README.scheduler
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2017-10-14 01:43:07 +0200
committerJan-Marek Glogowski <glogow@fbihome.de>2017-10-16 16:05:19 +0200
commitc69c1ee9d1305c284be48a7a973810da16c15541 (patch)
treedd535082f817ea79311b278cb7c1a3849d2b86b1 /vcl/README.scheduler
parentbcccdc71cb363760c6b0899fd13dee4203ec8711 (diff)
tdf#112076 OSX post timeout after shouldCloseWindow
It seems that something filters application defined events when closing a window... DoYield expects a timeout event, which never arrives, stopping all redraw and generating a busy loop. Change-Id: Ic83468cceac7b967acaecf18b321178fc7565b94 Reviewed-on: https://gerrit.libreoffice.org/43381 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
Diffstat (limited to 'vcl/README.scheduler')
-rw-r--r--vcl/README.scheduler4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/README.scheduler b/vcl/README.scheduler
index 566a88629301..17648ae3b439 100644
--- a/vcl/README.scheduler
+++ b/vcl/README.scheduler
@@ -170,6 +170,10 @@ There is also a workaround for a problem for pushing tasks to an empty queue,
as [NSApp postEvent: ... atStart: NO] doesn't append the event, if the
message queue is empty.
+An additional problem is the filtering of events on Window close. This drops
+posted timer events, when a Window is closed resulting in a busy DoYield loop,
+so we have to re-post the event, after closing a window.
+
== Windows implementation details ==
Posted or sent event messages often trigger processing of WndProc in