Bug 237330 - GIF animations not playing in konqueror though enabled.
Summary: GIF animations not playing in konqueror though enabled.
Status: CONFIRMED
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: 4.4.2
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-12 04:16 UTC by Aston
Modified: 2012-02-23 14:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
animated gif (373.74 KB, image/gif)
2011-07-20 16:40 UTC, Martin Koller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aston 2010-05-12 04:16:35 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Unspecified Linux

Settings - Configure Konqueror - Web Browsing - Appearance - Animations is set to "Enabled" (not Disabled or Show Only Once). If a gif animation is in an HTML page, it will show the first frame only. If I right-click on the picture and click "View image (*filename.gif*)" the gif will display and be animated correctly in a new tab. The problem therefore is that the setting to enable animations is not applied to images displayed within pages. Example - http://l.naurunappula.com/508515
Comment 1 Martin Koller 2011-07-19 21:18:36 UTC
The link you gave is not only 1 gif image and does not contain any gif.
Please attach here the gif image which gives you the problems, if it still occurs in KDE >= 4.6.5
Comment 2 Aston 2011-07-20 11:25:56 UTC
I am now using KDE 4.6.2 and the problem still occurs in Konqueror (though not in Rekonq). The link I posted contains an animated gif in a web page, there wouldn't have been any point in linking directly to the gif, because as I said, if you open the gif directly, it works, it's only when it's displayed in a web page that it stops on the first frame.

If you can't figure out where the gif is, there's a red bar across the top of the page, under that is << Previous, a magnifying glass, and Next >> in grey. Under that is the animated gif.
Comment 3 Martin Koller 2011-07-20 16:39:30 UTC
ok, thanks for the details.
I could now extract the problem into a very simple HTML page:

The problem is that whenever an image has a width/height definition, which is different from the images original size, the animation is not done.

E.g.:
<img src="o_508515.gif" width="199" height="167" >

=> no animation

<img src="o_508515.gif">
or
<img src="o_508515.gif" width="199" height="150" >

=> animation works.

I attach the gif image from that page here.
Comment 4 Martin Koller 2011-07-20 16:40:06 UTC
Created attachment 62023 [details]
animated gif
Comment 5 Johannes Tiemer 2011-08-05 15:17:18 UTC
i'm experiencing the same on kde 4.7.00/archlinux. the gif-frames do not play unless i move the mouse cursor, which is odd. animations are on.
Comment 6 Dawit Alemayehu 2011-12-15 19:57:55 UTC
Go to Settings->Configure Konqueror->Web Browsing->Appearance and set Animations in the Images group to "Enabled" instead of the default "Show Only Once".
Comment 7 Dawit Alemayehu 2011-12-15 19:58:58 UTC
(In reply to comment #6)
> Go to Settings->Configure Konqueror->Web Browsing->Appearance and set
> Animations in the Images group to "Enabled" instead of the default "Show Only
> Once".

Oh wait. You already stated that is enabled. In that case I cannot duplicate this problem.
Comment 8 Dawit Alemayehu 2011-12-15 20:06:18 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Go to Settings->Configure Konqueror->Web Browsing->Appearance and set
> > Animations in the Images group to "Enabled" instead of the default "Show Only
> > Once".
> 
> Oh wait. You already stated that is enabled. In that case I cannot duplicate
> this problem.

Just for clarification, I meant this works fine with the webkit engine. Changing component to khtml.
Comment 9 Mathieu Roy 2012-02-23 14:11:27 UTC
Same problem here (KHTML, set to enabled, animated gifs included in a webpage with a width statement), with Debian testing as of today, Konqueror 4.6.5 / KDE 4.6.5.


Versions of packages konqueror depends on:
ii  install-info            4.13a.dfsg.1-8
ii  kdebase-bin             4:4.6.5-1
ii  kdebase-data            4:4.6.5-1
ii  kdebase-runtime         4:4.6.5-1+b1
ii  libc6                   2.13-26
ii  libkcmutils4            4:4.6.5-2+b1
ii  libkde3support4         4:4.6.5-2+b1
ii  libkdecore5             4:4.6.5-2+b1
ii  libkdesu5               4:4.6.5-2+b1
ii  libkdeui5               4:4.6.5-2+b1
ii  libkfile4               4:4.6.5-2+b1
ii  libkhtml5               4:4.6.5-2+b1
ii  libkio5                 4:4.6.5-2+b1
ii  libkonq5abi1            4:4.6.5-1
ii  libkonqsidebarplugin4a  4:4.6.5-1
ii  libkparts4              4:4.6.5-2+b1
ii  libqt4-dbus             4:4.7.4-2
ii  libqt4-qt3support       4:4.7.4-2
ii  libqt4-xml              4:4.7.4-2
ii  libqtcore4              4:4.7.4-2
ii  libqtgui4               4:4.7.4-2
ii  libstdc++6              4.6.2-12
ii  libx11-6                2:1.4.4-4