FastTableModel switched from default single-select to multi

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|

FastTableModel switched from default single-select to multi

Stephan Eggermont-3
Breaking all code that expects selectedItem to be not-nil.
Is that wanted behaviour? I noticed it broke SpecGenerator.
I have no strong opinion on this, and welcome all Spec progress.

Stephan


Reply | Threaded
Open this post in threaded view
|

Re: FastTableModel switched from default single-select to multi

Andrei Chis
Is this in the Glamour model or in the Spec one?
If it's the glamour one I made some changes to the Glamour one but I don't remember changing the default to multiple selection. Maybe it's a bug :)

Cheers,
Andrei

On Mon, Feb 13, 2017 at 12:38 AM, Stephan Eggermont <[hidden email]> wrote:
> Breaking all code that expects selectedItem to be not-nil.
> Is that wanted behaviour? I noticed it broke SpecGenerator.
> I have no strong opinion on this, and welcome all Spec progress.
>
> Stephan
>
>
Reply | Threaded
Open this post in threaded view
|

Re: FastTableModel switched from default single-select to multi

Stephan Eggermont-3
On 13/02/17 12:52, Andrei Chis wrote:
> Is this in the Glamour model or in the Spec one?

In the Spec one, so I might be a bit late in noticing.

Stephan



Reply | Threaded
Open this post in threaded view
|

Re: FastTableModel switched from default single-select to multi

tinchodias
Hi,

I can't reproduce in #60394. In fact I *want* multiple selection and only get single selection:

FastTableModel new beMultipleSelection; items: (1 to: 10) asArray; openWithSpec.

Martin



On Mon, Feb 13, 2017 at 9:03 PM, Stephan Eggermont <[hidden email]> wrote:
On 13/02/17 12:52, Andrei Chis wrote:
Is this in the Glamour model or in the Spec one?

In the Spec one, so I might be a bit late in noticing.

Stephan




Reply | Threaded
Open this post in threaded view
|

Re: FastTableModel switched from default single-select to multi

tinchodias
Reported as https://pharo.fogbugz.com/f/cases/19715/FastTableModel-Can-t-enable-multiple-selection

I checked that multiple selection works with ListModel (the superclass of FastTableModel).

Martin


On Wed, Feb 15, 2017 at 1:56 PM, Martin Dias <[hidden email]> wrote:
Hi,

I can't reproduce in #60394. In fact I *want* multiple selection and only get single selection:

FastTableModel new beMultipleSelection; items: (1 to: 10) asArray; openWithSpec.

Martin



On Mon, Feb 13, 2017 at 9:03 PM, Stephan Eggermont <[hidden email]> wrote:
On 13/02/17 12:52, Andrei Chis wrote:
Is this in the Glamour model or in the Spec one?

In the Spec one, so I might be a bit late in noticing.

Stephan





Reply | Threaded
Open this post in threaded view
|

Re: FastTableModel switched from default single-select to multi

tinchodias
I set the case to "Milestone Later"... I reproduced the bug in Pharo 5

On Wed, Feb 15, 2017 at 2:01 PM, Martin Dias <[hidden email]> wrote:
Reported as https://pharo.fogbugz.com/f/cases/19715/FastTableModel-Can-t-enable-multiple-selection

I checked that multiple selection works with ListModel (the superclass of FastTableModel).

Martin


On Wed, Feb 15, 2017 at 1:56 PM, Martin Dias <[hidden email]> wrote:
Hi,

I can't reproduce in #60394. In fact I *want* multiple selection and only get single selection:

FastTableModel new beMultipleSelection; items: (1 to: 10) asArray; openWithSpec.

Martin



On Mon, Feb 13, 2017 at 9:03 PM, Stephan Eggermont <[hidden email]> wrote:
On 13/02/17 12:52, Andrei Chis wrote:
Is this in the Glamour model or in the Spec one?

In the Spec one, so I might be a bit late in noticing.

Stephan






Reply | Threaded
Open this post in threaded view
|

Re: FastTableModel switched from default single-select to multi

Stephan Eggermont-3
On 16/02/17 20:37, Martin Dias wrote:
> I set the case to "Milestone Later"... I reproduced the bug in Pharo 5

It is somewhat more complex. I have the problem with doubleClick,
but not if only adding a doubleClick handler. In SpecGenerator
I set some more properties.

Stephan