diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2015-10-23 14:51:08 +0200 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2015-10-23 15:38:13 +0200 |
commit | 0db68ef9ca624cd0bda45c35c24a9abe106faf57 (patch) | |
tree | c62793cc2988c72241acb053f566e00d89138052 | |
parent | 8d80b5be024bdbcfedd41b32cbb5c6b71724dd33 (diff) |
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
-rw-r--r-- | sc/source/ui/app/scmod.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/ui/app/scmod.cxx b/sc/source/ui/app/scmod.cxx index 5b5933056d77..833eaeef18ca 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 ) ); |