Thunar / libexo: detailed view

Peter de Ridder peter at xfce.org
Sun Mar 2 23:56:47 CET 2008


On Sun, Mar 2, 2008 at 8:31 PM, Mike Massonnet <mmassonnet at gmail.com> wrote:

> On Sun, Mar 02, 2008 at 01:54:09PM -0500, Ori Bernstein wrote:
> > On Sun, 2 Mar 2008 13:47:15 +0100, "Peter de Ridder" <peter at xfce.org>
> said:
> >
> > You forgot one idea =)
> >
> > > Different ideas:
> > > 1. Specify a column as drag column, the other columns are used for
> rubber
> > > band
> > > 2. The part of a column that has the actual text rendered  is the drag
> part
> > >    of the row the empty parts is for rubber banding
> > > 3. Combination of both 1 and 2, only the rendered part of the drag
> column is
> > >    for dragging
> > > 4. Leave it as it is and don't bother ;)
> > 5. Remove rubber band selection entirely, and use shift-click and
> >    ctrl-click like any other tree view
>
> "Remove rubber band", that's... not a solution and most probably a lack
> for a file manager (forget about the consistent for tree views).
>

I stated this thread to talk about making the different views in thunar
consistent, consistency with other tree views is not bad either, but this
would give any need for me to patch thunar/libexo since removing the lines
which set gtk_tree_view_set_rubber_banding, so for my point of view 4 and 5
are actualy the same.

What is forgot to mention is that the context menu of then parent folder
isn't accessible trough right click since there is no background to click
on. This is also a part which can be fixed with either solution 1, 2 or 3.
The actual reason I'm interested in making this patch is for the context
menu, but since the solution can be used for both dragging and context menu,
I put it under dragging cause that is inconsistent with the other views.

I see much responses about disabling rubber banding entirely, maybe it is
worth an enhancement request to disable it, but that doesn't make a
difference to how rubber banding response is implemented. And disabling
rubber banding wouldn't solve the context menu issue.

So I'll add another consideration:
- Should the parent folder context menu be shown at right click at locations
as specified by 1, 2 or 3?

I also added a patch so you can try suggestion 1, however the drag column is
hard coded to column 0 which in most cases will be the name column.

Greeting,
Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20080302/b32b2e8e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libexo.diff
Type: text/x-patch
Size: 3918 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce4-dev/attachments/20080302/b32b2e8e/attachment.bin>


More information about the Xfce4-dev mailing list