[
https://issues.apache.org/jira/browse/PIVOT-369?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12793481#action_12793481
]
Greg Brown commented on PIVOT-369:
----------------------------------
True. But the strange thing about the OS X Finder is that you can drag
something that isn't selected, which I think is arguably "bad" UE. Consider a
list containing "A", "B", and "C", where "A" and "C" are selected and "B" is
not. In the Finder, if you click and drag "B", "A" and "C" remain selected,
while "B" does not get selected but is dragged. To me, this seems wrong.
However, if "A" and "C" are selected and the user clicks and drags either of
those, I'd expect them both to be dragged, which isn't the current behavior in
Pivot (the selection reverts to either "A" or "C" - whichever one was clicked
on). So, I could see an argument for not immediately resetting the selection on
mouse down if the item is already selected. But I kind of like the idea of
resetting the selection when the mouse down item is not currently selected.
OTOH, this is a UE issue, and a UE expert may have a different perspective.
That's why I think deferring this to 2.0 is probably a good idea.
> 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.