[orca] Only present text changes from typeahead entries if they are focused
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Only present text changes from typeahead entries if they are focused
- Date: Tue, 16 Jan 2018 18:11:20 +0000 (UTC)
commit 0fc60fc5fbc521599f59b2098edaac4eb5fd02f3
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Jan 16 13:10:38 2018 -0500
Only present text changes from typeahead entries if they are focused
src/orca/script_utilities.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 4bab35c..8510198 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -4571,6 +4571,9 @@ class Utilities:
debug.println(debug.LEVEL_INFO, msg, True)
return False
+ if self.isTypeahead(event.source):
+ return state.contains(pyatspi.STATE_FOCUSED)
+
if role == pyatspi.ROLE_PASSWORD_TEXT and state.contains(pyatspi.STATE_FOCUSED):
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]