GNOME Bugzilla – Bug 523237
gtk-demo/role_table.py regression tests 1, 2, 3, 4, 6, and 7 produce the wrong results.
Last modified: 2008-04-04 18:31:01 UTC
Test 1 of 7 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/gtk-demo/role_table.py:Table initial focus EXPECTED: "BRAILLE LINE: 'gtk-demo Application Window Editable Cells $l'", " VISIBLE: 'Editable Cells $l', cursor=15", "BRAILLE LINE: 'gtk-demo Application Window $l'", " VISIBLE: 'gtk-demo Application Window $l', cursor=29", "BRAILLE LINE: 'gtk-demo Application Window $l'", " VISIBLE: 'gtk-demo Application Window $l', cursor=29", "BRAILLE LINE: 'gtk-demo Application GTK+ Code Demos Frame TabList Widget (double click for demo) Page ScrollPane TreeTable Widget (double click for demo) ColumnHeader Editable Cells TREE LEVEL 2'", " VISIBLE: 'Editable Cells TREE LEVEL 2', cursor=1", "BRAILLE LINE: 'gtk-demo Application Shopping list Frame'", " VISIBLE: 'Shopping list Frame', cursor=1", "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Number ColumnHeader 3 bottles of coke'", " VISIBLE: '3 bottles of coke', cursor=1", "SPEECH OUTPUT: 'Widget (double click for demo) page'", "SPEECH OUTPUT: 'Widget (double click for demo) column header'", "SPEECH OUTPUT: 'Editable Cells'", "SPEECH OUTPUT: 'tree level 2'", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'Shopping list frame'", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'Number column header'", "SPEECH OUTPUT: '3 bottles of coke'", ACTUAL: "BRAILLE LINE: 'gtk-demo Application Window Editable Cells $l'", " VISIBLE: 'Editable Cells $l', cursor=15", "BRAILLE LINE: 'gtk-demo Application Window $l'", " VISIBLE: 'gtk-demo Application Window $l', cursor=29", "BRAILLE LINE: 'gtk-demo Application Window $l'", " VISIBLE: 'gtk-demo Application Window $l', cursor=29", "BRAILLE LINE: 'gtk-demo Application GTK+ Code Demos Frame TabList Widget (double click for demo) Page ScrollPane TreeTable Widget (double click for demo) ColumnHeader Editable Cells TREE LEVEL 2'", " VISIBLE: 'Editable Cells TREE LEVEL 2', cursor=1", "BRAILLE LINE: 'gtk-demo Application Shopping list Frame'", " VISIBLE: 'Shopping list Frame', cursor=1", "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table'", " VISIBLE: 'Table', cursor=1", "SPEECH OUTPUT: 'Widget (double click for demo) page'", "SPEECH OUTPUT: 'Widget (double click for demo) column header'", "SPEECH OUTPUT: 'Editable Cells'", "SPEECH OUTPUT: 'tree level 2'", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'Shopping list frame'", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'table'", Both braille and speech are different. Test 2 of 7 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/gtk-demo/role_table.py:Table Where Am I EXPECTED: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Number ColumnHeader 3 bottles of coke'", " VISIBLE: '3 bottles of coke', cursor=1", "SPEECH OUTPUT: 'table'", "SPEECH OUTPUT: 'Number'", "SPEECH OUTPUT: 'cell'", "SPEECH OUTPUT: '3'", "SPEECH OUTPUT: 'row 1 of 5'", ACTUAL: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table'", " VISIBLE: 'Table', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'table'", Totally different actual output. Test 3 of 7 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/gtk-demo/role_table.py:Table down one line EXPECTED: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Number ColumnHeader 5 packages of noodles'", " VISIBLE: '5 packages of noodles', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: '5 packages of noodles'", ACTUAL: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Number ColumnHeader 3 bottles of coke'", " VISIBLE: '3 bottles of coke', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'Number column header'", "SPEECH OUTPUT: '3 bottles of coke'", Same again Test 4 of 7 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/gtk-demo/role_table.py:Table Where Am I (again) EXPECTED: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Number ColumnHeader 5'", " VISIBLE: '5', cursor=1", "SPEECH OUTPUT: 'table'", "SPEECH OUTPUT: 'Number'", "SPEECH OUTPUT: 'cell'", "SPEECH OUTPUT: '5'", "SPEECH OUTPUT: 'row 2 of 5'", ACTUAL: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Number ColumnHeader 3 bottles of coke'", " VISIBLE: '3 bottles of coke', cursor=1", "SPEECH OUTPUT: 'table'", "SPEECH OUTPUT: 'Number'", "SPEECH OUTPUT: 'cell'", "SPEECH OUTPUT: '3'", "SPEECH OUTPUT: 'row 1 of 5'", And again. Test 6 of 7 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/gtk-demo/role_table.py:Table up to packages of noodles EXPECTED: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Product ColumnHeader packages of noodles Cell'", " VISIBLE: 'packages of noodles Cell', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'Product column header'", "SPEECH OUTPUT: 'packages of noodles'", ACTUAL: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Product ColumnHeader bottles of coke Cell'", " VISIBLE: 'bottles of coke Cell', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'Product column header'", "SPEECH OUTPUT: 'bottles of coke'", Ditto. Test 7 of 7 FAILED: /home/richb/gnome/orca/trunk/test/keystrokes/gtk-demo/role_table.py:Table up to bottles of coke EXPECTED: "BRAILLE LINE: 'gtk-demo Application Shopping list Frame ScrollPane Table Product ColumnHeader bottles of coke Cell'", " VISIBLE: 'bottles of coke Cell', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'bottles of coke'", ACTUAL: "", Ditto.
Comment from Joanie: "NOT confirmed. SUMMARY: 7 SUCCEEDED and 0 FAILED (0 UNEXPECTED) of 7 for /home/jd/orca/test/keystrokes/gtk-demo/role_table.py Couldn't tell ya...." ---- I'm almost convinced my run of the test got out of sync. I need to retry this via runone.sh and see what I get.
Looking at just the results of the first test, what I'm seeing now is that when the gtk-demo Tree View->Editable Cells demo is started by pressing return from the gtk-demo list, the initial focus is on: +- app.name='gtk-demo' name='gtk-demo' role='application' state='' relations='' +- app.name='gtk-demo' name='Shopping list' role='frame' state='active enabled resizable sensitive showing visible' relations='' +- app.name='gtk-demo' name='None' role='filler' state='enabled sensitive showing vertical visible' relations='' +- app.name='gtk-demo' name='None' role='scroll pane' state='enabled focusable sensitive showing visible' relations='' +- app.name='gtk-demo' name='None' role='table' state='enabled focusable focused sensitive showing visible manages descendants' relations=' which matches the ACTUAL results. But if I remove focus from that window (I'm using focus follows pointer mode at the moment), then return it to that window, focus goes to: +- app.name='gtk-demo' name='gtk-demo' role='application' state='' relations='' +- app.name='gtk-demo' name='Shopping list' role='frame' state='active enabled resizable sensitive showing visible' relations='' +- app.name='gtk-demo' name='None' role='filler' state='enabled sensitive showing vertical visible' relations='' +- app.name='gtk-demo' name='None' role='scroll pane' state='enabled focusable sensitive showing visible' relations='' +- app.name='gtk-demo' name='None' role='table' state='enabled focusable focused sensitive showing visible manages descendants' relations='' +- app.name='gtk-demo' name='3' role='table cell' state='active enabled focusable focused selectable sensitive showing single line transient visible' relations='' which then gives braille and speech that matched the EXPECTED results. Weird.
Created attachment 108201 [details] [review] Revision #1. Looks like table behavior has changed too. If I press Down to select the first line in the table in test #1, we now get all the right results for all of the tests. Patch not committed yet. Please test.
To make it easier for Mike to test, I've committed this patch to SVN trunk. If it's the wrong fix, please let me know and I'll back it out. Moving to "[pending]".