Re: [Pharo-dev] Pharo7 Inspector feature idea - cherry-pick collection items

2017-03-17 Thread Alistair Grant
On 17 March 2017 at 12:40, Ben Coman  wrote:
>
>
> On Fri, Mar 17, 2017 at 5:02 PM, Tudor Girba  wrote:
>>
>> Hi,
>>
>> That list is multi-selection. On Mac, you can press Cmd while clicking and
>> you get the collection to the right.
>>
>>
>
> I now see that Shift-click multi-selects and works just like I imagined it
> would.
> However Ctrl-click doesn't do anything, which was the only thing I tested
> before.
> I presume that is a bug?  Can anyone confirm this on Linux?
>
> I'm... 32-bit Debian 8 Jessie.
> Pharo 60447 & Unix VM built on Mar  3 2017 21:07:26 Compiler: 4.6.3
> VMMaker versionString VM: 201703031554
> https://github.com/pharo-project/pharo-vm.git $ Date: Fri Mar 3 16:54:16
> 2017 +0100 $ Plugins: 201703031554
> https://github.com/pharo-project/pharo-vm.git $
> CoInterpreter * VMMaker.oscog-eem.2143 uuid:
> fe064b6b-e530-4766-837d-799ffe1e8dcd Mar  3 2017
> StackToRegisterMappingCogit * VMMaker.oscog-eem.2143 uuid:
> fe064b6b-e530-4766-837d-799ffe1e8dcd Mar  3 2017

I have the same behaviour (can't multi-select using Ctrl-click on linux):

Ubuntu 16.04

Pharo 6.0
Latest update: #60438

5.0-201702221539  Wed Feb 22 15:46:29 UTC 2017 gcc 4.6.3 [Production
Spur ITHB VM]
CoInterpreter * VMMaker.oscog-EstebanLorenzano.2136 uuid:
40534c32-ca6b-4e97-91ec-31d509e49b0c Feb 22 2017
StackToRegisterMappingCogit * VMMaker.oscog-EstebanLorenzano.2136
uuid: 40534c32-ca6b-4e97-91ec-31d509e49b0c Feb 22 2017
VM: 201702221539 https://github.com/pharo-project/pharo-vm.git $ Date:
Wed Feb 22 16:39:40 2017 +0100 $
Plugins: 201702221539 https://github.com/pharo-project/pharo-vm.git $
Linux testing-docker-9b911eb3-3e93-4fc4-acb7-571482555639
4.8.12-040812-generic #201612020431 SMP Fri Dec 2 09:33:31 UTC 2016
i686 i686 i386 GNU/Linux
plugin path: /snap/pharo/x1/usr/bin/pharo-vm/ [default:
/snap/pharo/x1/usr/bin/pharo-vm/]

Cheers,
Alistair



Re: [Pharo-dev] Pharo7 Inspector feature idea - cherry-pick collection items

2017-03-17 Thread Ben Coman
On Fri, Mar 17, 2017 at 5:02 PM, Tudor Girba  wrote:

> Hi,
>
> That list is multi-selection. On Mac, you can press Cmd while clicking and
> you get the collection to the right.
>
>
>
I now see that Shift-click multi-selects and works just like I imagined it
would.
However Ctrl-click doesn't do anything, which was the only thing I tested
before.
I presume that is a bug?  Can anyone confirm this on Linux?

I'm... 32-bit Debian 8 Jessie.
Pharo 60447 & Unix VM built on Mar  3 2017 21:07:26 Compiler: 4.6.3
VMMaker versionString VM: 201703031554
https://github.com/pharo-project/pharo-vm.git $ Date: Fri Mar 3 16:54:16
2017 +0100 $ Plugins: 201703031554
https://github.com/pharo-project/pharo-vm.git $
CoInterpreter * VMMaker.oscog-eem.2143 uuid:
fe064b6b-e530-4766-837d-799ffe1e8dcd Mar  3 2017
StackToRegisterMappingCogit * VMMaker.oscog-eem.2143 uuid:
fe064b6b-e530-4766-837d-799ffe1e8dcd Mar  3 2017

cheers -ben


> Cheers,
> Doru
>
>
> On Mar 17, 2017, at 8:14 AM, Ben Coman  > wrote:
>
> Sometimes when exploring a large data set in inspector,
> I'd like to cherry pick a few items to act on as a collection.
>
> This would need to be valdiated/tested, but It could be useful to be
> able to multi-select items and have the next pane to the right be the
> collection containing the list of picked items.
>
> For the moment I can get by with...   "self first: 5".
>
> cheers -ben
> .
>
>
> --
> www.tudorgirba.com
> www.feenk.com
>
> "What we can governs what we wish."
>
>
>
>
>


Re: [Pharo-dev] Pharo7 Inspector feature idea - cherry-pick collection items

2017-03-17 Thread Tudor Girba
Yes, the order is given by the order in which I click on the items.

Doru


> On Mar 17, 2017, at 9:26 AM, Denis Kudriashov  wrote:
> 
> 
> 2017-03-17 10:18 GMT+01:00 Norbert Hartl :
> Is there a reason why the order is reversed?
> 
> I think it related to FastTable. Selected indexes are in order from last 
> selected to first selected. New selected row is always added as first.

--
www.tudorgirba.com
www.feenk.com

"If you can't say why something is relevant, 
it probably isn't."




Re: [Pharo-dev] Pharo7 Inspector feature idea - cherry-pick collection items

2017-03-17 Thread Denis Kudriashov
2017-03-17 10:18 GMT+01:00 Norbert Hartl :

> Is there a reason why the order is reversed?


I think it related to FastTable. Selected indexes are in order from last
selected to first selected. New selected row is always added as first.


Re: [Pharo-dev] Pharo7 Inspector feature idea - cherry-pick collection items

2017-03-17 Thread Norbert Hartl
Is there a reason why the order is reversed?

Norbert

> Am 17.03.2017 um 10:02 schrieb Tudor Girba :
> 
> Hi,
> 
> That list is multi-selection. On Mac, you can press Cmd while clicking and 
> you get the collection to the right.
> 
> 
> Cheers,
> Doru
> 
> 
>> On Mar 17, 2017, at 8:14 AM, Ben Coman > > wrote:
>> 
>> Sometimes when exploring a large data set in inspector,
>> I'd like to cherry pick a few items to act on as a collection.
>> 
>> This would need to be valdiated/tested, but It could be useful to be
>> able to multi-select items and have the next pane to the right be the
>> collection containing the list of picked items.
>> 
>> For the moment I can get by with...   "self first: 5".
>> 
>> cheers -ben
>> .
>> 
> 
> --
> www.tudorgirba.com 
> www.feenk.com
> 
> "What we can governs what we wish."
> 
> 
> 
> 



Re: [Pharo-dev] Pharo7 Inspector feature idea - cherry-pick collection items

2017-03-17 Thread Tudor Girba
Hi,

That list is multi-selection. On Mac, you can press Cmd while clicking and you 
get the collection to the right.


Cheers,
Doru


> On Mar 17, 2017, at 8:14 AM, Ben Coman  wrote:
> 
> Sometimes when exploring a large data set in inspector,
> I'd like to cherry pick a few items to act on as a collection.
> 
> This would need to be valdiated/tested, but It could be useful to be
> able to multi-select items and have the next pane to the right be the
> collection containing the list of picked items.
> 
> For the moment I can get by with...   "self first: 5".
> 
> cheers -ben
> .
> 

--
www.tudorgirba.com
www.feenk.com

"What we can governs what we wish."






[Pharo-dev] Pharo7 Inspector feature idea - cherry-pick collection items

2017-03-17 Thread Ben Coman
Sometimes when exploring a large data set in inspector,
I'd like to cherry pick a few items to act on as a collection.

This would need to be valdiated/tested, but It could be useful to be
able to multi-select items and have the next pane to the right be the
collection containing the list of picked items.

For the moment I can get by with...   "self first: 5".

cheers -ben
.