[orca] Don't ignore selection events for embedded objects if command used
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't ignore selection events for embedded objects if command used
- Date: Thu, 25 Feb 2016 23:54:58 +0000 (UTC)
commit 45e61593e70ee4d7ca5c1441d78994f5f094d57c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Feb 25 18:53:52 2016 -0500
Don't ignore selection events for embedded objects if command used
src/orca/scripts/web/script.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script.py b/src/orca/scripts/web/script.py
index c39630a..e1bd25e 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1803,7 +1803,8 @@ class Script(default.Script):
char = text.getText(event.detail1, event.detail1+1)
if char == self.EMBEDDED_OBJECT_CHARACTER \
- and not self.utilities.lastInputEventWasCaretNavWithSelection():
+ and not self.utilities.lastInputEventWasCaretNavWithSelection() \
+ and not self.utilities.lastInputEventWasCommand():
msg = "WEB: Ignoring: Not selecting and event offset is at embedded object"
debug.println(debug.LEVEL_INFO, msg, True)
return True
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]