[orca/orca-xdesktop] Fix for bug 599361 - Significant delay building up the contents of certain lines in Firefox



commit 7664bf5ee8501c4afe31438d6395941dd4d2eeff
Author: Victor Ramirez <vramirez emergya com>
Date:   Mon Aug 29 23:18:32 2011 +0000

    Fix for bug 599361 - Significant delay building up the contents of certain lines in Firefox

 src/orca/scripts/toolkits/Gecko/script.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 9610783..dd705a5 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -2067,7 +2067,8 @@ class Script(default.Script):
                 candidate = candidate.parent
 
             if self.utilities.isSameObject(obj, candidate) \
-               and start <= offset < end:
+               and (start <= offset < end or candidate.getRole() == \
+               pyatspi.ROLE_ENTRY):
                 index = contents.index(content)
                 break
 



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