Infinite loop in TransformMorph>>#layoutBounds

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

Infinite loop in TransformMorph>>#layoutBounds

Christoph Thiede

Hi,


is this a bug or is it just me?

In my image, the following produces an infinite loop:


Morph new addFlexShell
hResizing: #shrinkWrap;
openInHand

I can stop it using cmdDot, but if I replace #openInHand with #openInWorld, my image freezes.


I have a vague idea of how this bug occurs, because a flex shell delegates the layouting to its owner but #shrinkWrap delegates it to its child ...

However, I find this is a quite harmful bug, so I would consider at least some preassertion a really good idea.


Best,

Christoph



Carpe Squeak!
Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop in TransformMorph>>#layoutBounds

marcel.taeumel
Hi Christoph,

works for me in #18865. I cannot reproduce that behavior.

Best,
Marcel

Am 05.09.2019 13:15:49 schrieb Thiede, Christoph <[hidden email]>:

Hi,


is this a bug or is it just me?

In my image, the following produces an infinite loop:


Morph new addFlexShell
hResizing: #shrinkWrap;
openInHand

I can stop it using cmdDot, but if I replace #openInHand with #openInWorld, my image freezes.


I have a vague idea of how this bug occurs, because a flex shell delegates the layouting to its owner but #shrinkWrap delegates it to its child ...

However, I find this is a quite harmful bug, so I would consider at least some preassertion a really good idea.


Best,

Christoph



Reply | Threaded
Open this post in threaded view
|

Re: Infinite loop in TransformMorph>>#layoutBounds

Christoph Thiede

Hi Marcel,


sorry, my image was a few days older. I should really update my image before I start to investigate any bugs ;-)


Best,

Christoph


Von: Squeak-dev <[hidden email]> im Auftrag von Taeumel, Marcel
Gesendet: Donnerstag, 5. September 2019 13:49:53
An: gettimothy via Squeak-dev
Betreff: Re: [squeak-dev] Infinite loop in TransformMorph>>#layoutBounds
 
Hi Christoph,

works for me in #18865. I cannot reproduce that behavior.

Best,
Marcel

Am 05.09.2019 13:15:49 schrieb Thiede, Christoph <[hidden email]>:

Hi,


is this a bug or is it just me?

In my image, the following produces an infinite loop:


Morph new addFlexShell
hResizing: #shrinkWrap;
openInHand

I can stop it using cmdDot, but if I replace #openInHand with #openInWorld, my image freezes.


I have a vague idea of how this bug occurs, because a flex shell delegates the layouting to its owner but #shrinkWrap delegates it to its child ...

However, I find this is a quite harmful bug, so I would consider at least some preassertion a really good idea.


Best,

Christoph



Carpe Squeak!