sc/source/ui/app/scmod.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 0db68ef9ca624cd0bda45c35c24a9abe106faf57 Author: Jan-Marek Glogowski <glo...@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 ) ); _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits