[Libreoffice-commits] core.git: cui/source

Vasily Melenchuk (via logerrit) logerrit at kemper.freedesktop.org
Tue Dec 17 09:28:54 UTC 2019


 cui/source/options/optaboutconfig.cxx |    4 ++++
 cui/source/options/optjava.cxx        |    5 ++++-
 2 files changed, 8 insertions(+), 1 deletion(-)

New commits:
commit 99783d0edc2405f351322dfa2479c7fb36527878
Author:     Vasily Melenchuk <vasily.melenchuk at cib.de>
AuthorDate: Mon Dec 16 17:35:23 2019 +0100
Commit:     Thorsten Behrens <Thorsten.Behrens at CIB.de>
CommitDate: Tue Dec 17 10:27:50 2019 +0100

    ui: show wait mouse pointer on operations in Expert Configuration
    
    Expert Configuration is loading, resetting and searching values
    very slowly, so will be great to indicate busy status to user.
    
    Change-Id: Ic0d428d01a9f71ff899979162e1b307cd7cd7401
    Reviewed-on: https://gerrit.libreoffice.org/85242
    Tested-by: Jenkins
    Reviewed-by: Thorsten Behrens <Thorsten.Behrens at CIB.de>

diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 2b7a91360d09..a5adf7638c8d 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -217,6 +217,8 @@ void CuiAboutConfigTabPage::InsertEntry(const OUString& rPropertyPath, const OUS
 
 void CuiAboutConfigTabPage::Reset()
 {
+    weld::WaitObject aWait(m_xDialog.get());
+
     m_xPrefBox->clear();
     m_vectorOfModified.clear();
     if (m_bSorted)
@@ -786,6 +788,8 @@ IMPL_LINK_NOARG( CuiAboutConfigTabPage, StandardHdl_Impl, weld::Button&, void )
 
 IMPL_LINK_NOARG( CuiAboutConfigTabPage, SearchHdl_Impl, weld::Button&, void)
 {
+    weld::WaitObject aWait(m_xDialog.get());
+
     m_xPrefBox->clear();
     m_xPrefBox->freeze();
 
diff --git a/cui/source/options/optjava.cxx b/cui/source/options/optjava.cxx
index b27d3a33a51f..01fc840ae473 100644
--- a/cui/source/options/optjava.cxx
+++ b/cui/source/options/optjava.cxx
@@ -294,7 +294,10 @@ IMPL_LINK( SvxJavaOptionsPage, DialogClosedHdl, DialogClosedEvent*, pEvt, void )
 IMPL_LINK_NOARG(SvxJavaOptionsPage, ExpertConfigHdl_Impl, weld::Button&, void)
 {
     CuiAboutConfigTabPage aExpertConfigDlg(GetFrameWeld());
-    aExpertConfigDlg.Reset();//initialize and reset function
+    {
+        weld::WaitObject aWait(GetFrameWeld());
+        aExpertConfigDlg.Reset();//initialize and reset function
+    }
 
     if (RET_OK == aExpertConfigDlg.run())
     {


More information about the Libreoffice-commits mailing list