GNOME Bugzilla – Bug 523453
oowriter/bug_435201.py regression tests #1 through #5 produce the wrong results.
Last modified: 2008-04-04 18:36:36 UTC
Test 1 of 5 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/oowriter/bug_435201.py:Type Control-down to move to the next paragraph [1] EXPECTED: "BUG: speaks the paragraph three times", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=2", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and '", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and '", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse '", ACTUAL: "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=2", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and '", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and '", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse '", Test 2 of 5 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/oowriter/bug_435201.py:Type Control-down to move to the next paragraph [2] EXPECTED: "BUG: speaks the paragraph two times", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=2", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse '", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse '", "SPEECH OUTPUT: 'blank'", ACTUAL: "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=2", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse $l'", " VISIBLE: 'NOBODY expects the Spanish Inqui', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse '", "SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse '", "SPEECH OUTPUT: 'blank'", Test 3 of 5 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/oowriter/bug_435201.py:Type Control-down to move to the next paragraph [3] EXPECTED: "BUG: speaks the paragraph two times", "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", "SPEECH OUTPUT: 'blank'", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", ACTUAL: "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", "SPEECH OUTPUT: 'blank'", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", Test 4 of 5 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/oowriter/bug_435201.py:Type Control-down to move to the next paragraph [4] EXPECTED: "BUG: speaks the paragraph two times", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=2", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", "SPEECH OUTPUT: 'blank'", ACTUAL: "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=2", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject $l'", " VISIBLE: 'Now old lady, you have one last ', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", "SPEECH OUTPUT: 'Now old lady, you have one last chance. Confess the heinous sin of heresy, reject '", "SPEECH OUTPUT: 'blank'", Test 5 of 5 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/oowriter/bug_435201.py:Type Control-down to move to the next paragraph [5] EXPECTED: "BUG: speaks the paragraph two times", "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR! $l'", " VISIBLE: 'Hm! She is made of harder stuff!', cursor=1", "BRAILLE LINE: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR! $l'", " VISIBLE: 'Hm! She is made of harder stuff!', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application spanish - OpenOffice.org Writer Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR! $l'", " VISIBLE: 'Hm! She is made of harder stuff!', cursor=1", "SPEECH OUTPUT: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR!'", "SPEECH OUTPUT: 'blank'", "SPEECH OUTPUT: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR!'", ACTUAL: "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR! $l'", " VISIBLE: 'Hm! She is made of harder stuff!', cursor=1", "BRAILLE LINE: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR! $l'", " VISIBLE: 'Hm! She is made of harder stuff!', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: ' $l'", " VISIBLE: ' $l', cursor=1", "BRAILLE LINE: 'soffice Application Frame spanish - OpenOffice.org Writer RootPane ScrollPane Document view Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR! $l'", " VISIBLE: 'Hm! She is made of harder stuff!', cursor=1", "SPEECH OUTPUT: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR!'", "SPEECH OUTPUT: 'blank'", "SPEECH OUTPUT: 'Hm! She is made of harder stuff! Cardinal Fang! Fetch the COMFY CHAIR!'",
Created attachment 108000 [details] [review] Revision #1. There are two problems here: 1/ The braille context is incorrect because there is now an additional "Frame". The attached patch fixes this problem. The patch is not committed yet. 2/ Each paragraph in the document is being spoken 2 or 3 times (should just be spoken once). Note that this is just something that is noticeable when we run synchronously. If we run asynchronous then each one interrupts the previous one and just the last utterance is heard. Here's an example. For the first Control-Down, we get multiple "object:text-caret-moved" events, some of which cause a paragraph to be spoken: -- OBJECT EVENT: object:text-caret-moved detail=(1,0) app.name='soffice' name='None' role='paragraph' state='editable enabled focusable focused multi line multiselectable showing visible' relations='flows to' ... sayLine: line=<NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and >, len=83, start=0, caret=1, speakBlankLines=True SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and ' -- OBJECT EVENT: object:text-caret-moved detail=(0,0) app.name='soffice' name='None' role='paragraph' state='editable enabled focusable focused multi line multiselectable showing visible' relations='flows to' ... sayLine: line=<NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and >, len=83, start=0, caret=0, speakBlankLines=True SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Our chief weapon is surprise. Surprise and ' -- OBJECT EVENT: object:text-caret-moved detail=(-1,0) app.name='soffice' name='None' role='paragraph' state='editable enabled focusable focused multi line multiselectable showing visible' relations='flows to' ... sayLine: line=<>, len=0, start=-1219041762, caret=-1, speakBlankLines=True sayLine: character=<>, start=-1246219256, end=-1255312077 -- OBJECT EVENT: object:text-caret-moved detail=(0,0) app.name='soffice' name='None' role='paragraph' state='editable enabled focusable focused multi line multiselectable showing visible' relations='flows from flows to' ... sayLine: line=<NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse >, len=78, start=0, caret=0, speakBlankLines=True SPEECH OUTPUT: 'NOBODY expects the Spanish Inquisition! Amongst our weaponry are such diverse ' I'm not sure what the best way to fix this is. :-( Is it something we should just add a "KNOWN ISSUE" to in the regression test?
Sorry, forgot to bring this one up in the Orca team meeting yesterday. Will, see previous comment. Is it something we should just add a "KNOWN ISSUE" to in the regression test?
(In reply to comment #2) > Sorry, forgot to bring this one up in the Orca team meeting yesterday. > > Will, see previous comment. Is it something we should just add a > "KNOWN ISSUE" to in the regression test? This is probably fine, and I think it may even be OK to not flag it as a KNOWN ISSUE.
> This is probably fine, and I think it may even be OK to not flag it > as a KNOWN ISSUE. Okay. Patch committed to SVN trunk. Moving to '[pending]'. Thanks.
This seems reasonable as a known issue.
Thanks Mike. Closing as FIXED.