Results 1 to 10 of 10
  1. #1
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Firefox and Animated GIF files (All)

    Ever wonder why Firefox presents some images in warp-speed animation? I know that this issue has come up here in the Lounge once or twice previously, but I wanted to share the recent results of my digging in the Mozillazine forums in case anyone ever wondered and never got a satisfactory answer.

    In a nutshell, yes, it's a "bug" - but not really. It's also listed as wontfix meaning that it's just gonna have to stay that way. Part of this reasoning infuriates me, the thinking of "let's enforce standards even if it means the result will not be what users expect." You can't expect the rest of the world to fix their collective images in order for them to display well. But then again, it also makes sense that Firefox does follow the spec, because detailed animation within a GIF file could be broken by enforcing a minimum speed.

    The bug thread is located here for anyone interested in reading more.
    -Mark

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Firefox and Animated GIF files (All)

    If the code can impose a minimum delay of 20ms, then it should be possible to provide user configuration to substitute a higher number. But I can see that there are bigger fish to fry and never enough volunteer hours in the day... <img src=/S/sad.gif border=0 alt=sad width=15 height=15>

  3. #3
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Firefox and Animated GIF files (All)

    <P ID="edit" class=small>(Edited by Jezza on 08-Jan-06 15:14. To add PS)</P>I have recreated Lex Jogging and changed the frame speed which was set to 2/100th of a second. I have changed it to 8/100th and it seems to run well in FF and IE.

    If there others that are causing problems I am quite happy to do it for you, just point me to a list <img src=/S/grin.gif border=0 alt=grin width=15 height=15>

    PS but that doesn't solve the cause, just the problem <img src=/S/sad.gif border=0 alt=sad width=15 height=15>
    Jerry

  4. #4
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Firefox and Animated GIF files (All)

    I had actually considered making this my first attempt at writing an extension, but knowing myself and my schedule I realized it would probably remain an incomplete project. I'm not going to lose sleep over it, of course. It reminds me of a bug in NT 4.0 where the multimedia control panel applet would blow up and exit - it never got fixed because it wasn't a show-stopper, much like this one.
    -Mark

  5. #5
    Plutonium Lounger Leif's Avatar
    Join Date
    Dec 2000
    Location
    U.K.
    Posts
    14,010
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Firefox and Animated GIF files (All)

    There is always <img src=/S/mice.gif border=0 alt=mice width=50 height=25> which has a frame-time of 2/100. To me, that *is* the cause - the gif has been given the wrong timing.

  6. #6
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Firefox and Animated GIF files (All)

    Have a look at this change Leif. It is a difficult one as the graphic is a little small. Now we could go for "grooving, crazy" mice or "Disco divas".

    I went for the latter.

    I am on IE at the moment so can't check the view in FF

    PS Called mice7.gif as the frame change is 7/100 sec
    Jerry

  7. #7
    Bronze Lounger IanWilson's Avatar
    Join Date
    Dec 2000
    Location
    Bristol, United Kingdom
    Posts
    1,523
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Firefox and Animated GIF files (All)

    In FF the mice in Leif's post are frenetically fast, in yours they are at a better speed. In Opera, they both appear to be the same speed (a little slower than your slowed down ones in FF). But in IE, Jezza's mice are faster than Leif's! <img src=/S/scratch.gif border=0 alt=scratch width=25 height=29>

    Ian

  8. #8
    Uranium Lounger
    Join Date
    Jan 2001
    Location
    Cincinnati, Ohio, USA
    Posts
    7,089
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Firefox and Animated GIF files (All)

    <hr>in IE, Jezza's mice are faster than Leif's<hr>
    That's what was talked about in the bug thread. IE imposes some logic to enforce a minimum, and it's changed with each version of the browser. This is a great example of each browser handling it differently.
    -Mark

  9. #9
    Platinum Lounger
    Join Date
    Feb 2002
    Location
    A Magic Forest in Deepest, Darkest Kent
    Posts
    5,681
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Firefox and Animated GIF files (All)

    Hi Ian

    As you appear to have a full set of browsers available, just for the fun of it, what happens with these mice (mice9.gif)
    Jerry

  10. #10
    Bronze Lounger IanWilson's Avatar
    Join Date
    Dec 2000
    Location
    Bristol, United Kingdom
    Posts
    1,523
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Firefox and Animated GIF files (All)

    In Opera, all three sets of mice dance at the same speed. In Firefox the latest ones are slightly slower than your previous ones, with Leif's much faster than both. In IE, your new ones are slightly slower than your old ones, and now about the same speed as Leif's.

    The speed of your latest mice in IE and FF is about the same, and in Opera they are slightly slower.

    Ian

    Edited to add: and Netscape 7.2 is about the same as Firfefox.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •