[squeak-dev] Infinite loop in TransformMorph>>#layoutBounds

Marcel Taeumel marcel.taeumel at hpi.de
Thu Sep 5 11:49:53 UTC 2019


Hi Christoph,

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

Best,
Marcel
Am 05.09.2019 13:15:49 schrieb Thiede, Christoph <christoph.thiede at student.hpi.uni-potsdam.de>:
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20190905/3028798c/attachment-0001.html>


More information about the Squeak-dev mailing list