diff options
author | Michael Stahl <mstahl@redhat.com> | 2015-11-16 21:22:46 +0100 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2015-11-17 10:20:33 +0100 |
commit | 1d87c2456dab9a0f78ab25d029e82139488e2c57 (patch) | |
tree | 977d918df1bc0824b42c016985b78d30209fdbf5 /g | |
parent | 95af641c81a67103849385b0f8e7b4953efcef0e (diff) |
qadevOOo: fix race in the ScAccessiblePreviewTable event test
XAccessibleEventBroadcaster::addAccessibleEventListener test calls the
fireEvent() and the problem is that the event is triggered not on the
print preview itself, but some toolbar button. This then causes an
accessible event to be broadcast from the print preview too, but only
after doAccessibleAction() returns, some time later from VCL main-loop.
If the test checks the flag in the listener before the main thread sends
the event, the test fails; try to fix that with
XToolkit::processEventsToIdle().
Change-Id: Ia52bdf99cdc349ffb0a03536fba271b792caae0f
Diffstat (limited to 'g')
0 files changed, 0 insertions, 0 deletions