After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 351501 - Orca generates a traceback when trying to braille Evolution message folder tree.
Orca generates a traceback when trying to braille Evolution message folder tree.
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: braille
0.2.x
Other All
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-08-15 17:01 UTC by Rich Burridge
Modified: 2006-08-15 21:20 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
Patch to the Evolution script to hopefully detect that we've just deleted a message. (2.68 KB, patch)
2006-08-15 17:28 UTC, Rich Burridge
rejected Details | Review
Patch to fix the problem. (871 bytes, patch)
2006-08-15 21:14 UTC, Rich Burridge
none Details | Review

Description Rich Burridge 2006-08-15 17:01:05 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):
  • File "/usr/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 409 in _processObjectEvent
    s.processObjectEvent(event)
  • File "/usr/lib/python2.4/site-packages/orca/script.py", line 159 in processObjectEvent
    self.listeners[key](event)
  • File "/usr/lib/python2.4/site-packages/orca/default.py", line 1737 in onTextDeleted
    self.updateBraille(event.source)
  • File "/usr/lib/python2.4/site-packages/orca/default.py", line 1453 in updateBraille
    result = self.brailleGenerator.getBrailleRegions(obj)
  • File "/usr/lib/python2.4/site-packages/orca/braillegenerator.py", line 1291 in getBrailleRegions
    result = generator(obj)
  • File "/usr/lib/python2.4/site-packages/orca/braillegenerator.py", line 1046 in _getBrailleRegionsForTableCell
    row = parent.table.getRowAtIndex(obj.index)
AttributeError: 'NoneType' object has no attribute 'getRowAtIndex'

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'
Comment 1 Rich Burridge 2006-08-15 17:28:01 UTC
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.
Comment 2 Rich Burridge 2006-08-15 17:37:16 UTC
Ack! I attached the patch to the wrong bug. Rejecting it
(as there doesn't seem to be a way of deleting it).
Comment 3 Rich Burridge 2006-08-15 21:14:53 UTC
Created attachment 70981 [details] [review]
Patch to fix the problem.
Comment 4 Rich Burridge 2006-08-15 21:20:33 UTC
Change checked into CVS HEAD. Closed as FIXED.