summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorAshod Nakashian <ashod.nakashian@collabora.co.uk>2019-11-30 18:14:06 -0500
committerMichael Meeks <michael.meeks@collabora.com>2019-12-03 09:47:25 +0100
commitb31c39cbc843e77c8d97dbb2e559b48b21202ba6 (patch)
tree7e9847320608d0b3d0d5349ce1baad87d91c50fb /compilerplugins
parentc4ef1caaeada44750cb420cc755532e5df1c5fb9 (diff)
desktop: disable callback handling while changing the view
When changing the view, some components are disabled and re-enabled. This triggers a flood of invalidations that then result in rendering requests. For each rendering the view is set, which triggers more invalidations. The Sidebar suffers from this, and it causes cpu pegging. This fix prevents this issue by disabling all callbacks during setView. Change-Id: If6b93b2ab31f568a0761f15d945a43de1bc2d4d0 Reviewed-on: https://gerrit.libreoffice.org/84184 Reviewed-by: Ashod Nakashian <ashnakash@gmail.com> Tested-by: Ashod Nakashian <ashnakash@gmail.com> Reviewed-on: https://gerrit.libreoffice.org/84226 Tested-by: Jenkins Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/unusedmethods.results6
1 files changed, 0 insertions, 6 deletions
diff --git a/compilerplugins/clang/unusedmethods.results b/compilerplugins/clang/unusedmethods.results
index 39f442e6206d..9b83e3676a05 100644
--- a/compilerplugins/clang/unusedmethods.results
+++ b/compilerplugins/clang/unusedmethods.results
@@ -128,12 +128,6 @@ dbaccess/source/ui/inc/SqlNameEdit.hxx:105
void dbaui::OSQLNameEntry::set_sensitive(_Bool)
dbaccess/source/ui/inc/WTypeSelect.hxx:76
void dbaui::OWizTypeSelectList::show()
-desktop/inc/lib/init.hxx:83
- void desktop::CallbackFlushHandler::setEventLatch(const _Bool)
-desktop/inc/lib/init.hxx:88
- _Bool desktop::CallbackFlushHandler::isEventLatchOn() const
-desktop/inc/lib/init.hxx:90
- _Bool desktop::CallbackFlushHandler::isPartTilePainting() const
desktop/source/lib/lokclipboard.hxx:96
LOKClipboardFactory::LOKClipboardFactory()
drawinglayer/source/tools/emfpcustomlinecap.hxx:38