[Libreoffice-commits] core.git: vcl/qt5

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Wed Sep 5 17:51:02 UTC 2018


 vcl/qt5/Qt5Frame.cxx |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit de2c99f715aeac78ee310200b49006a56cdc8d17
Author:     Katarina Behrens <Katarina.Behrens at cib.de>
AuthorDate: Wed Sep 5 15:08:33 2018 +0200
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Wed Sep 5 19:50:38 2018 +0200

    Deactivate Qt5Frame's reimplementation of Flush()
    
    it causes too many issues: giant tooltips, dialogs can't be smaller
    than 640x480 etc. Need to figure out a better solution
    
    Change-Id: I4cc404687a60f2e0a39fd748fcc8cfea7cb7c0ac
    Reviewed-on: https://gerrit.libreoffice.org/60038
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index a60f16c82048..3365ed4af3b8 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -602,7 +602,8 @@ void Qt5Frame::SetPointerPos(long nX, long nY)
 
 void Qt5Frame::Flush()
 {
-    QGuiApplication::sync();
+    // was: QGuiApplication::sync();
+    // but FIXME it causes too many issues, figure out sth better
 
     // unclear if we need to also flush cairo surface - gtk3 backend
     // does not do it. QPainter in Qt5Widget::paintEvent() is


More information about the Libreoffice-commits mailing list