GNOME Bugzilla – Bug 465854
RuntimeError when performing role_accel_label test (new pyatspi).
Last modified: 2008-07-22 19:32:20 UTC
With a patched version of orca from bug 448848. When I run test/keystrokes/gtk-demo/role_accel_label.py I get the following exception: Traceback (most recent call last):
+ Trace 154564
self.registry.handleEvent(ev)
self._dispatchEvent(event)
clients = self.clients[et.name]
The funny thing is that any string comparison will trigger that. So if I insert "print 'elton' == 'john'" at registry.py:618, A similar exception is raised.
This has stumped me for a while. It turns out that there was more then one reason event type comparison wasn't working in FocusTrackingPresenter._enqueueEvent(). This didn't allow object:property-change:accessible-parent events to be filtered out, and thus caused a stack overflow in synchronous mode. Does all that make sense? not %100. Did the back trace that orca provided make sense? No, and it was indeterminate, changing with one computer state to another. Will I further investigate all these anomalies? Not now :)
(In reply to comment #1) > This has stumped me for a while. > It turns out that there was more then one reason event type comparison wasn't > working in FocusTrackingPresenter._enqueueEvent(). This didn't allow > object:property-change:accessible-parent events to be filtered out, and thus > caused a stack overflow in synchronous mode. Does all that make sense? not > %100. Did the back trace that orca provided make sense? No, and it was > indeterminate, changing with one computer state to another. Will I further > investigate all these anomalies? Not now :) Strange. So, how did you fix it?
> Strange. So, how did you fix it? > I fixed the event type comparison so object:property-change:accessible-parent doesn't hose it all.
Created attachment 93786 [details] [review] Fix Just added this for the sake of the scribes.