Hi Igor,
I already reported this offlist. See comments from the developers below.
Bye Torsten
-------- Original-Nachricht -------- Datum: Tue, 20 May 2008 10:09:41 -0600 Von: Erik Hinterbichler xxx@xxx.xxx An: Damien Cassou xxx.xxx@xxx.xxx CC: "Torsten Bergmann" xxx@xxx.xxx, xxx@xxx.xxx, xxx@xxx.xxx Betreff: Re: Algernon in Dev-Images
It looks like this happens because refreshItems is run every time a new class is added, and so it's being run many times when you load a new package. We did that to make Algernon automatically stay up to date when new items were added, but if it slows down loading of packages we may need to remove that feature. Either that or we would need to figure out a way to prevent refreshItems from being run until the very end of a package being loaded.
We'll experiment and try to have a new version out before the new image is created. Torsten, in the meantime if Algernon is slowing you down you can remove it by bringing it up with shift-return and then bringing up a halo on it and deleting it.
Thanks, Erik
On May 20, 2008, at 9:23 AM, Damien Cassou wrote:
Hi Torsten,
thank you for the information. I will generate a new image in 10 days approximately. If I have no answer from the developers, I will remove it. However, I would really appreciate if this could be fixed as I think Algernon can really help developers.
Bye
On Tue, May 20, 2008 at 8:36 PM, Torsten Bergmann xxx@xxx.xx wrote:
Hi Damien,
sq3.10-7159dev08.05.2.zip from https://gforge.inria.fr/frs/?group_id=1299 now also includes "Algernon" but this extremely slows down loading of other packages.
Try loading KomHttpServer 7.0.4 using the universe browser in this image. A lot of time is spent in Algernon>>refreshItems during the load.
Maybe someone fixes this or you should make this an optional package.
Thx Torsten
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu)
I suggest to review the implementation of #deactivate method. Classes which going to be uninstalled receiving #deactivate message.
So on #deactivate, algernon should: a) remove itself from world b) stop listening keyboard events c) stop listening system notifications
Also, Algernon coupling both model & view(morph), which i think not very good. I think it should have detached model and view, and create a morph only when it needs to show itself (triggered by activate key) , and delete morph after use, instead of hiding. In this way, it would be much easier to use algernon interface in OB mercury pane, for instance.
2008/5/29 Torsten Bergmann astares@gmx.de:
Hi Igor,
I already reported this offlist. See comments from the developers below.
Bye Torsten
-------- Original-Nachricht -------- Datum: Tue, 20 May 2008 10:09:41 -0600 Von: Erik Hinterbichler xxx@xxx.xxx An: Damien Cassou xxx.xxx@xxx.xxx CC: "Torsten Bergmann" xxx@xxx.xxx, xxx@xxx.xxx, xxx@xxx.xxx Betreff: Re: Algernon in Dev-Images
It looks like this happens because refreshItems is run every time a new class is added, and so it's being run many times when you load a new package. We did that to make Algernon automatically stay up to date when new items were added, but if it slows down loading of packages we may need to remove that feature. Either that or we would need to figure out a way to prevent refreshItems from being run until the very end of a package being loaded.
We'll experiment and try to have a new version out before the new image is created. Torsten, in the meantime if Algernon is slowing you down you can remove it by bringing it up with shift-return and then bringing up a halo on it and deleting it.
Thanks, Erik
On May 20, 2008, at 9:23 AM, Damien Cassou wrote:
Hi Torsten,
thank you for the information. I will generate a new image in 10 days approximately. If I have no answer from the developers, I will remove it. However, I would really appreciate if this could be fixed as I think Algernon can really help developers.
Bye
On Tue, May 20, 2008 at 8:36 PM, Torsten Bergmann xxx@xxx.xx wrote:
Hi Damien,
sq3.10-7159dev08.05.2.zip from https://gforge.inria.fr/frs/?group_id=1299 now also includes "Algernon" but this extremely slows down loading of other packages.
Try loading KomHttpServer 7.0.4 using the universe browser in this image. A lot of time is spent in Algernon>>refreshItems during the load.
Maybe someone fixes this or you should make this an optional package.
Thx Torsten
-- Damien Cassou Peter von der Ahé: «I'm beginning to see why Gilad wished us good luck». (http://blogs.sun.com/ahe/entry/override_snafu)
-- Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
squeak-dev@lists.squeakfoundation.org