Bug#531897: libgtk2.0-0: Debian patch applied to upstream changes GtkTreeSelection, behavior under LSB testing

Josselin Mouette joss at debian.org
Fri Jun 5 07:54:27 UTC 2009


Le jeudi 04 juin 2009 à 15:04 -0400, Stew Benedict a écrit :
> Ref: http://bugs.linuxbase.org/show_bug.cgi?id=2170
> 
> We've been seeing issues with GTK testing under lsb-test-desktop for a 
> while
> now, but have been waving the failures as it was felt it was too late in
> distribution cycles to ask for a change to a core package like this. It
> would seem that only Debian-based systems have this issue and it seems to
> be directly connected to the patch 042_treeview_single_focus.patch. I've
> reviewed the tests, and they seem valid.
> 
> Opening this bug report to stimulate some discussion as to whether this
> patch really is required.

My opinion is that the upstream behavior is incorrect.
GTK_SELECTION_SINGLE means that zero or one item might be selected.
GTK_SELECTION_BROWSE means that one item at a time must always be
selected. While it is correct to force an item to be selected when the
focus moves to a _BROWSE treeview, it is not when the focus moves to a
_SINGLE one, since it is perfectly valid to have nothing selected.

This triggers a very practical and annoying accessibility issue, in the
file chooser dialog. If you use only the keyboard to move the focus,
when the shortcuts list gets the focus, one of them always gets
selected, even though the current directory does not necessarily
correspond to a shortcut. This makes the current directory change by
only switching the focus, which cannot be right.

See http://bugzilla.gnome.org/show_bug.cgi?id=492206

Cheers,
-- 
 .''`.      Josselin Mouette
: :' :
`. `'   “I recommend you to learn English in hope that you in
  `-     future understand things”  -- Jörg Schilling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message num?riquement sign?e
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20090605/722feb14/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list