Quantcast

dojox.image.Lightbox Chrome

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

dojox.image.Lightbox Chrome

gcasmit
've tested the dojox.image.Lightbox from dojo 1.4 an 1.5 on 3 different systems on Chrome and it always fails after the first succesfull time hitting the link.
After the first time it pops up small as if there is no image to fill the lightbox, if you resize the browser window the lightbox pops back to a good size.
As if the box is constructed before the size of the browser window is known, it seems chrome is to fast ;-)

Has anybody experienced the same? Firefox works fine btw
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dojox.image.Lightbox Chrome

dylanks
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All of the tests at
http://archive.dojotoolkit.org/nightly/dojotoolkit/dojox/image/tests/test_Lightbox.html
work for me on Chrome, except for the "Show Flickr Lightbox" one (though
that demo is also broken for me on FF).

Which test case is failing for you?

Regards,
- -Dylan

on 10/4/10 6:51 AM (GMT-07:00) gcasmit said the following:

> 've tested the dojox.image.Lightbox from dojo 1.4 an 1.5 on 3 different
> systems on Chrome and it always fails after the first succesfull time
> hitting the link.
> After the first time it pops up small as if there is no image to fill the
> lightbox, if you resize the browser window the lightbox pops back to a good
> size.
> As if the box is constructed before the size of the browser window is known,
> it seems chrome is to fast ;-)
>
> Has anybody experienced the same? Firefox works fine btw
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyp3eYACgkQ1E2HcBNypM4vAACgmCfSJlJQvckBgsXClmzrfXTt
QFYAnR6HSZnGF3ML6S4vcHYbrfEXcvpI
=9M9p
-----END PGP SIGNATURE-----
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
[hidden email]
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Co-Founder, Dojo Toolkit
CEO, SitePen, Inc.  http://www.sitepen.com/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dojox.image.Lightbox Chrome

gcasmit
All the tests fail the second 'click' on the links. But I narrowed down the search. I ran the tests on Chrome on a windows computer and they all succeed. The other systems where fedora, so maybe it has something to do with the GTK UI of Chrome on Linux. But that would surprise me because it's all webkit. This evening i will try OSX.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dojox.image.Lightbox Chrome

dylanks
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OSX is where I tried things out without the issue you're describing, fwiw.

on 10/4/10 7:34 AM (GMT-07:00) gcasmit said the following:
> All the tests fail the second 'click' on the links. But I narrowed down the
> search. I ran the tests on Chrome on a windows computer and they all
> succeed. The other systems where fedora, so maybe it has something to do
> with the GTK UI of Chrome on Linux. But that would surprise me because it's
> all webkit. This evening i will try OSX.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyp8zgACgkQ1E2HcBNypM4Z6gCglY2RdfHcC3M0/0HvrbD8dBXF
2C4AoJlZZmArywjKT0OQG2ZShIrqL+/j
=3KO0
-----END PGP SIGNATURE-----
_______________________________________________
FAQ: http://dojotoolkit.org/support/faq
Book: http://docs.dojocampus.org
[hidden email]
http://mail.dojotoolkit.org/mailman/listinfo/dojo-interest
Co-Founder, Dojo Toolkit
CEO, SitePen, Inc.  http://www.sitepen.com/
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: dojox.image.Lightbox Chrome

redfin.ben
on 10/4/10 7:34 AM (GMT-07:00) gcasmit said the following:
> All the tests fail the second 'click' on the links. But I narrowed down the
> search. I ran the tests on Chrome on a windows computer and they all
> succeed. The other systems where fedora, so maybe it has something to do
> with the GTK UI of Chrome on Linux. But that would surprise me because it's
> all webkit. This evening i will try OSX.

This sounds like the now-notorious AdBlock + WebKit bug--we are seeing the same behavior on our listing detail pages, which uses lightbox.

1. Use Chrome 6+/Safari 5.
2. Install AdBlock.
3. Go to a page like

http://www.redfin.com/CA/San-Francisco/601-Dolores-St-94110/home/21967427

4. Click forward and backward through the home images. The first time each image would be displayed, it displays correctly. The second time, the image is not displayed.

This bug has been affecting our site for over six months.

The root bug is in WebKit:

https://bugs.webkit.org/show_bug.cgi?id=45586

The Chrome team appears to be waiting on that bugfix:

http://code.google.com/p/chromium/issues/detail?id=56204

The AdBlock team claims they can't workaround:

http://code.google.com/p/adblockforchrome/issues/detail?id=3701

Highslide worked around the bug last July:

http://www.highslide.com/forum/viewtopic.php?f=1&t=6649&st=0&sk=t&sd=a

Perhaps dojox.image.lightbox could use a similar workaround, since it doesn't seem like the root bug is going to be fixed anytime soon? This has been breaking our site for long time and we've been having to tell people to turn off AdBlock (whitelisting our domain and any CDN domains does not solve the problem).
Loading...