[Thunar-dev] multiple selection in icon view

Matt McClinch mattmcclinch at gmail.com
Mon Apr 3 14:58:33 CEST 2006


Benedikt Meurer wrote:

>Matt McClinch wrote:
>  
>
>>Hi Benny,
>>
>>I don't completely agree with the way Thunar handles multiple
>>selection of files in icon view.  For example, if I select a file and
>>then shift+click another file, I am not trying to define a selection
>>rectangle, but rather specify the first and last objects in a
>>contiguous region of the list.  Try this: select a file, and then
>>press shift+right arrow repeatedly, and watch what happens to the
>>selection as the cursor moves to the next row.  Not exactly what I
>>would expect, and not at all what I intend.
>>    
>>
>
>This is a sideeffect of the right-arrow navigation. Shift-selection is
>always supposed to select the items between the "anchor item" and the
>"cursor item". I can't think of another solution, except blocking
>shift+right on the last item in a row.
>
>  
>
I have a very different idea of which items I consider to be "between 
the anchor item and the cursor item."  In the current implementation, 
this is determined by the row and column of the anchor item and the row 
and column of the cursor item.  The included files are based on the 
layout of the icons, which is dependent on the size of the Thunar 
window, which has nothing to do with anything.  A more sane approach, 
IMHO, would be to take a one-dimensional approach to "betweenness." 

>>I had some observations about the selection rectangle itself, but
>>since the idea of a "rectangle of files" doesn't make sense to me, I
>>won't bother you with them.  If it works fine for the people who use
>>it, then it's probably not broken.
>>    
>>
>
>I don't quite get what you mean here.
>
>  
>
With the way files are displayed, the only useful selection rectangles 
are those that are confined to a single row, or else include all 
displayed columns.  Even then, you would be lucky if the rectangle 
contained all the files you wanted and only the files you wanted.

>>Matt
>>    
>>
>
>Benedikt
>_______________________________________________
>Thunar-dev mailing list
>Thunar-dev at xfce.org
>http://foo-projects.org/mailman/listinfo/thunar-dev
>
>  
>




More information about the Thunar-dev mailing list