diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-02-27 20:34:00 +0000 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2014-03-03 10:48:05 +0000 |
commit | 7163d64b90ac4d4259b1d0379cfca348dd30601c (patch) | |
tree | eca83beaf5f358cab84927b28a8b2c9689fda55e /extensions/README | |
parent | e72849cd435cc50a744dcbcfb422f5600dd0cce9 (diff) |
KDE4: evaluate frameWidth in the Qt thread
When opening a document via Java UNO without a running LO instance, one
gets the following Qt error messages:
CE> QObject: Cannot create children for a parent that is in a different thread.
CE> (Parent is Oxygen::WidgetStateEngine(0x8deb878), parent's thread is QThread(0x8d6cf70), current thread is QThread(0xa8fa7fc8)
CE> QObject::installEventFilter(): Cannot filter events for objects in a different thread.
CE> QObject::installEventFilter(): Cannot filter events for objects in a different thread.
CE> QObject::installEventFilter(): Cannot filter events for objects in a different thread.
This happens, because the Java UNO call is processed in the first /
Qt thread while document loading happens in a second thread.
Document loading actually just calls getNativeControlRegion, which
should not involve any drawing. But the KDE4 backend does some style
processing to get the correct frame width (QWidget::ensurePolished(),
which uses GUI based events and need to be processed in the Qt
thread.
Change-Id: I344d5089d958963c48a9a8a84bfa9fe8f092b75a
Diffstat (limited to 'extensions/README')
0 files changed, 0 insertions, 0 deletions