[orca] Comment out the name check for defunct accessibles
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Comment out the name check for defunct accessibles
- Date: Sun, 7 Jun 2015 22:50:38 +0000 (UTC)
commit f699076163f2b1d3b129d972c2b41533653b3bc2
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sun Jun 7 18:47:46 2015 -0400
Comment out the name check for defunct accessibles
Simply asking for the name should not break anything and should make it
possible for us to quickly identify defunct accessibles whose events we
want to ignore and ultimately will ignore. But the mere act of asking
the event source for its name causes Orca to stop presenting Eclipse
(and possibly other) applications. :(
src/orca/event_manager.py | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/event_manager.py b/src/orca/event_manager.py
index 4f03991..cdf76e8 100644
--- a/src/orca/event_manager.py
+++ b/src/orca/event_manager.py
@@ -123,7 +123,12 @@ class EventManager:
return False
try:
- name = event.source.name
+ # TODO - JD: For now we won't ask for the name. Simply asking for the name should
+ # not break anything, and should be a reliable way to quickly identify defunct
+ # objects. But apparently the mere act of asking for the name causes Orca to stop
+ # presenting Eclipse (and possibly other) applications. This might be an AT-SPI2
+ # issue, but until we know for certain....
+ #name = event.source.name
state = event.source.getState()
except:
msg = 'ERROR: %s from potentially-defunct source %s in app %s (%s, %s, %s)' % \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]