[orca] Work around objects which claim no size when looking for object at point



commit c23340115c6c425357741e8474fb8dcff8712205
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Sat Jun 30 15:54:15 2018 -0400

    Work around objects which claim no size when looking for object at point

 src/orca/script_utilities.py | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index cfae80d51..084254e77 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3898,6 +3898,9 @@ class Utilities:
         if not obj:
             return False
 
+        if self.hasNoSize(obj):
+            return False
+
         roles = [pyatspi.ROLE_MENU,
                  pyatspi.ROLE_PAGE_TAB]
 


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