[Libreoffice-commits] core.git: Branch 'distro/collabora/cp-6.0' - vcl/source

Henry Castro (via logerrit) logerrit at kemper.freedesktop.org
Thu Sep 26 19:10:59 UTC 2019


 vcl/source/window/paint.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit a960bd6e896129104a12bf8bd0145797097119f2
Author:     Henry Castro <hcastro at collabora.com>
AuthorDate: Wed Sep 25 07:11:24 2019 -0400
Commit:     Tor Lillqvist <tml at collabora.com>
CommitDate: Thu Sep 26 21:10:04 2019 +0200

    tdf#126967:vcl: lok: avoid starting idle paint task
    
    In the Tiled rendering case the invalidation is handled
    by sending logic invalidate notifications to client side.
    Starting an idle paint task, it provokes an infinity loop
    that it does not have the chance to process client side messages
    (mpPollCallback).
    
    Change-Id: I6ef1bbd6270592eebfeef0c8a37945bf5ddd3580
    Reviewed-on: https://gerrit.libreoffice.org/79537
    Tested-by: Jenkins
    Reviewed-by: Tor Lillqvist <tml at collabora.com>
    Tested-by: Tor Lillqvist <tml at collabora.com>
    (cherry picked from commit bb11efa477b6700744560d3999190c65d016600b)
    Reviewed-on: https://gerrit.libreoffice.org/79591

diff --git a/vcl/source/window/paint.cxx b/vcl/source/window/paint.cxx
index 6fd447cbce70..27056ee3f331 100644
--- a/vcl/source/window/paint.cxx
+++ b/vcl/source/window/paint.cxx
@@ -652,6 +652,9 @@ IMPL_LINK_NOARG(Window, ImplHandlePaintHdl, Timer *, void)
     else if ( mpWindowImpl->mbReallyVisible )
     {
         ImplCallOverlapPaint();
+        if (comphelper::LibreOfficeKit::isActive() &&
+            mpWindowImpl->mpFrameData->maPaintIdle.IsActive())
+            mpWindowImpl->mpFrameData->maPaintIdle.Stop();
     }
 }
 


More information about the Libreoffice-commits mailing list