[orca] Add more debugging
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add more debugging
- Date: Wed, 30 Oct 2019 14:14:49 +0000 (UTC)
commit 062e8b0d26f9a61bb977fce6a34e5dc121a86224
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Oct 30 10:14:45 2019 -0400
Add more debugging
src/orca/eventsynthesizer.py | 8 ++++++++
1 file changed, 8 insertions(+)
---
diff --git a/src/orca/eventsynthesizer.py b/src/orca/eventsynthesizer.py
index e557e09b5..7b1a56d76 100644
--- a/src/orca/eventsynthesizer.py
+++ b/src/orca/eventsynthesizer.py
@@ -340,8 +340,16 @@ def _obscuringBanner(obj):
component = document.queryComponent()
left = component.getAccessibleAtPoint(docX, objY, pyatspi.WINDOW_COORDS)
+ msg = "EVENT SYNTHESIZER: Accessible at (%i, %i): %s" % (docX, objY, left)
+ debug.println(debug.LEVEL_INFO, msg, True)
+
right = component.getAccessibleAtPoint(docX + docWidth, objY, pyatspi.WINDOW_COORDS)
+ msg = "EVENT SYNTHESIZER: Accessible at (%i, %i): %s" % (docX + docWidth, objY, right)
+ debug.println(debug.LEVEL_INFO, msg, True)
+
if not (left and right and left == right != document):
+ msg = "EVENT SYNTHESIZER: No obscuring banner found for %s" % obj
+ debug.println(debug.LEVEL_INFO, msg, True)
return None
msg = "EVENT SYNTHESIZER: %s believed to be obscured by banner %s" % (obj, left)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]