[Thunar-dev] Selecting files in single click mode

Mikko Linnalo mlinnalo at gmail.com
Sat Feb 25 17:59:49 CET 2006


On Sat, 2006-02-25 at 17:04 +0100, Benedikt Meurer wrote:
> Benedikt Meurer wrote:
> >>I was testing the new single click feature and was wondering if it could
> >>be possible to implement a feature where files get selected by just
> >>hovering the mouse pointer on them (e.g. ~500msecs). This is how single
> >>click works atleast in Windows. Now user has to keep Ctrl or Shift
> >>pressed when selecting even a single file.
> > 
> > 
> > See the attached patch for ExoIconView, that should do the trick for the
> > icon view. For the details view, GtkTreeView offers a hover-selection
> > setting, but that doesn't work for multi-selection mode and it'll also
> > select the row right away without any timeout. I could add an
> > ExoTreeView class, which extends GtkTreeView with the required single
> > click features.

Patch works like a charm in icon mode

> Hm, this makes the icon view somewhat tricky to use in single click
> mode. It's too easy to accidently select a file now.
> 
> Benedikt

If you're referring to functionality from the patch, I don't see the
harm in accidental selection of a file (does not happen that easily
anyway IMHO). That's how it works in all single click apps I've seen,
people are used to it.

-Mikko




More information about the Thunar-dev mailing list