[Libreoffice-commits] core.git: Branch 'libreoffice-5-0' - sc/source

Jan-Marek Glogowski glogow at fbihome.de
Mon Oct 26 06:59:15 PDT 2015


 sc/source/ui/app/scmod.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit be4e0ce8a9de6b6c32aa7a7e157b2dbef74f215a
Author: Jan-Marek Glogowski <glogow at fbihome.de>
Date:   Fri Oct 23 14:51:08 2015 +0200

    tdf#94485 Lower Calc background spellchecker prio
    
    The Calc spell checker idle handler is currently running in the
    REPAINT / MEDIUM priority class - much too high.
    
    This races with the Calc GUI repaint for large documents, like
    the one attached to tdf#94485.
    
    So move it to the LOWER priority queue, to fix the lagging GUI.
    
    Change-Id: I6e4b05dd1a977182ec13f7e3a05f0722f502f226
    (cherry picked from commit 0db68ef9ca624cd0bda45c35c24a9abe106faf57)
    Reviewed-on: https://gerrit.libreoffice.org/19556
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>

diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index c135b53..328785e 100644
--- a/sc/source/ui/app/scmod.cxx
+++ b/sc/source/ui/app/scmod.cxx
@@ -174,7 +174,7 @@ ScModule::ScModule( SfxObjectFactory* pFact ) :
                                         ERRCODE_AREA_APP2-1,
                                         GetResMgr() );
 
-    aSpellIdle.SetPriority(SchedulerPriority::REPAINT);
+    aSpellIdle.SetPriority(SchedulerPriority::LOWER);
     aSpellIdle.SetIdleHdl( LINK( this, ScModule, SpellTimerHdl ) );
     aIdleTimer.SetTimeout(SC_IDLE_MIN);
     aIdleTimer.SetTimeoutHdl( LINK( this, ScModule, IdleHandler ) );


More information about the Libreoffice-commits mailing list