On 10/1/07, <b class="gmail_sendername">Bruno Coudoin</b> <<a href="mailto:bruno.coudoin@free.fr">bruno.coudoin@free.fr</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Le dimanche 30 septembre 2007 ā 13:29 +0300, Terje Bergström a écrit :<br>> One thing I notice is that the plugins are scanned every time I go<br>> back to<br>> menu. So I'm getting error messages about missing python, and missing
<br>> libshapegame.so often. Perhaps this scanning is making actions slow?<br>If I remember the scanning is done once but each time we get an activity<br>for which we don't have a plugin we probably try again.</blockquote>
<div><br>I now filtered out all python activities. One thing that I immediately noticed was that gcompris gave the same errors as before, i.e. couldn't load activity xxx.xml, even though xxx.xml didn't exist anymore. I was pretty confused about this. Anyway, in the end I noticed that this was due to database .config/gcompris/ in still referring to the activities that don't exist anymore. I guess I have to add a post-install script to remove that database when a new activities package is installed. Ubuntu packages don't delete that file, either, so they might end up with same problem.
<br><br>I removed that file, disabled all sounds to make sure they don't affect performance, and this time when I'm changing between activity menus (like from the second with keyboard and mouse activities to the first with puzzle activities), I still get more than three seconds of lag. The lag is there also when I click on "exit" before the confirmation query pops up, or when I click on preferences and before preferences window opens. The news is that during those three seconds plus there are absolutely no debug outputs. Does this mean that those three seconds are spent building the canvas? I know absolutely nothing about gnomecanvas, so I'm not sure if I'm using the correct term here.
<br><br>By the way, I have released the first port of gcompris 8.4 for maemo. There are still problems, but the list is much shorter than the list of problems I had with my earlier port.<br></div><br></div>Best regards,<br>
Terje<br>