follow up time..
any news on this ?
I receive a custom smiley that takes 50+% of my CPU EVEN if the window
is
minimzed.. cpu goes back to 0-1% after I close the window... any news on
how to avoid that?
KKRT
On Sun, 29 Jan 2006 06:08:58 -0500, Le Philousophe - Phil
<[EMAIL PROTECTED]> wrote:
> Hi,
> about resizing the animated GIFs, I tried to do something but I have
> performance issues.... So I don't advise to let resizing of GIFs...
> About the patch for the drawing thing I will try to see.
> Phil
>
> Le Saturday 28 January 2006 21:16, Youness Alaoui a écrit:
>> What I meant is to go to : http://www.xdp.it/cximage.htm
>> download cximage again, and do a diff between our version and the one
>> available on xdp! (they didn't release any version for a while, and
we
>> use
>> the same as the one on the website!).. there.. you got your patch! we
>> fixed a lot of things, so I guess the original author of cximage
would
>> be
>> interested in getting all of our fixes!
>> about resizing animated gifs, it should be done, I'm adding it to the
>> TODO
>> on IRC.. it is as simple as resizing all the frames... BUT, what
happens
>> if you save the image for example, you will need to recreate a gif
with
>> all those images.. and anyways, it's complicated you kow! maybe just
>> disable resizing/saving of anigifs ?
>>
>> KKRT
>>
>> On Sat, 28 Jan 2006 08:54:39 -0500, Le Philousophe - Phil
>>
>> <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> > which patch I don't remember.
>> > Anyway, when we resize we don't resize the image since TkCxImage do
>> the
>> > check
>> > before to not resize the frame. I already thought about the trouble
>> > but.... I
>> > was lazy and I didn't make the resize for all frames... :s
>> > Phil
>> >
>> > Le Saturday 28 January 2006 08:38, Youness Alaoui a écrit:
>> >> yeah, I knew about that even before I saw it, I was expecting to
have
>> >> this
>> >> kind of problem when I'll resize.. I think it's very doable now
that
>> we
>> >> manage gifs correctly!
>> >> btw, Phil, did you think about sending our patch to cximage team ?
>> >>
>> >> KKRT
>> >>
>> >> n Fri, 27 Jan 2006 17:33:19 -0500, Jérôme Gagnon-Voyer
>> >>
>> >> <[EMAIL PROTECTED]> wrote:
>> >> > Btw I just found a bug with animated gifs and auto-resize DP for
>> chat
>> >> > window (may be for contact list too, I didn't try)
>> >> >
>> >> > When someone has an animated display picture, like Alvaro, you
>> can't
>> >> > resize it. Just look at what happens when you open a chatwindow
>> with
>> >> > Alvaro with auto-resize enabled :P Not so good! So may be just
add
>> a
>> >> > check "if animated..." don't resize..
>> >> >
>> >> > Thanks!
>> >> >
>> >> > Le 27 janvier 2006 à 14:52, Le Philousophe - Phil a écrit :
>> >> >> Well...
>> >> >> I will try to explain me clearly... If it isn't clear please
>> notify
>> >> >> me...
>> >> >> The main trouble comes from the fact that we can't know if an
>> image
>> >>
>> >> is
>> >>
>> >> >> displayed or not. So actually, at each frame, we notify Tk that
>> the
>> >> >> image has
>> >> >> changed and Tk will propagate the information to all widgets
>> linked
>> >>
>> >> to
>> >>
>> >> >> the
>> >> >> image. Then, each widget will check if the image is displayed
or
>> not
>> >> >> and if
>> >> >> it is displayed it will ask us to redraw it. And just before we
>> >>
>> >> redraw
>> >>
>> >> >> it, we
>> >> >> copy our internal buffer to the image and we ask to Tk to draw
it
>> >>
>> >> (don't
>> >>
>> >> >> forget we act as a hook).
>> >> >> Now, I just think about that, but not sure it will be good
since
>> it
>> >>
>> >> can
>> >>
>> >> >> raise
>> >> >> inconsistencies, in place of change the image just before we
warn
>> Tk
>> >>
>> >> we
>> >>
>> >> >> changed it, we can increment when we draw itso that when the
>> image is
>> >> >> hidden
>> >> >> it stops and resumes only when we redisplay it. Now the
>> >>
>> >> inconsistency,
>> >>
>> >> >> imagine the same image is displayed at two places in same time,
>> one
>> >>
>> >> is
>> >>
>> >> >> showed
>> >> >> and one is hidden, if we display the hidden one, it will show
us
a
>> >> >> frame. We
>> >> >> rehide it wait a little and show it again, we won't have the
>> >>
>> >> animation
>> >>
>> >> >> where
>> >> >> we leave it ! So I prefer it does the same thing everywhere and
>> >> >> everytime :
>> >> >> it continues the animation in the background.
>> >> >> Phil
>> >> >>
>> >> >> Le Thursday 26 January 2006 23:28, Youness Alaoui a écrit :
>> >> >>> anigifs take too much CPU, is it normal ? I though it used
less
>> cpu
>> >> >>> than
>> >> >>> when Phil added his fix (but uses less CPU on other
machines..)
>> >> >>> Also, even if the image is not in screen, it gets udpated.. I
>> think
>> >> >>> there
>> >> >>> is a logic problem in your code, probably a small one, but you
>> might
>> >> >>> want
>> >> >>> to check (I noticed not only because of high CPU if chat
window
>> is
>> >> >>> opened
>> >> >>> even if no smileys shown).. I just saw Alvaro's DP (animated
>> gif), I
>> >> >>> put
>> >> >>> the tooltip, I see the beginning of the animation, I remove
the
>> >>
>> >> mouse
>> >>
>> >> >>> (no
>> >> >>> tooltip), wait a few secs, then put back the tooltip, the
>> animation
>> >>
>> >> is
>> >>
>> >> >>> at
>> >> >>> the end, while it should have just continued from the last
>> moment I
>> >> >>> removed the tooltip (I have no window opened with Alvaro, so
>> there
>> >>
>> >> was
>> >>
>> >> >>> nowhere else it could have been showing itself...)
>> >> >>
>> >> >> -------------------------------------------------------
>> >> >> 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&kid3432&bid#0486&dat1642
>> >> >> _______________________________________________
>> >> >> Amsn-devel mailing list
>> >> >> Amsn-devel@lists.sourceforge.net
>> >> >> https://lists.sourceforge.net/lists/listinfo/amsn-devel
>> >> >
>> >> > -------------------------------------------------------
>> >> > 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&kid3432&bid#0486&dat1642
>> >> > _______________________________________________
>> >> > Amsn-devel mailing list
>> >> > Amsn-devel@lists.sourceforge.net
>> >> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
>> >
>> > -------------------------------------------------------
>> > 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&kid3432&bid#0486&dat1642
>> > _______________________________________________
>> > Amsn-devel mailing list
>> > Amsn-devel@lists.sourceforge.net
>> > https://lists.sourceforge.net/lists/listinfo/amsn-devel
>
>
>
> -------------------------------------------------------
> 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&kid3432&bid#0486&dat1642
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel
--
KaKaRoTo
-------------------------------------------------------
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?cmdlnk&kid3432&bid#0486&dat1642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel