Page 1 of 1

Gif animation slows down browser GUI for seconds

Posted: 2018-09-15, 07:08
by ResidentR6
Gif animation on web pages somehow clashes against GUI redrawing process and other pages redrawing. As result - the GIF hangs the interface for seconds, and hangs itself. On small GIFs it's not so notable, but on big ones (or amount of smalls) - the bug comes visible. In several seconds GUI unhangs, but objects that had to be redrawed - remain clean rectangles. After page reload - GUI doesn't hang, but GIF comes already hanged at exact that frame.
Cache cleaning doesn't help, same history repeats - at arbitrary frame of GIF, with GUI hanging again.
It has nothing to download process, when I get same GIF from a local drive - same history repeats.


Palemoon 28.0.1 (latest from stable channel) 32bit. Windows 7, CPU Core duo. This GIF
https://78.media.tumblr.com/5ba6a4d42bc ... 1_1280.gif

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-15, 10:17
by Tomaso
No hangs at my end, using Pale Moon v28.0.1(x64), under Win8.1Pro.

Even this one, which is the biggest GIF that I could find (68.9 MB), displays just fine:
https://i.imgur.com/8q7EVG8.gif

--

EDIT:
One strange "issue" though..
If you simply click on the link that I posted (or right-click and select 'Open Link in New Tab'), then the GIF is displayed as a video.
But if you copy the link, and then paste it into PM's address bar, then it's displayed as a GIF!
HTTP referer related I guess.

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-15, 11:27
by Night Wing
@ ResidentR6

I switched over to my windows hard drive using 32 bit Pale Moon 28.0.1 running in 64 bit Windows 7 Home Premium, SP1. After clicking on the link which you provided, the 1000 x 600 pixel GIF animation does not slow down or hang my PM browser.

FWIW, it also works without any problems in 64 bit linux Pale Moon 28.0.1 running in 64 bit linux Mint 19 (Tara) Xfce.

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-15, 13:07
by therube
Even this one, which is the biggest GIF that I could find (68.9 MB), displays just fine:
That is not a .gif.
That is a .mp4 movie.

If you want to see how "gif" can really adversely affect you, One particular site throws PM 28 on its ear.

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-15, 13:21
by Tomaso
therube wrote:
Even this one, which is the biggest GIF that I could find (68.9 MB), displays just fine:
That is not a .gif.
That is a .mp4 movie.
Obviously, you didn't read what I wrote under "EDIT".

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-15, 15:26
by fillerup
i can confirm that the OP's report occurs the same way on a fresh PM 28.0.1 Win x64 profile. viewing it through the addon 'Imagus' works without a hitch, however

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-16, 12:22
by Moonchild
Unable to reproduce. There are no issues with drawing large animated gifs or influence on the UI.

For those who can produce the issue: please post the output of help -> troubleshooting information (copy as text, kindly use the
tags).

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-16, 12:41
by rabnbeinn
No hangs here using.... PM 28.0.1(x64) on a Win 8.1(x64) system

Re: Gif animation slows down browser GUI for seconds

Posted: 2018-09-16, 17:25
by fillerup
hmm, i just realized that my testing method is flawed - what i did was having the bookmark bar opened while opening up the .gif link, and try to repeatedly click the dropdown arrows. i just realized that if you click it too fast and DO NOT move the cursor, it doesn't accept the clicks and will appear to be frozen when this is actually not the case. (should i file this as a bug report?)

will test again when i get a chance