>>> - CPU load while moving the mouse around the contact list (so you see >>> > contacts underlined) is VERY high (~ 90% on a pIII 800mhz). >>> >>> I noticed that on billiob who had a 1MB+ anigif DP.. I think on <Enter> >>> it >>> loads the DP.. so I'm not sure, but it does it for the first time I >>> <Enter> his nick.. (at amsn start)... are you able to reproduce this and >>> get it 100% of the time ? >> >> >> i got lost there... i mean when i'm moving my mouse upside down at the >> contact list, so, over the contacts, cpu use arise a lot lot lot >> (~90-95%)... maybe in slower computers it would be a true pain. >> > >I have a 800MHz pc and I don't have that issue...
I am running a 1.6GHz and do have the same problem. About loading the image on the first time you move your mouse over it, yes that is correct. Till last week it was creating the images on the first time the contact list was created due to the bindings for the balloon (which I found unnecessary). I therefore moved it out so that it only created it when the binding was called. Then last thursday I realised that that meant they got loaded the first time you move your mouse over the contact - which also isn't so good. I had an idea on how to fix that but didnt get a chance. For the balloon messages (ages ago) I created an option to prefix the text by --command--, which says instead of using the text as the text for the balloon, use this command to retrieve the text, we should do the same for the images (pretty simple). - update, just did this now That however doesn't explain the constant cpu, cpu for the first time ok, but why constant? The callbacks aren't that cpu intensive? Maybe its due to the passing around of large text portions? Maybe we should change the text to a proc which is just given the users id then create the required text on posting of the balloon (will also save quite a bit of setting up every refresh of the cl). While on the topic of the balloons, I noticed in many places (including refreshing of the cl) we set up all the bindings for the balloons manually. To set up all the bindings for a balloon all that you need to do is run [set_balloon $target $message $pic] instead of the [bind <enter> ..., bind <leave> ..., bind <omtion> ...] that we do. Ummm, just realised, that proc may not work for bindings on text in a text widget, maybe we need to create a similar function to set_balloon called set_balloon_text? Anyway, compare the functions [proc balloon_enter] and [proc balloon_motion] in gui.tcl to the bindings in balloon.tcl. Lio. ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 _______________________________________________ Amsn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amsn-devel
