vcl/qt5/Qt5AccessibleWidget.cxx |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 7be0f62de07aa3a046f0996eeb673d9a4d7c9672
Author:     Michael Weghorn <m.wegh...@posteo.de>
AuthorDate: Tue Jul 20 13:29:32 2021 +0200
Commit:     Michael Weghorn <m.wegh...@posteo.de>
CommitDate: Wed Jul 21 04:08:27 2021 +0200

    qt5 a11y: Handle AccessibleStateType::MOVEABLE
    
    This addresses warnings like
    
        warn:vcl.qt5:151782:151782:vcl/qt5/Qt5AccessibleWidget.cxx:636: 
Unmapped state: 31
    
    which I started seeing when running LO with kf5 VCL plugin and Orca
    enabled after
    
        commit ddbc111555607e62b94b74aacadd6a964b9fe4a5
        Author: Michael Weghorn <m.wegh...@posteo.de>
        Date:   Mon Jul 19 17:13:04 2021 +0200
    
            qt5 a11y: Set proper a11y states
    
    had fixed handling of a11y states.
    
    Change-Id: I00b8f2f75954fbd7d9e5f0807b51e5632d1a8035
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/119248
    Tested-by: Jenkins
    Reviewed-by: Michael Weghorn <m.wegh...@posteo.de>

diff --git a/vcl/qt5/Qt5AccessibleWidget.cxx b/vcl/qt5/Qt5AccessibleWidget.cxx
index 6e104a43d6e0..fdce6e41fc87 100644
--- a/vcl/qt5/Qt5AccessibleWidget.cxx
+++ b/vcl/qt5/Qt5AccessibleWidget.cxx
@@ -587,6 +587,9 @@ void lcl_addState(QAccessible::State* state, sal_Int16 
nState)
         case AccessibleStateType::MODAL:
             state->modal = true;
             break;
+        case AccessibleStateType::MOVEABLE:
+            state->movable = true;
+            break;
         case AccessibleStateType::OPAQUE:
             // No match
             break;
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to