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 736530 - Latest Orca master branch version with Firefox normal caret navigation speaks always tutorial text
Latest Orca master branch version with Firefox normal caret navigation speaks...
Status: RESOLVED FIXED
Product: orca
Classification: Applications
Component: speech
3.13.x
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-09-12 07:02 UTC by Hammer Attila
Modified: 2014-09-13 05:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug file (116.58 KB, application/octet-stream)
2014-09-12 07:02 UTC, Hammer Attila
Details
This debug.out file containing some good speech outputs (209.07 KB, application/octet-stream)
2014-09-12 14:25 UTC, Hammer Attila
Details
This debug.out file containing some bad examples when the wrote commit not reverted (215.29 KB, application/octet-stream)
2014-09-12 14:26 UTC, Hammer Attila
Details

Description Hammer Attila 2014-09-12 07:02:28 UTC
Created attachment 285987 [details]
Debug file

Dear Joanie,

With latest master branch Orca version in Firefox every normal up or down arrow key navigation operation Orca speaks always tutorial message if the speak tutorial message check box is checked.
Testcase:
1. Check in speech page the speak tutorial message check box.
2. Launch Firefox, and open http://www.origo.hu/hirmondo/itthon/20140912-vadlott-lett-a-baratok-kozt-sztarja.html website.
3. Do normal up or down arrow key navigation.
Expected result: Orca need spokening normal text content with up or down arrow key navigation.
Actual result: Orca spokening right the text content, but after end of text content unneed spokening tutorial text. This is resulting a false hint, because in a normal paragraph content doesn't possible typing any information.
My environment informations:
OS: Ubuntu 14.04
Orca version: latest master branch
Affected Orca branches: master branch absolute sure, gnome-3-14 branch possible yes.

Note:
If I reverting following commit, the issue is not happening:
commit acedcca172988997f85c342b1eedf2a28f13de0b
Author: Joanmarie Diggs <jdiggs@igalia.com>
Date:   Thu Sep 11 18:40:48 2014 -0400

    Use speech generators to generate speech for Gecko content
My experience when reverting this commit and checked the Break speech into chunks between pauses check box, Orca more faster in Firefox for example link navigation and normal operations. When I jump a link with TAB key, Orca doesn't do a pause with normal link text and link rolename.
A more interesting thing:
If this commit is reverted and I move between desktop icons, Orca right doesn't do a pause between desktop icon name and canwas rolename.

Attila


Attila
Comment 1 Hammer Attila 2014-09-12 07:17:11 UTC
An another interesting issue this commit related:
My system Thunderbird upgraded now with 31.1.0 version.
If I not reverting this commit with I wrote the first comment, when I press CTRL+N keystroke, Orca doesn't spokening the "to:" label, only speaks the "text" rolename.
If this commit is reverted, Orca right spokening the "to:" label before the text box rolename.

Attila
Comment 2 Hammer Attila 2014-09-12 14:24:00 UTC
Hi Joanie,

Before I opening a new bug, I have got a question, sorry the copyed debug.out parts:
With my first comment wrote pauses related problem with links and desktop icons related I writing some examples.
If I reverting the wrote commit, Orca sending one speech string the link text and link rolename, independent the break speech into chunks check box state.
This is resulting faster speech navigation.
A good example with links related if the commit is reverted:
generate speech for unfocused app.name='Firefox' name='Csökken a 98 százalékos különadó' role='link' state='enabled focusable focused opaque sensitive showing visible selectable text' relations='' (args={'role': <enum ATSPI_ROLE_LINK of type AtspiRole>, 'formatType': 'unfocused', 'priorObj': <Accessible object at 0xb2f48bbc (AtspiAccessible at 0x9976710)>, 'recursing': True, 'mode': 'speech'}) using 'oldAncestors + newAncestors + (displayedText or name) + roleName + pause + expandableState + availability + (mnemonic and (pause + mnemonic + lineBreak) or []) + newNodeLevel + unselectedCell + clickable + hasLongDesc + (tutorial and (pause + tutorial) or []) + description '
GENERATION  TIME: 0.0004  ---->  oldAncestors=[]
GENERATION  TIME: 0.0005  ---->  newAncestors=[]
GENERATION  TIME: 0.0011  ---->  displayedText=['Csökken a 98 százalékos különadó', {'family': {'dialect': 'none', 'name': 'hungarian', 'locale': 'hu'}, 'rate': 90.0, 'average-pitch': 3.0}]
GENERATION  TIME: 0.0011  ---->  roleName=['hivatkozás', {}]
GENERATION  TIME: 0.0004  ---->  pause=[<orca.speech_generator.Pause object at 0xb3cd1c2c>]
GENERATION  TIME: 0.0003  ---->  expandableState=[]
GENERATION  TIME: 0.0003  ---->  availability=[]
script_utilities.getKeyBinding: ['', '', '']
GENERATION  TIME: 0.0011  ---->  mnemonic=[]
GENERATION  TIME: 0.0016  ---->  newNodeLevel=[]
GENERATION  TIME: 0.0004  ---->  unselectedCell=[]
GENERATION  TIME: 0.0004  ---->  clickable=[]
GENERATION  TIME: 0.0015  ---->  hasLongDesc=[]
GENERATOR: getTutorial
           obj             = Csökken a 98 százalékos különadó
           role            = link
           alreadyFocused  = False
           utterances:
               ()
GENERATION  TIME: 0.0005  ---->  tutorial=['']
GENERATION  TIME: 0.0009  ---->  description=[]
COMPLETION  TIME: 0.0125
generate speech results:
  Csökken a 98 százalékos különadó
  {'family': {'dialect': 'none', 'name': 'hungarian', 'locale': 'hu'}, 'rate': 90.0, 'average-pitch': 3.0}
  hivatkozás
  {}
  <orca.speech_generator.Pause object at 0xb3cd1c2c>
  <orca.speech_generator.Pause object at 0xb3cd1c2c>
  
bad content sent to speech.speak: '{'family': {'dialect': 'none', 'name': 'hungarian', 'locale': 'hu'}, 'rate': 90.0, 'average-pitch': 3.0}'
bad content sent to speech.speak: '{}'
SPEECH OUTPUT: 'Csökken a 98 százalékos különadó hivatkozás.' voice=hyperlink

The bad result if the commit is not reverted:
generate speech for unfocused app.name='Firefox' name='Csökken a 98 százalékos különadó' role='link' state='enabled focusable focused opaque sensitive showing visible selectable text' relations='' (args={'priorObj': <Accessible object at 0xb38eb3c4 (AtspiAccessible at 0x97c76c8)>, 'recursing': True, 'formatType': 'unfocused', 'mode': 'speech', 'role': 88}) using 'oldAncestors + newAncestors + (displayedText or name) + roleName + pause + expandableState + availability + (mnemonic and (pause + mnemonic + lineBreak) or []) + newNodeLevel + unselectedCell + clickable + hasLongDesc + (tutorial and (pause + tutorial) or []) + description '
GENERATION  TIME: 0.0004  ---->  oldAncestors=[]
GENERATION  TIME: 0.0005  ---->  newAncestors=[]
GENERATION  TIME: 0.0011  ---->  displayedText=['Csökken a 98 százalékos különadó', {'average-pitch': 3.0, 'rate': 90.0, 'family': {'dialect': 'none', 'name': 'hungarian', 'locale': 'hu'}}]
GENERATION  TIME: 0.0024  ---->  roleName=['hivatkozás', {'established': False}]
GENERATION  TIME: 0.0004  ---->  pause=[<orca.speech_generator.Pause object at 0xb3c89aac>]
GENERATION  TIME: 0.0004  ---->  expandableState=[]
GENERATION  TIME: 0.0004  ---->  availability=[]
script_utilities.getKeyBinding: ['', '', '']
GENERATION  TIME: 0.0010  ---->  mnemonic=[]
GENERATION  TIME: 0.0017  ---->  newNodeLevel=[]
GENERATION  TIME: 0.0005  ---->  unselectedCell=[]
GENERATION  TIME: 0.0004  ---->  clickable=[]
GENERATION  TIME: 0.0024  ---->  hasLongDesc=[]
GENERATOR: getTutorial
           obj             = Csökken a 98 százalékos különadó
           role            = link
           alreadyFocused  = False
           utterances:
               ()
GENERATION  TIME: 0.0005  ---->  tutorial=['']
GENERATION  TIME: 0.0010  ---->  description=[]
COMPLETION  TIME: 0.0149
generate speech results:
  Csökken a 98 százalékos különadó
  {'average-pitch': 3.0, 'rate': 90.0, 'family': {'dialect': 'none', 'name': 'hungarian', 'locale': 'hu'}}
  hivatkozás
  {'established': False}
  <orca.speech_generator.Pause object at 0xb3c89aac>
  <orca.speech_generator.Pause object at 0xb3c89aac>
  
SPEECH OUTPUT: 'Csökken a 98 százalékos különadó'
SPEECH OUTPUT: 'hivatkozás.'

Why have this difference with speech output style and pauses related?
I see similar difference with desktop icons rolename related. If the commit is reverted, Orca sends one string the icon name and rolename to the Speech engine.
This is reproducable with other rolenames (page list, buttons, check boxes, etc).
The uncheck of break speech into chunks checkbox not resolve this problem, I not see any difference.

Attila
Comment 3 Hammer Attila 2014-09-12 14:25:48 UTC
Created attachment 286045 [details]
This debug.out file containing some good speech outputs

This debug.out file containing some speech examples when the wrote commit is reverted.

Attila
Comment 4 Hammer Attila 2014-09-12 14:26:51 UTC
Created attachment 286046 [details]
This debug.out file containing some bad examples when the wrote commit not reverted
Comment 5 Joanmarie Diggs (IRC: joanie) 2014-09-12 19:17:09 UTC
Fixed in master and gnome-3-14. Thanks for the report!
Comment 6 Joanmarie Diggs (IRC: joanie) 2014-09-12 19:18:04 UTC
BTW, in the spirit of one bug per problem, please open a separate bug re the pauses.
Comment 7 Hammer Attila 2014-09-13 05:24:57 UTC
Hi Joanie,

The fix works great, and me yesterday you wrote unwanted pauses related issue is resolved too.

Attila