GNOME Bugzilla – Bug 491885
[verified][pyatspi] Orca "goes funky" when opening this oocalc spreadsheet.
Last modified: 2007-11-06 17:29:29 UTC
Spread sheet from Mike (to be attached). Orca debug output whilst running this test (to be attached).
Created attachment 98209 [details] The spreadsheet which is causing Orca problems.
Created attachment 98210 [details] Orca debug output whilst loading this spreadsheet into oocalc Well, needless to say, Orca is working just fine with it now after I did a reboot. Earlier, I did see a problem with a Traceback when trying to do a getRole() on a object set to None. If others have the time, could they also try loading this spreadsheet into oocalc please. Mike, you might wish to load Orca from the gnome-2-20 branch in order to fill in this spreadsheet.
If I just do the following: 1/ Start Orca 2/ Start oocalc 3/ Type Alt-f to bring up the File menu. sometime the File menu will just "show" with only a New menu item. If I down arrow a few times, the other menu items magically appear. This is without loading that spreadsheet. I did not see any Tracebacks or other kinds of errors in the Orca debug. I did see the following in the window where I started oocalc: $ oocalc $ ** (soffice:7111): WARNING **: Exception in getAccessibleChildCount() ** (soffice:7111): WARNING **: Exception in getAccessibleName() ** (soffice:7111): WARNING **: Exception in getAccessibleIndexInParent() ** (soffice:7111): WARNING **: Exception in getAccessibleIndexInParent() ** (soffice:7111): WARNING **: Exception in getAccessibleName() ** (soffice:7111): WARNING **: Exception in getAccessibleIndexInParent() ** (soffice:7111): WARNING **: Focused object has invalid index in parent Something is rather broken at the moment, either with latest oocalc (this is on Ubuntu Gutsy), or with latest Orca from SVN trunk.
> sometime the File menu will just "show" with only a New menu item. Confirmed. > I did not see any Tracebacks or other kinds of errors in the Orca debug. Confirmed. > I did see the following in the window where I started oocalc: This I'm not seeing, but Orca seems to hang. :-( > Something is rather broken at the moment, either with latest oocalc > (this is on Ubuntu Gutsy), or with latest Orca from SVN trunk. Indeed. Confirmed on Ubuntu Gutsy/Hardy (switched repositories; not that many updates yet) as well as on Solaris Nevada 75a.
The hang seems to be the result of _getParent() which was added to StarOffice.py as part of bug 489490, in particular the call to pyatspi.findDescendant().
This really is a major problem. Adjusting priority/severity accordingly. Eitan, I'm assigning it to you if that's okay (as it was your patch). Thanks.
I'm not sure exactly what the bug is. I opened the attached spreadsheet and was able to navigate. Could someone give clear steps for reproduction plus expected and given results? What does 'File menu will just "show"' mean?
If I launch oocalc version 2.3 with Orca running, I'm able to move around and type in cells, etc. However Orca becomes completely non-responsive, both in Calc and in any other app I then give focus too. Is Orca working for you under these conditions, or are you just able to navigate?
Eitan, just try starting oocalc, then use the File->Open menu item to read in the spreadsheet. > What does 'File menu will just "show"' mean? If you do Alt-f, to display the File menu, you should see about a dozen menu items. What I was seeing was just the first one being displayed. If you then hit the Down arrow repeatedly, the rest would magically appear one at a time.
I tested the latest patch to bug #489490: http://bugzilla.gnome.org/attachment.cgi?id=98576&action=view on Mike's spreadsheet. The Alt-f file menu problem seems to have been fixed, but if I navigate the spreadsheet (speaking "by row"), I get the following traceback: Traceback (most recent call last):
+ Trace 175467
s.processObjectEvent(event)
self.listeners[key](event)
orca.setLocusOfFocus(event, child)
orca_state.locusOfFocus)
newLocusOfFocus)
oldLocusOfFocus, newLocusOfFocus)
self.updateBraille(newLocusOfFocus)
result = self.brailleGenerator.getBrailleRegions(obj)
result = generator(obj)
self._script.getSpreadSheetRowRange(obj)
y = parent.extents.y
This seems to be a separate problem though.
Created attachment 98581 [details] [review] Fix for the traceback in comment #10. Speaking by row seems to work nicely again.
Mike, I think this is ready for you to test. You are going to need to apply the third attachment from this bug: http://bugzilla.gnome.org/attachment.cgi?id=98581 and the latest attachment from Eitan for bug #489490 http://bugzilla.gnome.org/attachment.cgi?id=98576&action=view I think you should be able to read your spreadsheet now.
seems to work great. thanks much
Patch committed. Moving the state to "[pending]".
works great
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.