[orca] Mouse review: Ensure we compare the top level document with the active one
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Mouse review: Ensure we compare the top level document with the active one
- Date: Tue, 17 Mar 2020 15:57:50 +0000 (UTC)
commit a9eb523800c55b9d8213949cd5067acb22c09265
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Mar 17 11:56:05 2020 -0400
Mouse review: Ensure we compare the top level document with the active one
Otherwise mouse review can fail in embedded documents such as the one
that pops up to display Google apps on google.com.
Thanks to Colomban Wendling for debugging this!
src/orca/mouse_review.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/mouse_review.py b/src/orca/mouse_review.py
index 2c064e200..15189e9d1 100644
--- a/src/orca/mouse_review.py
+++ b/src/orca/mouse_review.py
@@ -515,7 +515,7 @@ class MouseReviewer:
debug.println(debug.LEVEL_INFO, msg, True)
return
- objDocument = script.utilities.getDocumentForObject(obj)
+ objDocument = script.utilities.getTopLevelDocumentForObject(obj)
if objDocument and script.utilities.inDocumentContent():
document = script.utilities.activeDocument()
if document != objDocument:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]