Test breaking mouse-wheel scrolling (was: Re: [squeak-dev] Re: Test failures in trunk)

Levente Uzonyi leves at elte.hu
Tue Nov 17 23:37:01 UTC 2009


On Tue, 17 Nov 2009, Igor Stasenko wrote:

> Levente, any idea how to fix that?
> I hate downloading/migrating to new image because of that.
> And its really annoying to see a blinking panes instead of scrolling,
> because i'm using it a lot.

Finally I could track it down. The scrolling breaks if the locale is 
changed to ja (I don't know why, I didn't bother with it) via Locale 
switchToID: (LocaleID isoLanguage: 'ja'). Changing it back to en would fix 
the scrolling (that's what the test is trying to do), but an error occurs 
while changing the locale.

The locale changing fails because flaps cannot be recreated properly, 
because the tools flap tries to create a preference panel with Preferences 
preferencesControlPanel (because that's in Flaps >> 
#defaultQuadsDefiningToolsFlap).

Preferences >> #preferencesControlPanel has been removed from the image, 
but Preferences has #doesNotUnderstand: on the class side, so it will just 
return false. And the flap building mechanism cannot create a thumbnail 
from false.

Anyway I uploaded my fix to the inbox as MorphicExtras-ul.59. Someone 
with better knowledge of flaps should have a look around there, it seems 
to me that there's plenty of room for cleanup.

Cheers,
Levente



More information about the Squeak-dev mailing list