[BUG][FIX] RoundedMorphBounds

Ned Konz ned at bike-nomad.com
Tue Mar 30 06:39:09 UTC 2004


On Thursday 25 March 2004 5:45 pm, Alexander Lazarevic wrote:
> Because maybe most of you think I'm seeing white mice here I made a
> testcase. I got the values a and b from an existing FlapTab morph in an
> 3.7alpha image.
>
> Alex
>
> | a b tab |
>
> "Create a float close to  466.700581395349"
> a _ (1.1 at: 1 put: 1081944885; at: 2 put: 2497074009; yourself).
> b _ 105.
> a + b - a = b. "This evaluates to false"
>
> tab _ Flaps newFlapTitled: 'Test' onEdge: #top.
> tab left: a.
> "next line will run into an infinite loop"
> tab extent: b at b

And the loop is this:

etc...

1138216788 ReferenceMorph>layoutChanged
1138216696 FlapTab>layoutChanged
1138216580 Morph>extent:
1138216488 [] in FlapTab>fitContents
1138216304 FlapTab>ifVertical:ifHorizontal:
1138216212 FlapTab>fitContents

1138216120 ReferenceMorph>layoutChanged
1138216028 FlapTab>layoutChanged
1138215912 Morph>extent:
1138215820 [] in FlapTab>fitContents
1138215636 FlapTab>ifVertical:ifHorizontal:
1138215544 FlapTab>fitContents

1138215452 ReferenceMorph>layoutChanged
1138215360 FlapTab>layoutChanged
1138215244 Morph>extent:
1138215152 [] in FlapTab>fitContents
1138214968 FlapTab>ifVertical:ifHorizontal:
1138214876 FlapTab>fitContents

1138214784 ReferenceMorph>layoutChanged
1138214684 FlapTab>layoutChanged
1138214592 Morph>privateAddMorph:atIndex:
1138214500 Morph>addMorphFront:
1138214408 Morph>addMorph:
1138213688 FlapTab>assumeString:font:orientation:color:
1138213596 FlapTab>reformatTextualTab
1138210564 [] in Preferences class>setFlapsFontTo:
1138210380 Behavior>allInstancesDo:
1138210288 Behavior>allSubInstancesDo:
1138210196 Preferences class>setFlapsFontTo:

-- 
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE



More information about the Squeak-dev mailing list