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 533499 - Evolution contacts not being spoken when you navigate them
Evolution contacts not being spoken when you navigate them
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
unspecified
Other All
: Normal normal
: 2.22.3
Assigned To: Willie Walker
Orca Maintainers
Depends on:
Blocks: 423346
 
 
Reported: 2008-05-17 00:53 UTC by Willie Walker
Modified: 2008-05-17 21:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to work around what appears to be a broken hierarchy in evolution (621 bytes, patch)
2008-05-17 00:59 UTC, Willie Walker
committed Details | Review

Description Willie Walker 2008-05-17 00:53:55 UTC
1) Run evolution
2) Go to the contact list (Ctrl+2)
3) Tab to the list of contacts
4) Arrow/tab across the contacts

Orca should speak/braille the contacts as you navigate them.  It only brailles them.
Comment 1 Willie Walker 2008-05-17 00:59:03 UTC
Created attachment 111023 [details] [review]
Patch to work around what appears to be a broken hierarchy in evolution

In testing this, I see this traceback:

Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 630 in _processObjectEvent
    s.processObjectEvent(event)
  • File "/usr/lib/python2.4/site-packages/orca/script.py", line 319 in processObjectEvent
    self.listeners[key](event)
  • File "/usr/lib/python2.4/site-packages/orca/scripts/apps/evolution/script.py", line 1516 in onFocus
    default.Script.onFocus(self, event)
  • File "/usr/lib/python2.4/site-packages/orca/default.py", line 3071 in onFocus
    orca.setLocusOfFocus(event, newFocus)
  • File "/usr/lib/python2.4/site-packages/orca/orca.py", line 226 in setLocusOfFocus
    orca_state.locusOfFocus)
  • File "/usr/lib/python2.4/site-packages/orca/focus_tracking_presenter.py", line 940 in locusOfFocusChanged
    newLocusOfFocus)
  • File "/usr/lib/python2.4/site-packages/orca/scripts/apps/evolution/script.py", line 1339 in locusOfFocusChanged
    oldLocusOfFocus, newLocusOfFocus)
  • File "/usr/lib/python2.4/site-packages/orca/default.py", line 2768 in locusOfFocusChanged
    parentRole = newLocusOfFocus.parent.getRole()
AttributeError: 'NoneType' object has no attribute 'getRole'

This appears to be a broken hiearchy in Evolution.  This patch is a defensive patch for that and gets speech working again.
Comment 2 Willie Walker 2008-05-17 01:03:26 UTC
The same patch works on the gnome-2-22 branch.  Will apply once this has been tested more on trunk.
Comment 3 Michael Whapples 2008-05-17 09:24:47 UTC
(In reply to comment #2)
> The same patch works on the gnome-2-22 branch.  Will apply once this has been
> tested more on trunk.
> 

I have tried trunk, it seems to resolve it here, shall I test it with 2.22?
Comment 4 Michael Whapples 2008-05-17 09:30:08 UTC
I forgot to add, the list view rather than the "address cards" view seems generally better for accessibility though, I don't know whether it should be more that list view of contacts is suggested as the better way for evolution to be set up for use with orca. The "address cards" was the default for me, I don't know whether this is default on other distributions, so meaning that orca didn't work properly by default with contacts.
Comment 5 Willie Walker 2008-05-17 11:37:01 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > The same patch works on the gnome-2-22 branch.  Will apply once this has been
> > tested more on trunk.
> > 
> 
> I have tried trunk, it seems to resolve it here, shall I test it with 2.22?

Please!  If the patch works on gnome-2-22 for you, I'll get it in for the GNOME 2.22.3 release.  Thanks!
Comment 6 Michael Whapples 2008-05-17 12:17:10 UTC
Tried it with the orca gnome-2-22 branch, the patch has resolved this bug for me. I won't mark this as closed incase you wish to get any other feedback on this before calling it closed.
(In reply to comment #5)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > The same patch works on the gnome-2-22 branch.  Will apply once this has been
> > > tested more on trunk.
> > > 
> > 
> > I have tried trunk, it seems to resolve it here, shall I test it with 2.22?
> 
> Please!  If the patch works on gnome-2-22 for you, I'll get it in for the GNOME
> 2.22.3 release.  Thanks!
> 

Comment 7 Willie Walker 2008-05-17 21:45:34 UTC
Thanks for testing both trunk and gnome-2-22.  Committed to both trunk and gnome-2-22 branch now and will go out with the 2.22.3 release.  Thanks also for reporting the problem!