GNOME Bugzilla – Bug 519542
gtk-demo/role_icon.py regression test #4 produces the wrong results.
Last modified: 2008-03-06 17:58:01 UTC
This is on latest Ubuntu Hardy: EXPECTED: "BUG? - we cannot get reliable output from this test since it depends on the contents of /", "BUG? - the icon is shown as selected, so we should present 1 of 26 items selected.", ACTUAL: "BRAILLE LINE: 'gtk-demo Application GtkIconView demo Frame ScrollPane LayeredPane bin Icon'", " VISIBLE: 'bin Icon', cursor=1", "SPEECH OUTPUT: 'Icon panel'", "SPEECH OUTPUT: 'bin'", "SPEECH OUTPUT: '1 of 24 items selected'", "SPEECH OUTPUT: 'on item 1 of 24'", Looks like this might be a case of the regression test needs amending for the second BUG? Not sure what to do about the first. It seems pointless having a regression test if we can't get reliant/consistent expected results.
Will's two BUG? lines for this regression test are: "BUG? - we cannot get reliable output from this test since it depends on the contents of /", "BUG? - we do not announce selection of icons (e.g., 2 of 26 items selected)." The second one contradicts what I've just implemented to fix regression test #2 for role_icon.py. So it looks like we need a spec Mike. Should we (for a single press "where am I" KP_Enter) for layered panes present (via speech): 1/ "<N> items" or 2/ "<M> of <N> items selected" ?
After thinking about this I think a user pressing the WhereAmI key would always want to know the number of items selected. I think "m of n items selected" is the way to go.
Thanks Mike. Okay, I'm closing this one as a duplicate of bug #519541 and will fix up role_icon.py regression tests #2 and #4 there. *** This bug has been marked as a duplicate of 519541 ***