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 519542 - gtk-demo/role_icon.py regression test #4 produces the wrong results.
gtk-demo/role_icon.py regression test #4 produces the wrong results.
Status: RESOLVED DUPLICATE of bug 519541
Product: orca
Classification: Applications
Component: general
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: Orca Maintainers
Orca Maintainers
Depends on:
Blocks: 519271
 
 
Reported: 2008-02-29 15:32 UTC by Rich Burridge
Modified: 2008-03-06 17:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Rich Burridge 2008-02-29 15:32:40 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.
Comment 1 Rich Burridge 2008-03-05 20:34:35 UTC
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"

?
Comment 2 Mike Pedersen 2008-03-06 17:38:14 UTC
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.  
Comment 3 Rich Burridge 2008-03-06 17:58:01 UTC
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 ***