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

New commits:
commit cc803df1a94bf572bd14ff5402ccbad5674c9bef
Author: Niklas Johansson <sleeping.pil...@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 <er...@redhat.com>
    Tested-by: Eike Rathke <er...@redhat.com>
    (cherry picked from commit 93410b5ba13749cf3663d3d696fe1a14474bf696)
    Reviewed-on: https://gerrit.libreoffice.org/11544
    Reviewed-by: Caolán McNamara <caol...@redhat.com>
    Tested-by: Caolán McNamara <caol...@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);
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to