[Libreoffice-commits] core.git: vcl/unx

Takeshi Abe tabe at fixedpoint.jp
Wed Jul 20 08:18:53 UTC 2016


 vcl/unx/gtk/gtksalframe.cxx   |    2 ++
 vcl/unx/gtk3/gtk3gtkframe.cxx |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 1c81af2c1814e8bd12701f85e09cebf5fe206647
Author: Takeshi Abe <tabe at fixedpoint.jp>
Date:   Tue Jul 19 06:08:36 2016 +0900

    Resolves: tdf#100903 Calc hangs when preediting Japanese with GTK plugin
    
    ... + Mozc.
    This issue shares a common root with tdf#56937.
    
    Change-Id: Ic5720c19f22f7e6b047e1251b34f90d04ce7eee7
    Reviewed-on: https://gerrit.libreoffice.org/27305
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/vcl/unx/gtk/gtksalframe.cxx b/vcl/unx/gtk/gtksalframe.cxx
index a95b2ac..e2e75f9 100644
--- a/vcl/unx/gtk/gtksalframe.cxx
+++ b/vcl/unx/gtk/gtksalframe.cxx
@@ -3807,6 +3807,8 @@ uno::Reference<accessibility::XAccessibleEditableText>
             if (xText.is())
                 return xText;
         }
+        if (xState->contains(accessibility::AccessibleStateType::MANAGES_DESCENDANTS))
+            return uno::Reference< accessibility::XAccessibleEditableText >();
     }
 
     for (sal_Int32 i = 0; i < xContext->getAccessibleChildCount(); ++i)
diff --git a/vcl/unx/gtk3/gtk3gtkframe.cxx b/vcl/unx/gtk3/gtk3gtkframe.cxx
index adafe8b..c09a5ca 100644
--- a/vcl/unx/gtk3/gtk3gtkframe.cxx
+++ b/vcl/unx/gtk3/gtk3gtkframe.cxx
@@ -3928,6 +3928,8 @@ uno::Reference<accessibility::XAccessibleEditableText>
             if (xText.is())
                 return xText;
         }
+        if (xState->contains(accessibility::AccessibleStateType::MANAGES_DESCENDANTS))
+            return uno::Reference< accessibility::XAccessibleEditableText >();
     }
 
     for (sal_Int32 i = 0; i < xContext->getAccessibleChildCount(); ++i)


More information about the Libreoffice-commits mailing list