[orca] Add some more debugging output
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add some more debugging output
- Date: Wed, 1 Jul 2020 12:58:43 +0000 (UTC)
commit 541ceaed1536779307f0fd2929570d2af667c25c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Jul 1 14:58:11 2020 +0200
Add some more debugging output
src/orca/eventsynthesizer.py | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
---
diff --git a/src/orca/eventsynthesizer.py b/src/orca/eventsynthesizer.py
index 6e632c8a9..70869d06b 100644
--- a/src/orca/eventsynthesizer.py
+++ b/src/orca/eventsynthesizer.py
@@ -401,7 +401,14 @@ def _getAccessibleAtPoint(root, x, y):
def _obscuringBanner(obj):
document = _containingDocument(obj)
- if not document and "Component" in pyatspi.listInterfaces(document):
+ if not document:
+ msg = "EVENT SYNTHESIZER: No obscuring banner found for %s. No document." % obj
+ debug.println(debug.LEVEL_INFO, msg, True)
+ return None
+
+ if not "Component" in pyatspi.listInterfaces(document):
+ msg = "EVENT SYNTHESIZER: No obscuring banner found for %s. No doc iface." % obj
+ debug.println(debug.LEVEL_INFO, msg, True)
return None
objX, objY, objWidth, objHeight = _objectExtents(obj)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]