Last modified: 2014-06-13 11:51:52 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T10566, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 8566 - Thumbnail rendering of SVGs broken
Thumbnail rendering of SVGs broken
Status: RESOLVED DUPLICATE of bug 42090
Product: Wikimedia
Classification: Unclassified
SVG rendering (Other open bugs)
unspecified
All All
: Normal major with 6 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.wikimedia.org/wiki/Lib...
aklapper-moreinfo
: testme
Depends on:
Blocks: svg
  Show dependency treegraph
 
Reported: 2007-01-10 15:07 UTC by Enricopedia
Modified: 2014-06-13 11:51 UTC (History)
13 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Enricopedia 2007-01-10 15:07:24 UTC
Although the image
http://de.wikipedia.org/wiki/Bild:Hungary_budapest_city_park.svg was rendered
correctly when put into an article, it couldn't be viewed on its description
page and also not as a default thumbnail. A thumbnail bigger than the default
size worked!

The author had to remove a lot of information from the file, to shrink the
filesize from 804.184 Bytes to 138.941 Bytes (See history). Only then the
default thumbnail and the image on the description page were rendered.

You could download the bigger version from the history
(http://upload.wikimedia.org/wikipedia/de/archive/4/46/20070110141750%21Hungary_budapest_city_park.svg)
and upload it as a copy, to watch the effect.
Comment 1 Jasen Betts 2009-01-15 10:43:35 UTC
it may be a function of the length of the lines segments
see http://en.wikipedia.org/wiki/File:Logarithmic_spiral.svg
the 17 decenber 2008 version is 130K and does not render correctly in thumbnail or on the description page

I'm getting the feeling that the renderer is mistakenly ignoring details that are smaller than 1 pixel

a partial fix would be to render them full size (or larger than full size) and then scale them 
using a bicubic filter to get the smaller rendeings.

then atleast the thumbs represent the full size image, even if it does not represent the svg.
Comment 2 Jesse Viviano 2009-03-06 02:54:58 UTC
I am getting another failed thumbnail render at [[File:PCI Express logo.svg]] on the English Wikipedia. The logarithmic spiral still fails to render correctly from Jason Betts' comment above. I have changed the URL because that URL points to a deleted image.
Comment 3 Jesse Viviano 2009-03-12 20:23:30 UTC
I eventually had to delete [[File:PCI_Express_logo.svg]] as a corrupt image because this bug was not getting fixed.
Comment 4 Brion Vibber 2009-08-03 16:53:47 UTC
Assigning SVG bugs to Ariel -- need a cleanup pass to see what's fixed up by a librsvg upgrade, what can be resolved with fixes to our font configuration, what can be fixed on our end, and what still needs to be pushed upstream.
Comment 5 Jan Kucera (Kozuch) 2010-04-13 14:13:36 UTC
Content related to this bug is available here: http://strategy.wikimedia.org/wiki/Proposal:Librsvg_development_funding
Comment 6 Derk-Jan Hartman 2010-11-04 02:48:09 UTC
For [[File:PCI Express logo.svg]], the issue is apparently the coordinates on the tspan + the transform on the text element.

The other file is no longer available to me.
Comment 7 Matthias Mailänder 2010-11-08 05:31:21 UTC
There is a gallery at http://commons.wikimedia.org/wiki/Librsvg_bugs with problematic thumbnail generation. If the browser supports SVG (everything but IE?) the PNG should be disabled imho.
Comment 8 Nemo 2010-11-08 07:20:04 UTC
(In reply to comment #7)
> There is a gallery at http://commons.wikimedia.org/wiki/Librsvg_bugs with
> problematic thumbnail generation. If the browser supports SVG (everything but
> IE?) the PNG should be disabled imho.

This isn't always desirable: SVG require more bandwidth and rendering on user end, making everything slower: see http://leuksman.com/images/d/de/SVG-Open-2009-Wikipedia.pdf from p. 21 on.
Comment 9 Ariel T. Glenn 2011-09-18 09:19:34 UTC
giving SVG bugs back to the pool.
Comment 10 Derk-Jan Hartman 2011-12-04 22:10:34 UTC
The PCI express logo and the spiral issue seem fixed after the recent librsvg update.

Cannot judge original http://de.wikipedia.org/wiki/Bild:Hungary_budapest_city_park.svg because it was deleted.
Comment 11 ralf 2012-03-12 16:19:39 UTC
This is not fixed. I just discovered a new SVG issue with lines. When will WM finally fund someone who fixes at least the most important SVG bugs? This is already six years on the plate!
Comment 12 Jarry1250 2012-07-26 09:06:29 UTC
(In reply to comment #11)
> This is not fixed. I just discovered a new SVG issue with lines. When will WM
> finally fund someone who fixes at least the most important SVG bugs? This is
> already six years on the plate!

Example?
Comment 13 Bawolff (Brian Wolff) 2012-11-22 23:25:30 UTC
+keyword testme

What is the specific issue being reported here, and is it still open?

Re comment 11: There are many bugs for svg. In order to be useful the individual reports must report the individual issue.
Comment 14 Andre Klapper 2012-11-26 16:37:14 UTC
Ralf: Please provide a specific example.
Comment 15 Eduard Braun 2013-02-04 23:55:22 UTC
This is probably related to bug 42090 (I'm not quite sure however since the problematic SVG was deleted).

I submitted a patch for librsvg that fixes above mentioned bug (see bugtracker entry https://bugzilla.gnome.org/show_bug.cgi?id=605875), it still needs to be submitted to current Git sources, though.
Comment 16 Andre Klapper 2014-06-13 11:51:52 UTC
As there are no testcases provided (which means it is impossible to define or test when the problem has been fixed), I'm closing this as a dup of bug 42090.

If this is not the same as bug 42090, please reopen and provide a specific testcase. Thanks!

*** This bug has been marked as a duplicate of bug 42090 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links