[orca] Remove the STATE_SHOWING check from onSelectionChanged()

commit b6f65594510a5d609c07c01b78244bc0f3476698
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Nov 6 19:49:33 2013 -0500

    Remove the STATE_SHOWING check from onSelectionChanged()
    At least in the case of Xul combo boxes, this check causes us to not
    present the newly selected item when the combo box is collapsed.

 src/orca/scripts/default.py |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 54d7d8c..c3e7755 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -2450,9 +2450,6 @@ class Script(script.Script):
         state = obj.getState()
         if state.contains(pyatspi.STATE_MANAGES_DESCENDANTS):
-        if not state.contains(pyatspi.STATE_SHOWING):
-            return
         # Save the event source, if it is a menu or combo box. It will be
         # useful for optimizing componentAtDesktopCoords in the case that

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