[Libreoffice-commits] core.git: Branch 'libreoffice-4-3' - sc/source

Niklas Johansson sleeping.pillow at gmail.com
Thu Sep 25 01:54:57 PDT 2014


 sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit cc803df1a94bf572bd14ff5402ccbad5674c9bef
Author: Niklas Johansson <sleeping.pillow at gmail.com>
Date:   Mon Sep 15 08:57:01 2014 +0200

    fdo#81264 Calc is not accessible to screen readers if sheet is modified [a11y]
    
    When the IA2 changes was merged it removed the call to CommitFocusGained
    and thereby stopped sending a STATE_CHANGED FOCUSED. A big thank you to
    Joanmarie Diggs for noticing the lack of that event.
    
    I tested the patch on Fedora, Windows and Mac. At a quick glance Windows and Mac seem unaffected by the patch but Fedora and Orca seem to require the added event.
    
    Change-Id: Ic616d1b367ad8b8ed5d243e0ba124764082e96f1
    Reviewed-on: https://gerrit.libreoffice.org/11451
    Reviewed-by: Eike Rathke <erack at redhat.com>
    Tested-by: Eike Rathke <erack at redhat.com>
    (cherry picked from commit 93410b5ba13749cf3663d3d696fe1a14474bf696)
    Reviewed-on: https://gerrit.libreoffice.org/11544
    Reviewed-by: Caolán McNamara <caolanm at redhat.com>
    Tested-by: Caolán McNamara <caolanm at redhat.com>

diff --git a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
index 6d26093..6cb8118 100644
--- a/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
+++ b/sc/source/ui/Accessibility/AccessibleSpreadsheet.cxx
@@ -362,6 +362,7 @@ void ScAccessibleSpreadsheet::LostFocus()
 
 void ScAccessibleSpreadsheet::GotFocus()
 {
+    CommitFocusGained();
     AccessibleEventObject aEvent;
     aEvent.EventId = AccessibleEventId::ACTIVE_DESCENDANT_CHANGED;
     aEvent.Source = uno::Reference< XAccessibleContext >(this);


More information about the Libreoffice-commits mailing list