I found a possible fix that needs review:
https://pharo.fogbugz.com/f/cases/12985/Sometimes-multi-selection-is-lost-on-trees
cheers,
MartÃn
On Sat, Feb 22, 2014 at 5:20 PM, Martin Dias wrote:
> On Sat, Feb 22, 2014 at 5:04 PM, Martin Dias wrote:
> > On Sat, Feb 22, 2014 at 4:53 PM, Benjamin
On Sat, Feb 22, 2014 at 5:04 PM, Martin Dias wrote:
> On Sat, Feb 22, 2014 at 4:53 PM, Benjamin
> wrote:
>> On 22 Feb 2014, at 16:40, Martin Dias wrote:
>>>
>>> Mmm, now that I test it with a mouse instead of a trackpad, I see
>>> it's almost impossible to do not loose the multiple selection
On Sat, Feb 22, 2014 at 4:53 PM, Benjamin
wrote:
> On 22 Feb 2014, at 16:40, Martin Dias wrote:
>>
>> Mmm, now that I test it with a mouse instead of a trackpad, I see
>> it's almost impossible to do not loose the multiple selection before
>> starting the drag in a TreeModel.
>
> Why?
> Here
On Fri, Feb 21, 2014 at 6:26 PM, Martin Dias wrote:
> On Fri, Feb 21, 2014 at 2:14 PM, Benjamin
> wrote:
>> This works:
>>
>> m := TreeModel new.
>> m roots: #(1 2 3 4 5).
>> m dragEnabled: true.
>> m dropEnabled: true.
>>
>> m transferBlock: [ :p :s |
>> TransferMorph
>> withPassenger: s model
>
On Fri, Feb 21, 2014 at 2:14 PM, Benjamin
wrote:
> This works:
>
> m := TreeModel new.
> m roots: #(1 2 3 4 5).
> m dragEnabled: true.
> m dropEnabled: true.
>
> m transferBlock: [ :p :s |
> TransferMorph
> withPassenger: s model
> selectedItems from: s ].
>
> m multiSelection: true.
>
> m openWit
This works:
m := TreeModel new.
m roots: #(1 2 3 4 5).
m dragEnabled: true.
m dropEnabled: true.
m transferBlock: [ :p :s |
TransferMorph
withPassenger: s model
selectedItems from: s ].
Hi,
I'm looking for a "kind-of-list" spec model (or morph) in Pharo 3 that
supports multiple-selection drag-and-drop. I tried with TreeModel,
NewListModel and ListModel... they don't support.
Note: NewListModel even doesn't support single-selection drag-and-drop...
is this a known issue or should