[orca/gnome-3-20] Do not supress presentation of locking keys in password fields



commit 97abeb090cc240184beeb855dd21102adaab4e21
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 e551bc2..84209fc 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3744,7 +3744,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]