GNOME Bugzilla – Bug 351501
Orca generates a traceback when trying to braille Evolution message folder tree.
Last modified: 2006-08-15 21:20:33 UTC
Tested with Ubuntu Dapper Drake, Evolution 2.6.1 and latest Orca from CVS HEAD. When the focus is on a message header in the message header summary list in Evolution mail view, Orca throws the following traceback: Traceback (most recent call last):
+ Trace 70503
s.processObjectEvent(event)
self.listeners[key](event)
self.updateBraille(event.source)
result = self.brailleGenerator.getBrailleRegions(obj)
result = generator(obj)
row = parent.table.getRowAtIndex(obj.index)
The problem here is that parent.table is None, because we have a "table cell" within a "table cell" as the following component ancestry shows: +-name='evolution-2.6' role='application' state='' +-name='Evolution - INBOX (10 total, 5 unread)' role='frame' state='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='panel' state='ENABLED 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='filler' state='ENABLED SENSITIVE SHOWING VERTICAL VISIBLE' +-name=None role='scroll pane' state='ENABLED FOCUSABLE SENSITIVE SHOWING VISIBLE' +-name='Mail Folder Tree' role='tree table' state='ENABLED FOCUSABLE SENSITIVE SHOWING VISIBLE MANAGES_DESCENDANTS' +-name=None role='table cell' state='ACTIVE ENABLED FOCUSABLE FOCUSED SELECTABLE SELECTED SENSITIVE SHOWING TRANSIENT VISIBLE' +-name='Inbox (4)' role='table cell' state='ENABLED FOCUSABLE FOCUSED SELECTABLE SELECTED SENSITIVE SHOWING SINGLE_LINE TRANSIENT VISIBLE'
Created attachment 70963 [details] [review] Patch to the Evolution script to hopefully detect that we've just deleted a message. One situation where this patch won't work is if new messages arrive in the viewed mail folder between the last time we had focus in the mail message header summary list and just after pressing the Delete key. Still, it does improve the situation.
Ack! I attached the patch to the wrong bug. Rejecting it (as there doesn't seem to be a way of deleting it).
Created attachment 70981 [details] [review] Patch to fix the problem.
Change checked into CVS HEAD. Closed as FIXED.