[orca] Don't tree insertions as autotext events if the source isn't showing
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't tree insertions as autotext events if the source isn't showing
- Date: Sat, 20 Feb 2016 18:59:04 +0000 (UTC)
commit deb5909b7559cc3a4452b830823372e1b1217e9f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Feb 20 13:57:39 2016 -0500
Don't tree insertions as autotext events if the source isn't showing
src/orca/script_utilities.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 24d52d2..08fade2 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -2831,6 +2831,8 @@ class Utilities:
state = event.source.getState()
if not state.contains(pyatspi.STATE_EDITABLE):
return False
+ if not state.contains(pyatspi.STATE_SHOWING):
+ return False
lastKey, mods = self.lastKeyAndModifiers()
if lastKey == "Tab" and event.any_data != "\t":
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]