Gif animation slows down browser GUI for seconds

The place to report Pale Moon specific bugs on the Windows operating system.

Moderator: satrow

User avatar
ResidentR6
Newbie
Newbie
Posts: 4
Joined: 2018-08-19, 20:05

Gif animation slows down browser GUI for seconds

Unread post by ResidentR6 » 2018-09-15, 07:08

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
Last edited by ResidentR6 on 2018-09-15, 07:09, edited 1 time in total.

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1212
Joined: 2015-07-23, 16:09
Location: Norway

Re: Gif animation slows down browser GUI for seconds

Unread post by Tomaso » 2018-09-15, 10:17

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.
Last edited by Tomaso on 2018-09-15, 10:41, edited 3 times in total.

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 3877
Joined: 2011-10-03, 10:19
Location: Texas, USA

Re: Gif animation slows down browser GUI for seconds

Unread post by Night Wing » 2018-09-15, 11:27

@ 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.
Linux Mint 19.1 (Tessa) Xfce 64 Bit (Default Distribution OS) with 64 Bit linux Pale Moon
Windows 7 SP1, 64 Bit (Backup OS) with 32 Bit windows Pale Moon

User avatar
therube
Keeps coming back
Keeps coming back
Posts: 962
Joined: 2018-06-08, 17:02

Re: Gif animation slows down browser GUI for seconds

Unread post by therube » 2018-09-15, 13:07

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.
Last edited by therube on 2018-09-15, 13:10, edited 1 time in total.

User avatar
Tomaso
Board Warrior
Board Warrior
Posts: 1212
Joined: 2015-07-23, 16:09
Location: Norway

Re: Gif animation slows down browser GUI for seconds

Unread post by Tomaso » 2018-09-15, 13:21

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".

fillerup
Lunatic
Lunatic
Posts: 495
Joined: 2014-05-19, 19:14
Location: Finland

Re: Gif animation slows down browser GUI for seconds

Unread post by fillerup » 2018-09-15, 15:26

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

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 23640
Joined: 2011-08-28, 17:27
Location: 58°2'16"N 14°58'31"E
Contact:

Re: Gif animation slows down browser GUI for seconds

Unread post by Moonchild » 2018-09-16, 12:22

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).
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne
"I'm afraid you have me mistaken for someone who can be shamed by a child." -- Quillspawn

User avatar
rabnbeinn
Lunatic
Lunatic
Posts: 332
Joined: 2011-11-18, 20:38
Location: Scotland

Re: Gif animation slows down browser GUI for seconds

Unread post by rabnbeinn » 2018-09-16, 12:41

No hangs here using.... PM 28.0.1(x64) on a Win 8.1(x64) system

fillerup
Lunatic
Lunatic
Posts: 495
Joined: 2014-05-19, 19:14
Location: Finland

Re: Gif animation slows down browser GUI for seconds

Unread post by fillerup » 2018-09-16, 17:25

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
Last edited by fillerup on 2018-09-16, 17:26, edited 1 time in total.

Locked