KDE/kdevplatform/plugins/projectmanagerview

Andreas Pakulat apaku at gmx.de
Tue Jun 23 08:56:50 UTC 2009


On 23.06.09 09:58:23, Dan Leinir Turthra Jensen wrote:
> On Tuesday 23 June 2009 08:32:39 Andreas Pakulat wrote:
> > On 22.06.09 22:00:52, David Nolden wrote:
> > > SVN commit 985481 by zwabel:
> > >
> > > Don't collapse items on single-click. Since it should be possible to just
> > > select something in the project-manager, collapsing the item is often an
> > > annoying and unexpected action.
> >
> > I don't like this at all. If a single click expands, then another click
> > should collapse the tree. Thats the normal behaviour.
> >
> > However I agree that its annoying that you cannot select something
> > easily. So how about we only expand/collaps on double click?
> 
>   Down this path lies dragons. Seriously, don't start implementing this sort 
> of thing - we've just removed the custom click handling in Amarok because it 
> was a nightmare for both developers and users to keep track of. i said this on 
> IRC yesterday as well, and i hope that people will listen to experience on 
> this one.

Uhm, I don't see a problem with that, because all we do is handle folders
(or expandable items) in the doubleClick slot. The activate slot will still
contain the code to open files, hence KDE's single-click behaviour is only
worked around for folders/expandable items.
 
> > The QTest toolview also provides a solution by implementing something
> > similar to dolphins "+/-" overlay icons, but personally I'd like simple
> > double-click behaviour better.
> 
>   Dolphin's solution is designed specifically to alleviate the problems 
> described above. Please! please use that in stead.

This needs a _lot_ more code to be implemented properly than we should
spend on this. Apart from that in a treeview (small icons, little space)
this thing eats up too much of the treeview space, especially when the tree
gets deeper.

Andreas

-- 
So this is it.  We're going to die.




More information about the KDevelop-devel mailing list