GNOME Bugzilla – Bug 519541
gtk-demo/role_icon.py regression test #2 produces the wrong results.
Last modified: 2008-03-07 21:34:15 UTC
This is on latest Ubuntu Hardy: EXPECTED: "BUG? - should we present the number of items in the layered pane?", "BRAILLE LINE: 'gtk-demo Application GtkIconView demo Frame ScrollPane LayeredPane'", " VISIBLE: 'LayeredPane', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'layered pane'", ACTUAL: "BRAILLE LINE: 'gtk-demo Application GtkIconView demo Frame ScrollPane LayeredPane'", " VISIBLE: 'LayeredPane', cursor=1", "SPEECH OUTPUT: ''", "SPEECH OUTPUT: 'layered pane'", [FAILURE WAS EXPECTED - LOOK FOR BUG? IN EXPECTED RESULTS] We need to determine if we should present the number of items in the layered pane.
Created attachment 106640 [details] [review] Revision #1 Assuming that this is what we want (Will's BUG? comment was should we present the number of items in the layered pane?) then this patch adds "<N> items" as the last thing spoken for a single-press "where am I" KP_Enter.
*** Bug 519542 has been marked as a duplicate of this bug. ***
Commentary from Mike in bug #519542: '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.' I'll adjust the patch here to do that, and fixup role_icon.py regression tests #2 and #4 to match.
Created attachment 106709 [details] [review] Revision #2 This now produces the expected results when run on Ubuntu Hardy.
This also fixes up the output for test #7, so perhaps bug #519543 should be adjusted to specifically handle the case of creating a special directory and adjusting the test to use that...
Patch committed. Closing as FIXED. Bug #519543 will be the one where the role_icon.py regression tests are updated to use a special directory that hopefully resolves the Solaris/Ubuntu differences.