Funky large sideways arrows in my scrollbar

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

Funky large sideways arrows in my scrollbar

Frank Shearar-3
Is this related to Nicolas' MorphicExtras changes? (That's just a guess.)

frank



scrollbar-arrow.png (31K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Funky large sideways arrows in my scrollbar

Nicolas Cellier
I'm not experiencing such fun while hacking PaintBoxMorph :(
But if it's really me, I'm glad of my new superpowers, it's just that I'd like to tame them...


2013/12/10 Frank Shearar <[hidden email]>
Is this related to Nicolas' MorphicExtras changes? (That's just a guess.)

frank






Reply | Threaded
Open this post in threaded view
|

Re: Funky large sideways arrows in my scrollbar

Nicolas Cellier
I'm a bit deceived, it's not my superpowers :(
It's a consequence of LRU changes by Levente.

ScrollBar class>>createArrowImagesCache
    "creates the cache to store the arrow forms"
    ^ LRUCache
        size: 40
        factory: [:key | ""
            self
                createArrowOfDirection: key first
                size: key second
                color: key third]


2013/12/10 Nicolas Cellier <[hidden email]>
I'm not experiencing such fun while hacking PaintBoxMorph :(
But if it's really me, I'm glad of my new superpowers, it's just that I'd like to tame them...


2013/12/10 Frank Shearar <[hidden email]>
Is this related to Nicolas' MorphicExtras changes? (That's just a guess.)

frank







Reply | Threaded
Open this post in threaded view
|

Re: Funky large sideways arrows in my scrollbar

Nicolas Cellier
And if you evaluate (ScrollBar initializeImagesCache) then next opened browser will be as mournful as they used to be.


2013/12/11 Nicolas Cellier <[hidden email]>
I'm a bit deceived, it's not my superpowers :(
It's a consequence of LRU changes by Levente.

ScrollBar class>>createArrowImagesCache
    "creates the cache to store the arrow forms"
    ^ LRUCache
        size: 40
        factory: [:key | ""
            self
                createArrowOfDirection: key first
                size: key second
                color: key third]


2013/12/10 Nicolas Cellier <[hidden email]>
I'm not experiencing such fun while hacking PaintBoxMorph :(
But if it's really me, I'm glad of my new superpowers, it's just that I'd like to tame them...


2013/12/10 Frank Shearar <[hidden email]>
Is this related to Nicolas' MorphicExtras changes? (That's just a guess.)

frank








Reply | Threaded
Open this post in threaded view
|

Re: Funky large sideways arrows in my scrollbar

Levente Uzonyi-2
In reply to this post by Nicolas Cellier
On Wed, 11 Dec 2013, Nicolas Cellier wrote:

> I'm a bit deceived, it's not my superpowers :(
> It's a consequence of LRU changes by Levente.

Sounds like broken migration code... How can I reproduce it?


Levente

>
> ScrollBar class>>createArrowImagesCache
>     "creates the cache to store the arrow forms"
>     ^ LRUCache
>         size: 40
>         factory: [:key | ""
>             self
>                 createArrowOfDirection: key first
>                 size: key second
>                 color: key third]
>
>
> 2013/12/10 Nicolas Cellier <[hidden email]>
>       I'm not experiencing such fun while hacking PaintBoxMorph :(
> But if it's really me, I'm glad of my new superpowers, it's just that I'd like to tame them...
>
>
> 2013/12/10 Frank Shearar <[hidden email]>
>       Is this related to Nicolas' MorphicExtras changes? (That's just a guess.)
>
>       frank
>
>
>
>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Funky large sideways arrows in my scrollbar

Frank Shearar-3
On 11 December 2013 09:43, Levente Uzonyi <[hidden email]> wrote:
> On Wed, 11 Dec 2013, Nicolas Cellier wrote:
>
>> I'm a bit deceived, it's not my superpowers :(
>> It's a consequence of LRU changes by Levente.
>
>
> Sounds like broken migration code... How can I reproduce it?

I just took a stock 4.5 image and updated it. If you take the image
from the squeak-ci repository and update it, that should reproduce the
problem: https://github.com/squeak-smalltalk/squeak-ci

frank

> Levente
>
>
>>
>> ScrollBar class>>createArrowImagesCache
>>     "creates the cache to store the arrow forms"
>>     ^ LRUCache
>>         size: 40
>>         factory: [:key | ""
>>             self
>>                 createArrowOfDirection: key first
>>                 size: key second
>>                 color: key third]
>>
>>
>> 2013/12/10 Nicolas Cellier <[hidden email]>
>>       I'm not experiencing such fun while hacking PaintBoxMorph :(
>> But if it's really me, I'm glad of my new superpowers, it's just that I'd
>> like to tame them...
>>
>>
>> 2013/12/10 Frank Shearar <[hidden email]>
>>       Is this related to Nicolas' MorphicExtras changes? (That's just a
>> guess.)
>>
>>       frank
>>
>>
>>
>>
>>
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: Funky large sideways arrows in my scrollbar

Levente Uzonyi-2
On Wed, 11 Dec 2013, Frank Shearar wrote:

> On 11 December 2013 09:43, Levente Uzonyi <[hidden email]> wrote:
>> On Wed, 11 Dec 2013, Nicolas Cellier wrote:
>>
>>> I'm a bit deceived, it's not my superpowers :(
>>> It's a consequence of LRU changes by Levente.
>>
>>
>> Sounds like broken migration code... How can I reproduce it?
>
> I just took a stock 4.5 image and updated it. If you take the image
> from the squeak-ci repository and update it, that should reproduce the
> problem: https://github.com/squeak-smalltalk/squeak-ci

I just tried that too, but no luck. I get normal scrollbars.


Levente

>
> frank
>
>> Levente
>>
>>
>>>
>>> ScrollBar class>>createArrowImagesCache
>>>     "creates the cache to store the arrow forms"
>>>     ^ LRUCache
>>>         size: 40
>>>         factory: [:key | ""
>>>             self
>>>                 createArrowOfDirection: key first
>>>                 size: key second
>>>                 color: key third]
>>>
>>>
>>> 2013/12/10 Nicolas Cellier <[hidden email]>
>>>       I'm not experiencing such fun while hacking PaintBoxMorph :(
>>> But if it's really me, I'm glad of my new superpowers, it's just that I'd
>>> like to tame them...
>>>
>>>
>>> 2013/12/10 Frank Shearar <[hidden email]>
>>>       Is this related to Nicolas' MorphicExtras changes? (That's just a
>>> guess.)
>>>
>>>       frank
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>
>