desktop/source/deployment/gui/dp_gui_dialog2.cxx | 2 +- vcl/source/control/prgsbar.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
New commits: commit 5077a1f66411efd78110206343b07fa6ff8d58b0 Author: Michael Meeks <michael.me...@collabora.com> Date: Wed Jan 13 14:41:53 2016 +0000 tdf#95573 - stop (crazy) busy loop from blocking rendering. Attempt to blind fix extensions problem on OS/X. Some quite amazing code there. To avoid each busy idle from invalidating, avoid progress bar invalidation for the same %age being set. Change-Id: If96f8615c0ea712681e008972b3abe1c070a3227 diff --git a/desktop/source/deployment/gui/dp_gui_dialog2.cxx b/desktop/source/deployment/gui/dp_gui_dialog2.cxx index e25a28e..2f25386 100644 --- a/desktop/source/deployment/gui/dp_gui_dialog2.cxx +++ b/desktop/source/deployment/gui/dp_gui_dialog2.cxx @@ -1198,7 +1198,7 @@ UpdateRequiredDialog::UpdateRequiredDialog(vcl::Window *pParent, TheExtensionMan m_pUpdateBtn->Enable( false ); m_pCloseBtn->GrabFocus(); - m_aIdle.SetPriority( SchedulerPriority::MEDIUM ); + m_aIdle.SetPriority( SchedulerPriority::LOWEST ); m_aIdle.SetIdleHdl( LINK( this, UpdateRequiredDialog, TimeOutHdl ) ); } diff --git a/vcl/source/control/prgsbar.cxx b/vcl/source/control/prgsbar.cxx index c13c14e..9f8f303 100644 --- a/vcl/source/control/prgsbar.cxx +++ b/vcl/source/control/prgsbar.cxx @@ -177,7 +177,7 @@ void ProgressBar::SetValue( sal_uInt16 nNewPercent ) Update(); } } - else + else if ( mnPercent != nNewPercent ) { mnPreviousPercent = mnPercent; mnPercent = nNewPercent; _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits