Array does not show its content, just number of items

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

Array does not show its content, just number of items

Jan Kurš
Hey,

I usually inspect a lot with arrays and since recently, I don't see really an array content, just number of items, eg:

#( #('a' 'b') #('b')) -> inspect

an Array [2 items]
an Array [1 item]

Instead of:
#( #('a' 'b') #('b'))

This is -- for me -- super-annoying. do you think an original functionality can be returned back, or you have some serious reasons to have it like this?

Cheers,
Jan

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Array does not show its content, just number of items

Tudor Girba-2
Hi,

This was changed on purpose but it was mainly targeted to the label in the inspector. The problem is that when you have a large amount of items, the label did not work well.

The issue was here:

Your current issue is related to how the items look in the Items presentation. Indeed, there we also use the same gtDisplayString.

Could you open a pharo issue with this?

Cheers,
Doru



On Wed, Apr 8, 2015 at 9:10 AM, Jan Kurš <[hidden email]> wrote:
Hey,

I usually inspect a lot with arrays and since recently, I don't see really an array content, just number of items, eg:

#( #('a' 'b') #('b')) -> inspect

an Array [2 items]
an Array [1 item]

Instead of:
#( #('a' 'b') #('b'))

This is -- for me -- super-annoying. do you think an original functionality can be returned back, or you have some serious reasons to have it like this?

Cheers,
Jan

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Array does not show its content, just number of items

Jan Kurš
Hi, Thank you for the information. Would it be possible if the behaviour is like this:

- Show string if the string is bellow N characters
- Show number of items if the printString is above N characters?

I will do the change, if you agree this is ok ...

Cheers,
Jan

On 8 April 2015 at 09:24, Tudor Girba <[hidden email]> wrote:
Hi,

This was changed on purpose but it was mainly targeted to the label in the inspector. The problem is that when you have a large amount of items, the label did not work well.

The issue was here:

Your current issue is related to how the items look in the Items presentation. Indeed, there we also use the same gtDisplayString.

Could you open a pharo issue with this?

Cheers,
Doru



On Wed, Apr 8, 2015 at 9:10 AM, Jan Kurš <[hidden email]> wrote:
Hey,

I usually inspect a lot with arrays and since recently, I don't see really an array content, just number of items, eg:

#( #('a' 'b') #('b')) -> inspect

an Array [2 items]
an Array [1 item]

Instead of:
#( #('a' 'b') #('b'))

This is -- for me -- super-annoying. do you think an original functionality can be returned back, or you have some serious reasons to have it like this?

Cheers,
Jan

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Array does not show its content, just number of items

Tudor Girba-2
Please open the issue and let's discuss there, because Nicolai will likely want to participate as well :)

Doru

On Wed, Apr 8, 2015 at 9:37 AM, Jan Kurš <[hidden email]> wrote:
Hi, Thank you for the information. Would it be possible if the behaviour is like this:

- Show string if the string is bellow N characters
- Show number of items if the printString is above N characters?

I will do the change, if you agree this is ok ...

Cheers,
Jan

On 8 April 2015 at 09:24, Tudor Girba <[hidden email]> wrote:
Hi,

This was changed on purpose but it was mainly targeted to the label in the inspector. The problem is that when you have a large amount of items, the label did not work well.

The issue was here:

Your current issue is related to how the items look in the Items presentation. Indeed, there we also use the same gtDisplayString.

Could you open a pharo issue with this?

Cheers,
Doru



On Wed, Apr 8, 2015 at 9:10 AM, Jan Kurš <[hidden email]> wrote:
Hey,

I usually inspect a lot with arrays and since recently, I don't see really an array content, just number of items, eg:

#( #('a' 'b') #('b')) -> inspect

an Array [2 items]
an Array [1 item]

Instead of:
#( #('a' 'b') #('b'))

This is -- for me -- super-annoying. do you think an original functionality can be returned back, or you have some serious reasons to have it like this?

Cheers,
Jan

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Array does not show its content, just number of items

Nicolai Hess


2015-04-08 9:47 GMT+02:00 Tudor Girba <[hidden email]>:
Please open the issue and let's discuss there, because Nicolai will likely want to participate as well :)

For sure!

 

Doru

On Wed, Apr 8, 2015 at 9:37 AM, Jan Kurš <[hidden email]> wrote:
Hi, Thank you for the information. Would it be possible if the behaviour is like this:

- Show string if the string is bellow N characters
- Show number of items if the printString is above N characters?

I will do the change, if you agree this is ok ...

Cheers,
Jan

On 8 April 2015 at 09:24, Tudor Girba <[hidden email]> wrote:
Hi,

This was changed on purpose but it was mainly targeted to the label in the inspector. The problem is that when you have a large amount of items, the label did not work well.

The issue was here:

Your current issue is related to how the items look in the Items presentation. Indeed, there we also use the same gtDisplayString.

Could you open a pharo issue with this?

Cheers,
Doru



On Wed, Apr 8, 2015 at 9:10 AM, Jan Kurš <[hidden email]> wrote:
Hey,

I usually inspect a lot with arrays and since recently, I don't see really an array content, just number of items, eg:

#( #('a' 'b') #('b')) -> inspect

an Array [2 items]
an Array [1 item]

Instead of:
#( #('a' 'b') #('b'))

This is -- for me -- super-annoying. do you think an original functionality can be returned back, or you have some serious reasons to have it like this?

Cheers,
Jan

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev
Reply | Threaded
Open this post in threaded view
|

Re: Array does not show its content, just number of items

Tudor Girba-2
I created the issue:

Let's continue the conversation there.

Cheers,
Doru

On Wed, Apr 8, 2015 at 10:29 AM, Nicolai Hess <[hidden email]> wrote:


2015-04-08 9:47 GMT+02:00 Tudor Girba <[hidden email]>:
Please open the issue and let's discuss there, because Nicolai will likely want to participate as well :)

For sure!

 

Doru

On Wed, Apr 8, 2015 at 9:37 AM, Jan Kurš <[hidden email]> wrote:
Hi, Thank you for the information. Would it be possible if the behaviour is like this:

- Show string if the string is bellow N characters
- Show number of items if the printString is above N characters?

I will do the change, if you agree this is ok ...

Cheers,
Jan

On 8 April 2015 at 09:24, Tudor Girba <[hidden email]> wrote:
Hi,

This was changed on purpose but it was mainly targeted to the label in the inspector. The problem is that when you have a large amount of items, the label did not work well.

The issue was here:

Your current issue is related to how the items look in the Items presentation. Indeed, there we also use the same gtDisplayString.

Could you open a pharo issue with this?

Cheers,
Doru



On Wed, Apr 8, 2015 at 9:10 AM, Jan Kurš <[hidden email]> wrote:
Hey,

I usually inspect a lot with arrays and since recently, I don't see really an array content, just number of items, eg:

#( #('a' 'b') #('b')) -> inspect

an Array [2 items]
an Array [1 item]

Instead of:
#( #('a' 'b') #('b'))

This is -- for me -- super-annoying. do you think an original functionality can be returned back, or you have some serious reasons to have it like this?

Cheers,
Jan

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"

_______________________________________________
Moose-dev mailing list
[hidden email]
https://www.iam.unibe.ch/mailman/listinfo/moose-dev