GNOME Bugzilla – Bug 673716
Sometimes orca announces incorrect information about messages
Last modified: 2012-04-08 15:25:01 UTC
When scrolling in the message list of thunderbird, sometimes orca reads wrong subject and sender about the current message. To reproduce try the following steps: 1. Send to yourself four messages. Each message must have a different subject. I'll use: test 1 test 2 test 3 test 4 2. After the messages were received, localize the first message sent. In my case the message with the subject test 1. 3. Press the delete key. The message will be deleted and orca will read informations about the next message sent, in my case test 2. 4. Press the down arrow. Orca will read informations about the message with the subject test 3, as expected. 5. Press down arrow again. Orca should read informations about the message with subject test 4, but in my environment orca reads informations of the message with subject test 2, although the message with the focus is the message with subject test 4. In my opinion this is critical because sometimes I delete wrong messages. I am running ubuntu 112.04 with all updates and latest orca built from master.
Created attachment 211571 [details] Debug file with possible showing why experienced José this issue Difficult to reproducable this issue, but I am have lucky. I need playing little with Thunderbird, but the issue is happened me too. Debug file showing following traceback error messages: app.name='Thunderbird' name='about:blank' role='document frame' state='enabled focusable focused horizontal opaque sensitive showing visible' relations='node child of' Script for event: Thunderbird (module=orca.scripts.apps.Thunderbird.script) TOTAL PROCESSING TIME: 0.0020 ^^^^^ PROCESS OBJECT EVENT object:text-changed:insert:system ^^^^^ DEQUEUED OBJECT:TEXT-CARET-MOVED <---------- vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv OBJECT EVENT: object:text-caret-moved detail=(-1,0,0) app.name='Thunderbird' name='about:blank' role='document frame' state='enabled focusable focused horizontal opaque sensitive showing visible' relations='node child of' Script for event: Thunderbird (module=orca.scripts.apps.Thunderbird.script) LOCUS OF FOCUS: app='Thunderbird' name='about:blank' role='document frame' event='object:text-caret-moved' Traceback (most recent call last):
+ Trace 230023
self._processObjectEvent(event)
script.processObjectEvent(event)
self.listeners[key](event)
return Gecko.Script.onCaretMoved(self, event)
default.Script.onCaretMoved(self, event)
self._presentTextAtNewCaretPosition(event)
line = braille.getShowingLine()
return _lines[viewport[1]]
DEQUEUED OBJECT:TEXT-CHANGED:DELETE <---------- vvvvv PROCESS OBJECT EVENT object:text-changed:delete vvvvv OBJECT EVENT: object:text-changed:delete detail=(0,683,** (orca:4928): WARNING **: at-spi: Got no message at atspi-accessible.c line 674 ** (orca:4928): WARNING **: at-spi: Got no message at atspi-accessible.c line 674 ** (orca:4928): WARNING **: at-spi: Got no message at atspi-accessible.c line 674 ** (orca:4928): WARNING **: at-spi: Got no message at atspi-accessible.c line 674 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/orca/speechdispatcherfactory.py", line 356, in _say_all context, acss = iterator.next() File "/usr/local/lib/python2.7/dist-packages/orca/scripts/toolkits/Gecko/script.py", line 1080, in textLines obj = contents[-1][0] IndexError: list index out of range Attila
Created attachment 211572 [details] An another debug.out file with showing different test This zip compressed debug.out file showing a different test. I simple deleted the test1 and test2 messages, and moved up and down the test3 and test4 message. Some time Orca spokening test3 message subject when I realy opened after with enter key the test4 message, you see some examples the debug.out file. This debug.out file showing following traceback error messages, little different: LOCUS OF FOCUS: app='Thunderbird' name='Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird' role='frame' event='window:activate' PREPARATION TIME: 0.0006 generate braille for focused app.name='Thunderbird' (exception getting relation set)name='Beérkezett üzenetek - Helyi mappák - Mozilla Thunderbird' role='frame' state='active enabled focusable focused horizontal opaque resizable sensitive showing visible' relations='' (args={'formatType': 'focused', 'useDefaultFormatting': False, 'includeContext': True, 'role': <enum ATSPI_ROLE_FRAME of type Role>, 'mode': 'braille', 'recursing': True}) using '(includeContext and (ancestors + (rowHeader and [Region(" " + asString(rowHeader))]) + (columnHeader and [Region(" " + asString(columnHeader))]) + (radioButtonGroup and [Region(" " + asString(radioButtonGroup))]) + [Region(" ")]) or []) + [Component(obj, asString(((label + displayedText) or name) + value + roleName + alertAndDialogCount))] + (nodeLevel and [Region(" " + asString(nodeLevel))])' GENERATION TIME: 0.0036 ----> includeContext=True PREPARATION TIME: 0.0005 generate braille for focused app.name='Thunderbird' (exception getting relation set)name='Thunderbird' role='application' state='showing visible' relations='' (args={'formatType': 'focused', 'useDefaultFormatting': False, 'includeContext': False, 'role': <enum ATSPI_ROLE_APPLICATION of type Role>, 'mode': 'braille', 'recursing': True}) using '[Component(obj, asString(label + displayedText + value + roleName + required))]' labelsForObject() - Error getting RelationSet GENERATION TIME: 0.0004 ----> label=[] GENERATION TIME: 0.0041 ----> displayedText=[u'Thunderbird'] GENERATION TIME: 0.0003 ----> value=[''] GENERATION TIME: 0.0012 ----> roleName=['application'] GENERATION TIME: 0.0003 ----> required=[] COMPLETION TIME: 0.0076 generate braille results: Component: '$thunderbird application', 1 GENERATION TIME: 0.0085 ----> ancestors=[<orca.braille.Component instance at 0xa65f34c>] GENERATION TIME: 0.0005 ----> rowHeader=[] GENERATION TIME: 0.0004 ----> columnHeader=[] GENERATION TIME: 0.0004 ----> radioButtonGroup=[] labelsForObject() - Error getting RelationSet GENERATION TIME: 0.0006 ----> label=[] GENERATION TIME: 0.0106 ----> displayedText=[u'Be\xe9rkezett \xfczenetek - Helyi mapp\xe1k - Mozilla Thunderbird'] GENERATION TIME: 0.0033 ----> value=[''] GENERATION TIME: 0.0008 ----> roleName=['frame'] Traceback (most recent call last):
+ Trace 230024
globalsDict[arg] = self._methodsDict[arg](obj, **args)
self._script.utilities.unfocusedAlertAndDialogCount(obj)
for child in app:
len=self.get_child_count()
return info.invoke(*args, **kwargs)
Not surprise, I think this is an exception because Thunderbird launching little slow. vvvvv PROCESS OBJECT EVENT object:text-caret-moved vvvvv OBJECT EVENT: object:text-caret-moved detail=(0,0,0) app.name='Thunderbird' name='None' role='section' state='enabled horizontal opaque sensitive showing visible selectable text' relations='' Script for event: Thunderbird (module=orca.scripts.apps.Thunderbird.script) TOTAL PROCESSING TIME: 0.0017 ^^^^^ PROCESS OBJECT EVENT object:text-caret-moved ^^^^^ DEQUEUED OBJECT:TEXT-CHANGED:DELETE <---------- vvvvv PROCESS OBJECT EVENT object:text-changed:delete vvvvv OBJECT EVENT: object:text-changed:delete detail=(0,202,4 ** (orca:5122): WARNING **: at-spi: Got no message at atspi-accessible.c line 674 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/orca/speechdispatcherfactory.py",) Whats this? This is a trunked traceback error message? vvvvv PROCESS OBJECT EVENT object:text-changed:delete vvvvv OBJECT EVENT: object:text-changed:delete detail=(0,347, line 356, in _say_all context, acss = iterator.next() File "/usr/local/lib/python2.7/dist-packages/orca/scripts/toolkits/Gecko/script.py", line 1080, in textLines obj = contents[-1][0] IndexError: list index out of range Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/orca/speechdispatcherfactory.py",) Attila
I didn't find traces in my debug file but I can reproduce the problem all the time.
And I can reproduce it without even using Orca. https://bugzilla.mozilla.org/show_bug.cgi?id=743568