• Luboš Luňák's avatar
    force posted events before timer timeouts in KDE4 event loop (bnc#467278) · 81001312
    Luboš Luňák yazdı
    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
    81001312
Adı
Son kayıt (commit)
Son güncelleme
..
FPServiceInfo.hxx Loading commit data...
KDE4FilePicker.cxx Loading commit data...
KDE4FilePicker.hxx Loading commit data...
KDEData.cxx Loading commit data...
KDEData.hxx Loading commit data...
KDESalDisplay.cxx Loading commit data...
KDESalDisplay.hxx Loading commit data...
KDESalFrame.cxx Loading commit data...
KDESalFrame.hxx Loading commit data...
KDESalGraphics.cxx Loading commit data...
KDESalGraphics.hxx Loading commit data...
KDESalInstance.cxx Loading commit data...
KDESalInstance.hxx Loading commit data...
KDEXLib.cxx Loading commit data...
KDEXLib.hxx Loading commit data...
VCLKDEApplication.cxx Loading commit data...
VCLKDEApplication.hxx Loading commit data...
main.cxx Loading commit data...
tst_exclude_posted_events.hxx Loading commit data...
tst_exclude_socket_notifiers.hxx Loading commit data...