GNOME Bugzilla – Bug 358902
mouse only multiple select in a treeview
Last modified: 2006-10-05 13:07:04 UTC
OS: Mac OS X 10.4.8 (8L127) GTK+: 2.6.10 Pan: 0.114 PCRE: 6.4 in case it matters all other libs come from fink unstable http://pdb.finkproject.org/pdb/index.php?phpLang=en Hi, I submitted bug# 358655 which was marked as a duplicate of 349012 which was marked as a duplicate of 80127 which was resolved fixed in gtk+ 2.0. This fix is not in 2.6.10 as far as I can tell. I do not want to re-open 80127 because I think that whole idea is an attempt to graft table functionality into the treeview widget which seems like the wrong plan to me. Pan (0.114) is calling for a tree view in pan-0.114/pan/gui/header-pane.cc inside the headerPane constructor like this: GtkWidget * w = _tree_view = gtk_tree_view_new (); gtk_tree_view_set_enable_search (GTK_TREE_VIEW(w), false); GtkTreeSelection * sel = gtk_tree_view_get_selection (GTK_TREE_VIEW(w)); gtk_tree_selection_set_mode (sel, GTK_SELECTION_MULTIPLE); note in the last line, it sets the selection mode to GTK_SELECTION_MULTIPLE. As far as I can tell (about 1 hour searching docs and 2 hours searching this bug tracker), this should allow mouse only multiple selection. Repeatable: always steps to repeat: start pan 0.114, set up a server, [double] click to open a group, click on a thread and drag down off of the pane. Expected result: The item clicked on is selected, as are all items below it, the view starts scrolling, and each new item that is displayed is added to the selection until either the end of the list, or the user releases the mouse button. Actual result: The item clicked on is selected. note: if you want to see the action I expected, use pan 0.14.2 and perform the same actions, however that functionality is implemented using either a gtkTable widget or a GtkCTree widget (I'm afraid my ability to understand what's going on is rather limited) If this problem is in pan instead of gtk+'s treeview, I am sorry, I did my best to hunt down the source of the problem. If this bug is a duplicate, I am sorry, I did my best to find anything like it and 80127 was the closest I found after about 2 hours of searching.
> 80127 which was resolved fixed in gtk+ 2.0. no, that isn't written anywhere. bug 80127 comment 27 only states that it has been committed at the beginning of june 2006, so it is most likely available in 2.10.x. you're running 2.6.x which is pretty old.
(In reply to comment #1) > > 80127 which was resolved fixed in gtk+ 2.0. > > no, that isn't written anywhere. bug 80127 comment 27 only states that it has > been committed at the beginning of june 2006, so it is most likely available in > 2.10.x. you're running 2.6.x which is pretty old. > I haven't gotten around to compiling it yet, but according to the changelog in 2.10.6, this feature was added on 2006-06-02 by Kristian Rietveld. So, you are absolutely correct. Thank you for explaining the situation to me. I apologize for wasting your time. If you would do me the favor of not telling more than ten people what a dumbass I am, I would apreciate it. In return, I will not submit bug reports in the future unless I have tested the current stable release. Again, sorry. *** This bug has been marked as a duplicate of 80127 ***
ehehe, no problem, you didn't waste my time... just trying to clean up bugzilla. :-)