[OpenLayers-Users] Image flickering in Firefox when changing the URL of an image layer

Pedro Baracho pedropbaracho at gmail.com
Wed Nov 18 08:59:16 EST 2009


I am not sure if I made myself clear...

I could reproduce the flickering on the other computer.

On Wed, Nov 18, 2009 at 11:58 AM, Pedro Baracho <pedropbaracho at gmail.com>wrote:

> Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.1.5) Gecko/20091102
> Firefox/3.5.5 (.NET CLR 3.5.30729)
>
> I don't see the flickering at all.
>
> I used FF on Safe-mode too, without any complements loaded.
>
> I could reproduce it on another computer with a different version of FF,
> and same version of .NET
> Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.9.0.15)
> Gecko/2009101601 Firefox/3.0.15 (.NET CLR 3.5.30729)
>
> Also, I used to have IE Tab addon on Firefox (which replaces Gecko for IE
> rendering engine). I am just pointing this out, because once I was
> developing a web application and had to parse XML, and my code worked on my
> version of firefox and didn't work on this other computer. At that time, I
> was using a node attribute called "wholeText" and had to change it to "data"
> to keep compatibility.
>
>
> On Wed, Nov 18, 2009 at 11:42 AM, Bart van den Eijnden <bartvde at osgis.nl>wrote:
>
>> I can reproduce it in both Firefox 3.5.5 and Safari on Mac.
>>
>> Best regards,
>> Bart
>>
>> On Nov 18, 2009, at 2:38 PM, Marc Jansen wrote:
>>
>> > Hi Pedro,
>> >
>> > Thanks for your input... but it seems odd: in my FF (Mozilla/5.0 (X11;
>> > U; Linux i686; de; rv:1.9.1.5) Gecko/20091109 Ubuntu/9.10 (karmic)
>> > Firefox/3.5.5) the upper OL-client is still flickering. Maybe some
>> > setting in Firefox I changed? Or a plugin?
>> >
>> > I am really puzzled.
>> >
>> > Can someone else reproduce the flickering?
>> >
>> > Regards,
>> > Marc
>> >
>> > Pedro Baracho wrote:
>> >> For the record, I am currently using FF 3.5.5, Gecko/20091102 on
>> >> Windows and I don't see any flickering in the link you posted.
>> >>
>> >> On Wed, Nov 18, 2009 at 11:10 AM, Marc Jansen <jansen at terrestris.de
>> >> <mailto:jansen at terrestris.de>> wrote:
>> >>
>> >>    Hi list,
>> >>
>> >>    when the URL of an imagelayer is changed via the APIMethod setUrl,
>> the
>> >>    image is flickering regardless of the browser cache or the
>> transition
>> >>    effect. This behaviour can be seen e.g. here:
>> >>
>> >>    http://www.webmapcenter.de/wetterradar/animation.html
>> >>
>> >>    In that demo the URL of the imagelayer is changed every 500 ms and
>> the
>> >>    flickering should be easy to spot (at least if you wait for roughly
>> 20
>> >>    seconds). Firebugs Net-tab shows that the images are being requested
>> >>    over and over.
>> >>
>> >>    The flickering is only noticeable in Firefox (3.5 Win and Linux);
>> >>    Opera
>> >>    10 and IE 8 work like a charm (they cache the varying images). The
>> >>    changing of the src of a pure <img> with JavaScript does not show
>> the
>> >>    flickering (as can be seen in the above link, too). I don't have
>> >>    results
>> >>    for other browsers.
>> >>
>> >>    Can anybody help me identify the root of this flickering? I am
>> unsure
>> >>    whether this Firefox bugreport is maybe relevant to this issue:
>> >>    https://bugzilla.mozilla.org/show_bug.cgi?id=492052. I doubt that
>> >>    it is
>> >>    related to apache settings (Caching- or Expires-Headers) as the
>> >>    pure JS
>> >>    solution isn't flickering at all.
>> >>
>> >>    Any help or advice on this issue would be great!
>> >>
>> >>    Regards,
>> >>    Marc
>> >>
>> >>    BTW.: If someone shows me a better alternative to build an
>> >>    animation of
>> >>    different Imagelayers, I would be happy as well :-)
>> >>
>> >>
>> >>    _______________________________________________
>> >>    Users mailing list
>> >>    Users at openlayers.org <mailto:Users at openlayers.org>
>> >>    http://openlayers.org/mailman/listinfo/users
>> >>
>> >>
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at openlayers.org
>> > http://openlayers.org/mailman/listinfo/users
>> >
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20091118/5604e15f/attachment.html


More information about the Users mailing list