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 673716 - Sometimes orca announces incorrect information about messages
Sometimes orca announces incorrect information about messages
Status: RESOLVED NOTGNOME
Product: orca
Classification: Applications
Component: general
3.4.x
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-04-08 08:46 UTC by Jose Vilmar Estacio de Souza
Modified: 2012-04-08 15:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug file with possible showing why experienced José this issue (75.32 KB, application/zip)
2012-04-08 09:42 UTC, Hammer Attila
Details
An another debug.out file with showing different test (40.50 KB, application/zip)
2012-04-08 09:57 UTC, Hammer Attila
Details

Description Jose Vilmar Estacio de Souza 2012-04-08 08:46:13 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.
Comment 1 Hammer Attila 2012-04-08 09:42:06 UTC
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):
  • File "/usr/local/lib/python2.7/dist-packages/orca/event_manager.py", line 222 in _dequeue
    self._processObjectEvent(event)
  • File "/usr/local/lib/python2.7/dist-packages/orca/event_manager.py", line 567 in _processObjectEvent
    script.processObjectEvent(event)
  • File "/usr/local/lib/python2.7/dist-packages/orca/script.py", line 404 in processObjectEvent
    self.listeners[key](event)
  • File "/usr/local/lib/python2.7/dist-packages/orca/scripts/apps/Thunderbird/script.py", line 239 in onCaretMoved
    return Gecko.Script.onCaretMoved(self, event)
  • File "/usr/local/lib/python2.7/dist-packages/orca/scripts/toolkits/Gecko/script.py", line 1320 in onCaretMoved
    default.Script.onCaretMoved(self, event)
  • File "/usr/local/lib/python2.7/dist-packages/orca/scripts/default.py", line 3151 in onCaretMoved
    self._presentTextAtNewCaretPosition(event)
  • File "/usr/local/lib/python2.7/dist-packages/orca/scripts/default.py", line 3935 in _presentTextAtNewCaretPosition
    line = braille.getShowingLine()
  • File "/usr/local/lib/python2.7/dist-packages/orca/braille.py", line 1069 in getShowingLine
    return _lines[viewport[1]]
IndexError: list index out of range


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
Comment 2 Hammer Attila 2012-04-08 09:57:14 UTC
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):
  • File "/usr/local/lib/python2.7/dist-packages/orca/generator.py", line 253 in generate
    globalsDict[arg] = self._methodsDict[arg](obj, **args)
  • File "/usr/local/lib/python2.7/dist-packages/orca/braille_generator.py", line 193 in _generateAlertAndDialogCount
    self._script.utilities.unfocusedAlertAndDialogCount(obj)
  • File "/usr/local/lib/python2.7/dist-packages/orca/script_utilities.py", line 1556 in unfocusedAlertAndDialogCount
    for child in app:
  • File "/usr/lib/python2.7/dist-packages/pyatspi/Accessibility.py", line 30 in Accessible_getitem
    len=self.get_child_count()
  • File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43 in function
    return info.invoke(*args, **kwargs)
GError: The process appears to be hung.
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
Comment 3 Jose Vilmar Estacio de Souza 2012-04-08 10:17:40 UTC
I didn't find traces in my debug file but I can reproduce the problem all the time.
Comment 4 Joanmarie Diggs (IRC: joanie) 2012-04-08 15:25:01 UTC
And I can reproduce it without even using Orca.
https://bugzilla.mozilla.org/show_bug.cgi?id=743568