[Libreoffice-commits] core.git: sc/source

Jan-Marek Glogowski glogow at fbihome.de
Fri Oct 23 06:40:09 PDT 2015


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

New commits:
commit 0db68ef9ca624cd0bda45c35c24a9abe106faf57
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

diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx
index 5b59330..833eaee 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