[orca] Don't automatically set the locus of focus when the caret moves in an LO text widget



commit cf9a1d1af8b7fce22be81415b5ccad60ea38c194
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Feb 3 11:42:57 2014 -0500

    Don't automatically set the locus of focus when the caret moves in an LO text widget

 src/orca/scripts/apps/soffice/script.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/script.py b/src/orca/scripts/apps/soffice/script.py
index f5f5e2e..2bd90cd 100644
--- a/src/orca/scripts/apps/soffice/script.py
+++ b/src/orca/scripts/apps/soffice/script.py
@@ -966,6 +966,10 @@ class Script(default.Script):
         if self.utilities.isCellBeingEdited(event.source):
             orca.setLocusOfFocus(event, event.source.parent, False)
 
+        if orca_state.locusOfFocus.getRole() == pyatspi.ROLE_TABLE_CELL:
+            default.Script.onCaretMoved(self, event)
+            return
+
         # The lists and combo boxes in the Formatting toolbar emit
         # object:active-descendant-changed events which cause us
         # to set the locusOfFocus to the list item. If the user then


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]