[orca] Fix regression from previously-committed workaround
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix regression from previously-committed workaround
- Date: Sun, 3 Dec 2017 17:04:42 +0000 (UTC)
commit 7d608149e38f8fbed016e730585315debd31898a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Dec 3 12:03:56 2017 -0500
Fix regression from previously-committed workaround
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 f199417..7073aba 100644
--- a/src/orca/scripts/web/script.py
+++ b/src/orca/scripts/web/script.py
@@ -1893,7 +1893,8 @@ class Script(default.Script):
debug.println(debug.LEVEL_INFO, msg, True)
self.structuralNavigation.clearCache(document)
- if not self.utilities.isContentEditableWithEmbeddedObjects(event.source):
+ if not event.source.getState().contains(pyatspi.STATE_EDITABLE) \
+ and not self.utilities.isContentEditableWithEmbeddedObjects(event.source):
if self._inMouseOverObject \
and self.utilities.isZombie(self._lastMouseOverObject):
msg = "WEB: Restoring pre-mouseover context"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]