GNOME Bugzilla – Bug 659023
Orca does not speak the desktop icon names in fallback mode if tutorial messages are enabled
Last modified: 2011-11-14 16:36:23 UTC
Created attachment 196473 [details] Debug.out file with show this problem why happening Dear Developers, I tryed latest Oneiric daily live CD with a customized build, I using GNOME fallback session. When I lot of time activating the desktop, Orca doesn't spokening the desktop icon names, with braille the selected icon name is displaying the braille display. I maked a debug.out file, and see following interesting traceback error message: PREPARATION TIME: 0.0017 generate speech for unfocused app.name='nautilus' name='Examples' role='icon' state='focused selectable' relations='' (args={'recursing': True, 'priorObj': <Accessible object at 0x948cfa4 (AtspiAccessible at 0x9395010)>, 'role': <enum ATSPI_ROLE_ICON of type Role>, 'mode': 'speech', 'formatType': 'unfocused'}) using 'newAncestors + newRowHeader + newColumnHeader + newRadioButtonGroup + labelAndName + imageDescription + roleName + pause + positionInList + newNodeLevel + unselectedCell + (tutorial and (pause + tutorial) or [])' script_utilities.commonAncestor... ...script_utilities.commonAncestor GENERATION TIME: 0.0034 ----> newAncestors=['Icon View', {u'average-pitch': 3.0, u'rate': 90.0, u'family': {u'locale': u'hu', u'name': u'hungarian'}}, 'layered pane', {}] GENERATION TIME: 0.0006 ----> newRowHeader=[] GENERATION TIME: 0.0005 ----> newColumnHeader=[] GENERATION TIME: 0.0004 ----> newRadioButtonGroup=[] GENERATION TIME: 0.0005 ----> labelAndName=['Examples', {u'average-pitch': 3.0, u'rate': 90.0, u'family': {u'locale': u'hu', u'name': u'hungarian'}}] GENERATION TIME: 0.0011 ----> imageDescription=['desktop configuration file'] GENERATION TIME: 0.0006 ----> roleName=['icon', {}] GENERATION TIME: 0.0004 ----> pause=[<orca.speech_generator.Pause instance at 0x91c608c>] GENERATION TIME: 0.0007 ----> positionInList=[] GENERATION TIME: 0.0010 ----> newNodeLevel=[] GENERATION TIME: 0.0013 ----> unselectedCell=['not selected', {}] Traceback (most recent call last):
+ Trace 228444
globalsDict[arg] = self._methodsDict[arg](obj, **args)
forceTutorial))
msg = generator(obj, alreadyFocused, forceTutorial)
forceTutorial)
sibling = obj.parent.getChildAtIndex(0)
An other traceback error message: PREPARATION TIME: 0.0008 generate braille for focused app.name='nautilus' name='Icon View' role='layered pane' state='focused' relations='' (args={'formatType': 'focused', 'role': <enum ATSPI_ROLE_LAYERED_PANE of type Role>, 'mode': 'braille', 'includeContext': False, 'recursing': True}) using '[Component(obj, asString(label + displayedText + value + roleName + required))]' GENERATION TIME: 0.0006 ----> label=[] GENERATION TIME: 0.0007 ----> displayedText=['Icon View'] Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/orca/generator.py", line 254, in generate globalsDict[arg] = self._methodsDict[arg](obj, **args) File "/usr/lib/python2.7/dist-packages/orca/generator.py", line 951, in _generateValue return [self._script.utilities.textForValue(obj)] File "/usr/lib/python2.7/dist-packages/orca/script_utilities.py", line 2830, in textForValue minimumIncrement = (value.maximumValue - value.minimumValue) \ File "/usr/lib/python2.7/dist-packages/pyatspi/Accessibility.py", line 337, in <lambda> Atspi.Value.minimumValue = property(fget=lambda x: exwrap(Atspi.Value.get_minimum_value, x)) File "/usr/lib/python2.7/dist-packages/pyatspi/Accessibility.py", line 154, in exwrap raise LookupError LookupError In Orca preferences I enabled the tutorial messages, and basic braille support. If I uncheck the speak tutorial messages check box, the problem doesn't happening. Reproducation steps: 1. In Orca preferences/speech page check the speak tutorial messages check box. 2. In braille page, check the enable braille support check box, and not change other settings. 3. Go to the desktop, and try move desktop icons. You will be not hear selected desktop icon name. If you try doing where am I operation, Orca will not spokening icon related informations. I attached the debug.out file. Attila
I forgot wrote following important information: IIn Oneiric the latest 3.1.91 orca version awailable. Attila
Reproduced. It seems that in this view the icons have no parent. That is a Nautilus issue. What we can do in Orca, however, is prevent Orca from spitting up and not presenting anything in this instance. That is what I have done, and now Orca presents the Desktop icon names for me. Master: http://git.gnome.org/browse/orca/commit/?id=e78364afd076cd7cc871426de47f44dc79323d85 gnome-3-2 branch: http://git.gnome.org/browse/orca/commit/?h=gnome-3-2&id=61b100b6b59e8b04b9c7a9692e742e8e900a8a71