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 659023 - Orca does not speak the desktop icon names in fallback mode if tutorial messages are enabled
Orca does not speak the desktop icon names in fallback mode if tutorial messa...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: general
3.1.x
Other All
: Normal normal
: ---
Assigned To: Joanmarie Diggs (IRC: joanie)
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-09-14 09:18 UTC by Hammer Attila
Modified: 2011-11-14 16:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug.out file with show this problem why happening (272.16 KB, application/octet-stream)
2011-09-14 09:18 UTC, Hammer Attila
Details

Description Hammer Attila 2011-09-14 09:18:18 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):
  • 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/speech_generator.py", line 1879 in _generateTutorial
    forceTutorial))
  • File "/usr/lib/python2.7/dist-packages/orca/tutorialgenerator.py", line 753 in getTutorial
    msg = generator(obj, alreadyFocused, forceTutorial)
  • File "/usr/lib/python2.7/dist-packages/orca/tutorialgenerator.py", line 246 in _getTutorialForIcon
    forceTutorial)
  • File "/usr/lib/python2.7/dist-packages/orca/tutorialgenerator.py", line 286 in _getTutorialForLayeredPane
    sibling = obj.parent.getChildAtIndex(0)
AttributeError: 'NoneType' object has no attribute 'getChildAtIndex'

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
Comment 1 Hammer Attila 2011-09-14 09:19:30 UTC
I forgot wrote following important information:
IIn Oneiric the latest 3.1.91 orca version awailable.

Attila
Comment 2 Joanmarie Diggs (IRC: joanie) 2011-11-14 16:36:23 UTC
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