infinite loop in LanguageEditor
stéphane ducasse
ducasse at iam.unibe.ch
Sun May 14 07:34:24 UTC 2006
Hi
Will the fixed of Pascal and http://bugs.impara.de/view.php?id=3251 be
integrated on the SqueakSource version of the language editor?
Stef
> Pascal, Yoshiki,
>
>> Pascal,
>>> 1. Since the status bar message of LanguageEditor is still
>>> untranslated (at
>>> least in french), the (un)translated phrases lists are
>>> reinitialized each
>>> time the status bar is updated (ie. every 2 seconds). This is
>>> caused by
>>> NaturalLanguageTranslator>>translate: which re-registers the
>>> phrase each
>>> time, thus sending a
>>> NaturalLanguageTranslator>>changed:#untranslated which
>>> in turn triggers the reinitialization of LanguageEditor's UI.
>>> Because of that, it is impossible to select a phrase for
>>> translation for
>>> more than 2 seconds, unless we translate the status bar phrase at
>>> lightning
>>> speed.
>
> Latest version of LanguageEditor in SqueakSource is tested in
> Squeak3.8 and backport patch, but not for Squeakland. See;
> http://lists.squeakfoundation.org/pipermail/squeak-dev/2006-March/
> 101143.html
> http://languagegame.org:8080/ggame/17
>
> I guess this problem is caused for it.
> I'm not comfortable such miss compatibility, and I'll merge it soon.
>
>>> 2. Even more nasty: if using a filter in the untranslated phrases
>>> panel, an
>>> infinite loop between NaturalLanguageTranslator>>translate: and
>>> LanguageEditor>>untranslated is triggered, because the former
>>> method tries
>>> to find the filter string in all unstranslated phrases *and their
>>> translations* (which do not exist, of course).
>
> Thank you, I didn't know that.
>
>> Takashi is the best person to comment on these, but it looks these
>> are real bugs. Nice catch.
>
> Cheers,
> - Takashi
>
>
More information about the Squeak-dev
mailing list
|