[squeak-dev] Re: 4.1 release candidate 3

Andreas Raab andreas.raab at gmx.de
Tue Apr 13 19:52:42 UTC 2010

On 4/13/2010 10:31 AM, Chris Muller wrote:
> Damn, I thought this had gotten fixed.  This has been an annoying bug
> for us for a very long time; it happens all the time in 3.9, but I had
> not seen in in 4.1, so I assumed someone had fixed it, but I guess it
> didn't get fixed afterall!  :(

The mechanism isn't robust in the face of resetting SystemProgressMorph. 
Here is how to recreate the problem:

"First run this to reset SPM"
(1 to: 10) do:[:i|
	(1 to: 10) do:[:j|
		(i = 5 and:[j = 5]) ifTrue:[ SystemProgressMorph reset].
		(Delay forMilliseconds: 10) wait.
	] displayingProgress: 'Inner progress'.
] displayingProgress: 'Outer progress'.

"Now this will leave an empty SPM behind"
(1 to: 100) do:[:i| (Delay forMilliseconds: 10) wait] 
displayingProgress: 'Yeeeha'.

"SystemProgressMorph reset" will fix it.

   - Andreas

More information about the Squeak-dev mailing list