GNOME Bugzilla – Bug 638111
The Gecko script's "clumping" of utterances needs to be more robust and/or removed
Last modified: 2014-09-13 07:44:33 UTC
Currently the Gecko script "clumps" utterances together so that items that are in the same voice (acss) are spoken as a single item. Given that other scripts will potentially have a need to build up lines of content, perhaps this functionality should be moved out of the Gecko script. If so, it needs to also be made more robust because it doesn't currently handle some of the results generated by the speech_generators, e.g.: Traceback (most recent call last):
+ Trace 225277
consumed = self.function(script, inputEvent)
self.presentLine(nextObj, nextCharOffset)
self.speakContents(self.currentLineContents)
clumped = self.clumpUtterances(utterances)
for [element, acss] in utterances:
*** Bug 638177 has been marked as a duplicate of this bug. ***
Created attachment 178013 [details] This debug.out showing what happened when I navigating l10n.gnome.org by line by line
*** Bug 641892 has been marked as a duplicate of this bug. ***
I see this traceback 100% of the time on m.facebook.com whenever I attempt to read a line below a status update where someone has clicked the "like" button to say they like the update.
I found a similar problem after searching in google. It happens after I type a text in search field, press enter, wait for the page is loaded and then press the enter key. vvvvv PROCESS <ENUM ATSPI_KEY_PRESSED_EVENT OF TYPE EVENTTYPE> 'h' (43) vvvvv LOCUS OF FOCUS: app='Firefox' name='Google' role='link' event=None Object deemed to be useless: [section | ] Object deemed to be useless: [section | ] PREPARATION TIME: 0.0012 generate braille for focused app.name='Firefox' name='Google' role='link' state='enabled focusable horizontal opaque sensitive showing visible selectable text' relations='' (args={'formatType': 'focused', 'useDefaultFormatting': False, 'includeContext': False, 'role': <enum ATSPI_ROLE_LINK of type Role>, 'mode': 'braille', 'recursing': True}) using '[Link(obj, asString(currentLineText) or asString(displayedText) or asString(name))]' GENERATION TIME: 0.0030 ----> currentLineText=['Google'] COMPLETION TIME: 0.0045 generate braille results: Link: 'Google', 0 PREPARATION TIME: 0.0013 generate braille for unfocused app.name='Firefox' name='None' role='image' state='enabled horizontal opaque sensitive showing visible' relations='' (args={'formatType': 'unfocused', 'useDefaultFormatting': False, 'includeContext': False, 'role': <enum ATSPI_ROLE_IMAGE of type Role>, 'mode': 'braille', 'recursing': True}) using '(imageLink and [Link(obj, (asString(label + displayedText) or asString(name)) + " " + asString(value + roleName))] or [Component(obj, asString(label + displayedText + value + roleName))])' GENERATION TIME: 0.0004 ----> imageLink=<Accessible object at 0x210fbe0 (AtspiAccessible at 0x21926c0)> GENERATION TIME: 0.0010 ----> label=[] GENERATION TIME: 0.0004 ----> displayedText=[] GENERATION TIME: 0.0014 ----> name=['webhp'] GENERATION TIME: 0.0004 ----> value=[''] GENERATION TIME: 0.0005 ----> roleName=['Image'] COMPLETION TIME: 0.0060 generate braille results: Link: 'webhp Image', 0 PREPARATION TIME: 0.0012 generate braille for unfocused app.name='Firefox' name='Search' role='entry' state='editable enabled focusable horizontal opaque sensitive showing single line visible selectable text' relations='' (args={'formatType': 'unfocused', 'useDefaultFormatting': False, 'includeContext': False, 'role': Role(79L), 'mode': 'braille', 'recursing': True}) using '[Text(obj, asString(label + placeholderText), asString(eol))] + (required and [Region(" " + asString(required))]) + (readOnly and [Region(" " + asString(readOnly))])' GENERATION TIME: 0.0019 ----> label=[] GENERATION TIME: 0.0004 ----> placeholderText=[] GENERATION TIME: 0.0003 ----> eol=[u' $l'] GENERATION TIME: 0.0045 ----> required=[] Gecko - isReadOnlyTextArea=False for app.name='Firefox' name='Search' role='entry' state='editable enabled focusable horizontal opaque sensitive showing single line visible selectable text' relations='' GENERATION TIME: 0.0056 ----> readOnly=[] COMPLETION TIME: 0.0182 generate braille results: Text: 'LINUX WEEKLY NEWS $l', -1 BRAILLE LINE: 'Google webhp Image LINUX WEEKLY NEWS $l' VISIBLE: 'Google webhp Image LINUX WEEKLY ', cursor=1 Traceback (most recent call last):
+ Trace 229612
self.structuralNavigation.goObject(self, True)
structuralNavigationObject.present(obj, arg)
self._presentObject(obj, characterOffset)
self._script.speakContents(contents)
^^^^^ PROCESS <ENUM ATSPI_KEY_PRESSED_EVENT OF TYPE EVENTTYPE> 'h' (43) ^^^^^ I am running ubuntu 11.10, latest orca built from master and firefox 10.
Can also be seen on: http://l10n.gnome.org/vertimus/orca/master/po/hu if you are logged in. I tried to handle the traceback, but Orca then started double-presenting things. This really needs to be properly dealt with rather than hacked around.
Hy Joanie, This is bad news, but I absolute agree with you wrote. What type links with I founded in l10n.gnome.org with producing this trace back error message? The problem are this links is image links, or the links have in a table? Attila
*** Bug 688248 has been marked as a duplicate of this bug. ***
Created attachment 228905 [details] Fresh debug.out file Some heading links producing VALUEERROR exceptions (too many value to unpack) in www.atv.hu webpage. Attila
clumpUtterances() no longer exists.