FS#38987 - [chromium] [epiphany] JPEG load but don't show in Webkit based browsers

Attached to Project: Arch Linux
Opened by Etienne LAFARGE (Sparadox) - Friday, 21 February 2014, 22:27 GMT
Last edited by Evangelos Foutras (foutrelis) - Tuesday, 11 March 2014, 16:02 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Evangelos Foutras (foutrelis)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

For a few days, JPEG images haven't displayed in Chromium and Epiphany (it works fine on Firefox though). There's room left for them, from what I can see in the Developpers tools, they're loaded properly, I can download them and show them in the image viewer. I've got no error log when I launch the browser from a terminal.

As both browsers are webkit-based, I guess it might come from the GTK webkit package (by the way, I'm using Gnome as a desktop environment). I've read that Chromium didn't used libjpeg to read JPEGs but cairo, I've tried to reinstall the related packages but nothing happened.


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Evangelos Foutras (foutrelis)
Tuesday, 11 March 2014, 16:02 GMT
Reason for closing:  Works for me
Additional comments about closing:  Also no longer reproducible by the reporter after performing a clean Arch installation.
Comment by Doug Newgard (Scimmia) - Saturday, 22 February 2014, 04:21 GMT
Even though Chromium is webkit based (now blink based), it doesn't use the system library, it uses it's own. This means the problem can't be in the webkitgtk/2 packages. Maybe more of a libjpeg problem since Chromium in the repos is built with -Duse_system_libjpeg=1, meaning it does use the system libjpeg.

I'm trying to figure out who to assign this to. Any more information that might pinpoint where the problem lies?
Comment by Etienne LAFARGE (Sparadox) - Saturday, 22 February 2014, 20:58 GMT
I don't see any other relevant information to put there now. I've looked for libjpeg in pacman cache. I've got only packages called libjpeg-turbo. When I grep on jpeg, openjpeg and mjpeg also display. I've read that libreoffice makes use of it but I've no problem with jpeg in libreoffice. The other weird thing I figured out is that the problem occurs in Epiphany too (but not in Firefox), that's why I thought it might have something to do with Webkit.

Do you know which packages are involved during JPEG decompression? I'll look for recent updates of those packages in pacman logs, downgrade them and try to figure out which package has a problem.
Comment by Etienne LAFARGE (Sparadox) - Saturday, 22 February 2014, 21:02 GMT
openjpeg is the only package to have been upload recently (on 14-02-2014), I'll look for webkit/chromium -related updates.
Comment by Doug Newgard (Scimmia) - Saturday, 22 February 2014, 23:19 GMT
For now, I'll just assign it to both the Chromium and Epiphany maintainers, they can to what they want from there.
Comment by Etienne LAFARGE (Sparadox) - Saturday, 22 February 2014, 23:58 GMT
The problem also occurs on Midori (which is also webkit based) but JPEG display is fine on Steam which is also Webkit based (at least, that's what Wikipedia says...).

I've also noticed that some JPEG images wouldn't display on Firefox.

Everything's fine when I download them and open them with the images viewer.

The weird thing is that this bug only concerns browsers. It might have something to do whith the fact that the images begin to display before their loading is complete but I have no idea of what package is involved in this process.
Comment by Jan de Groot (JGC) - Sunday, 23 February 2014, 09:37 GMT
What video driver do you use? Could be a driver issue also.
Comment by Etienne LAFARGE (Sparadox) - Sunday, 23 February 2014, 11:57 GMT
I've got two cards : I use xf86-video-intel for the Intel chip and nvidia proprietary driver for the NVidia card but I mostly use the intel card, except for programs I made using CUDA and a few video games launched via Steam. Running chromium on the nvidia Card via optirun didn't solve the issue though.

However I reinstalled the whole system last night and JPEG support works fine. I don't know to what extent we can consider that this problem is solved. Il save my pacman. If the problems happens again when I install a package I might find out which one is responsible.

Loading...