GNOME Bugzilla – Bug 345721
Press Number key, will cause orca hang when try to read the mail in Evolution.
Last modified: 2015-12-21 21:30:49 UTC
Please describe the problem: Press Number key, will cause orca hang when try to read the mail in Evolution. Steps to reproduce: 1. Start Orca; 2. Start Evolution; 3. Go to one mail, focus on the mail body; 4. Press Number key, for example, Press 6 in the Number keyboard Actual results: Orca will hang and aslo evolution will hang. Expected results: Orca will read out the mail word by word. Does this happen every time? yes Other information: Not only happened in Evolution. Another application like Gaim, when focus on the conversation message, press number key, orca will hang. After kill orca, then all the application work well.
I couldn't get this to hang, but I did get it to cause a traceback everytime I hit the 6 on the numeric keypad: Traceback (most recent call last):
+ Trace 69105
consumed = self._function(script, inputEvent)
context = self.getFlatReviewContext()
lines = self.clusterZonesByLine(self.getShowingZones())
return flat_review.getShowingZones(obj)
objlist.extend(getShowingZones(child))
return getZonesFromAccessible(root, root.extents)
extents = accessible.component.getExtents(0)
Investigating further...
We have many places in evolution where flat review doesn't work. You can almost always have this problem while trying to flat review the inbox at any place as well.
The Evolution accessible object with a component field of None is the Status table column header in the mail message summary table: gZFA: accessible: <orca.atspi.Accessible instance at 0x87b9c0c> gZFA: object role: table column header gZFA: name: Status gZFA: component: None +-name='evolution-2.6' role='application' state='' +-name='Evolution - INBOX (12 total, 4 unread)' role='frame' state='ACTIVE ENABLED RESIZABLE SENSITIVE SHOWING VISIBLE' +-name=None role='filler' state='ENABLED SENSITIVE SHOWING VERTICAL VISIBLE' +-name=None role='panel' state='ENABLED SENSITIVE SHOWING VISIBLE' +-name=None role='filler' state='ENABLED SENSITIVE SHOWING VERTICAL VISIBLE' +-name=None role='split pane' state='ENABLED FOCUSABLE HORIZONTAL SENSITIVE SHOWING VISIBLE' +-name=None role='page tab list' state='ENABLED SENSITIVE SHOWING VISIBLE' +-name=None role='page tab' state='ENABLED SELECTABLE SELECTED SHOWING VISIBLE' +-name=None role='panel' state='ENABLED SENSITIVE SHOWING VISIBLE' +-name=None role='panel' state='ENABLED RESIZABLE SENSITIVE SHOWING VISIBLE' +-name=None role='filler' state='ENABLED SENSITIVE SHOWING VERTICAL VISIBLE' +-name=None role='split pane' state='ENABLED FOCUSABLE SENSITIVE SHOWING VERTICAL VISIBLE' +-name=None role='scroll pane' state='ENABLED FOCUSABLE SENSITIVE SHOWING VISIBLE' +-name='Messages' role='unknown' state='ENABLED FOCUSABLE SENSITIVE SHOWING VISIBLE' +-name='Messages' role='tree table' state='ENABLED SENSITIVE SHOWING TRANSIENT VISIBLE' +-name='Status' role='table column header' state='ENABLED SENSITIVE SHOWING VISIBLE' From looking at the component hierarchy with at-poke, I can see that none of the column headers in this table have a component value. This seems like an Evolution bug to me. Having said that, we should probably bullet-proof it a little better in Orca.
Created attachment 68131 [details] [review] Fix to dramatically improve the situation, nay dare I even say, fix the problem. With the attached two line change flat review seems to work nicely now. I don't think it'll be able to traverse accessible objects with their component field set to None (and we should probably file an Evolution bug on that), but it sure make Orca a lot more useable. Will, what ya think?
After talking with Will, I've checked in this change. I'm leaving the bug report open for now, to see if there is anything else we need to do.
Mike, is this problem still occuring for you?
The patch has solved the problem. We should however still file the evolution bug.
Evolution bug #347846 has been created. Closing this bug as FIXED.
I'm seeing this bug again. Will attach a traceback. Also submitted a patch for the evolution bug.
Created attachment 308345 [details] Traceback with latest master.
Thanks Mike.
The underlying evolution bug is fixed now in master.