Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Glitches when switching from one gallery photo to another #74

Open
michaelcoconnor opened this issue Aug 3, 2014 · 1 comment
Open

Comments

@michaelcoconnor
Copy link

This is about the performance and the appearances of the galleries on http://noelboss.github.io/featherlight/gallery.html. I have investigated this on three computers, which were running Firefox (or Iceweasel, the Debian Firefox) or Epiphany (a version that uses an old version of Safari). Two of the computers are old 1GB/single-core 32-bit things. The other is 64-bit and has 2 cores and 4GB.

I mention those details because with the Firefox/Mozilla engine what I'm seeing is qualitatively the same on each of the computers but is less prominent on the newer one. Also, it's qualitatively different on the Epiphany browser (on which the glitches area present at first but disappear, along with fade-ins and fade-outs, after a few clicks). Maybe if you're using a new Safari browser then maybe you won't see anything of what I'm talking about.

My first theory was that the glitches involve caching, but they evidently have nothing to do with Internet bandwidth because I have my own gallery up and running on a Flask development server, with no connection to the Internet (Flask is a Python web-app framework), and the problem is there too.

Anyway, it's this: clicking through either gallery involves glitches showing immediately following the click. The glitches seem involve the fading out and fading in features, happening inappropriately. For example I have seen a fade out followed by a fade in with the entire sequence starting only after the new image had loaded. (I gather that with Example Gallery [gallery] the fades involve whiteouts; with Customized [gallery2], blackouts.)

The effect is not utterly reproducible or predictable. If you keep clicking you may on occasion see an image load promptly with no glitch, only to see the glitch occur the next time that the very same image is loaded.

On a development server I have experimented with fadeIn, fadeOut, openSpeed and closeSpeed and with the relative proportions of the fade and Speed settings (and I have tried commenting all of those settings out). I could not make the problem disappear. Setting fadeIn and fadeOut to be a long time (e.g. 2000) may help you see what I'm talking about.

-Mike

@danimalweb
Copy link

I'm having the same issue.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants