[ 
https://issues.apache.org/jira/browse/PIVOT-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793608#action_12793608
 ] 

Greg Brown commented on PIVOT-369:
----------------------------------

Do Explorer and Nautilus select on mouse down or mouse up? Finder has this 
weird behavior where if you select the actual text or icon, it selects on mouse 
up, but if you click on an empty area of a row, it selects on mouse down. It 
seems that this is done to facilitate drag/drop selection (click on an empty 
area of a row, then drag up or down to select additional rows). However, I find 
the different selection behavior confusing. Also, I don't expect click and drag 
to select - ever. I expect it to move or copy the selected items.

So, until we get further UE input, I suggest that selection behave as follows 
when no modifier key is pressed:

On mouse down:
- If the item is not currently selected, reset the selection to only that item
- If the item is selected, ignore mouse down

On mouse up:
- If the item is selected, reset the selection to only that item


> Bad UE dragging multiple selected items in ListView
> ---------------------------------------------------
>
>                 Key: PIVOT-369
>                 URL: https://issues.apache.org/jira/browse/PIVOT-369
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 1.4
>            Reporter: Todd Volkert
>             Fix For: 2.0
>
>
> Steps to reproduce:
> 1) Create a list view with selectMode="multi", and attach a drag source to it.
> 2) Select multiple items, then click to drag the selection out of the list 
> view.
> Expected behavior:
> You expect the multiple items to be dragged
> Actual result:
> Upon mouse down, the selection is reset to be a single item, causing you to 
> drag just one item.
> Workaround:
> If you hold down CTRL or SHIFT as you begin your drag, you can kind of work 
> around this issue, but that is obviously a less-than-ideal user experience.
> Note that this could affect TableView and TreeView as well, though they 
> weren't tested as part of this ticket.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to