office-gobmx/vcl/unx
Luboš Luňák 8100131214 force posted events before timer timeouts in KDE4 event loop (bnc#467278)
In this particular case, basctl::Shell::onDocumentCreated() and pretty much
everything in basctl/ it seems operate on the current window. The "OnNew"
event that triggers this comes from a timeout generated who knows where
for whatever reason. However, the code "knows" what the current window
is by having basctl::Shell::SetCurWindow() react on events about the current
window changing ... which come from posted events.

So, unless it's defined somewhere that an ordering here must exist, this
is inherently racy. At least generic and Gtk event loops appear to always
deliver the posted event first, so force the same ordering in the KDE
event loop handling.

Change-Id: Ia098f6b45e6b5a5133a12a9172eb09069e6362f9
2014-05-23 18:56:05 +02:00
..
generic cp#1000078: Replace "\r\n" with "\n" when pasting from X11 clipboard. 2014-05-22 16:31:33 +02:00
gtk Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15 2014-05-17 23:33:02 +02:00
gtk3
kde Prefer cppu::UnoType<T>::get() to ::getCppuType((T*)0) part15 2014-05-17 23:33:02 +02:00
kde4 force posted events before timer timeouts in KDE4 event loop (bnc#467278) 2014-05-23 18:56:05 +02:00
x11 simplify ternary conditions "xxx ? true : yyy" 2014-05-06 07:45:25 +02:00