svx/source/inc/StylesPreviewWindow.hxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 993e2cf8b5cb986f0c5ba8c6f78d314671c76a92 Author: Miklos Vajna <vmik...@collabora.com> AuthorDate: Thu May 15 15:50:23 2025 +0200 Commit: Miklos Vajna <vmik...@collabora.com> CommitDate: Fri May 16 11:24:58 2025 +0200 svx: lower the priority of StylesListUpdateTask to TaskPriority::DEFAULT_IDLE The update of styles previews is probably less important thatn the update of the document area, so in case this stays in the TaskPriority::HIGHEST -> TaskPriority::REPAINT region, that's potentially problematic. In practice for example a LOK client may decide to register its anyInput callback to stop idle jobs in case no high priority jobs are scheduled on the main loop, and this would delay paintTile() calls due to this idle. Change-Id: I6a3135caccb8abe9a8117e0d8c7bdda0df7e2780 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/185369 Reviewed-by: Miklos Vajna <vmik...@collabora.com> Tested-by: Jenkins diff --git a/svx/source/inc/StylesPreviewWindow.hxx b/svx/source/inc/StylesPreviewWindow.hxx index 471b32f946cf..455462659079 100644 --- a/svx/source/inc/StylesPreviewWindow.hxx +++ b/svx/source/inc/StylesPreviewWindow.hxx @@ -83,7 +83,7 @@ public: : Idle("StylesListUpdateTask") , m_rStylesList(rStylesList) { - SetPriority(TaskPriority::HIGH_IDLE); + SetPriority(TaskPriority::DEFAULT_IDLE); } virtual void Invoke() override;