[orca] Do not supress presentation of locking keys in password fields



commit c8a4a28b5000fb30dc7b9871d262fff079ce9cca
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon Jul 11 08:12:43 2016 -0400

    Do not supress presentation of locking keys in password fields

 src/orca/scripts/default.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 5bdc769..ac19dc4 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3755,7 +3755,7 @@ class Script(script.Script):
                 orca.setLocusOfFocus(None, focusedObject, False)
                 role = focusedObject.getRole()
 
-        if role == pyatspi.ROLE_PASSWORD_TEXT:
+        if role == pyatspi.ROLE_PASSWORD_TEXT and not event.isLockingKey():
             return False
 
         # Worst. Hack. EVER. We have no reliable way of knowing a password is


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