Last modified: 2012-07-30 19:37:40 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 T11110, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9110 - SVG element missing when image is downsized
SVG element missing when image is downsized
Status: NEW
Product: Wikimedia
Classification: Unclassified
SVG rendering (Other open bugs)
All All
: Normal normal with 2 votes (vote)
: ---
Assigned To: Nobody - You can work on this!
: upstream
Depends on:
Blocks: svg
  Show dependency treegraph
Reported: 2007-02-25 23:03 UTC by portlandbob
Modified: 2012-07-30 19:37 UTC (History)
5 users (show)

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


Description portlandbob 2007-02-25 23:03:22 UTC
When the svg image is requested at a size less than 205 pixels the highlight on
the button disappears.
Comment 1 Tim Starling 2008-10-14 05:25:54 UTC
What highlight?
Comment 2 portlandbob 2008-10-14 06:10:12 UTC
That image got corrected, however there are a number of images that have issues. I've done some digging since then and it seems to be a known issue. It is all related to rsvg. If you use firefox to view the svg they look correct, but on the wikipedia they have issues with z-order. Here are some other examples:

I've added descriptions on the discussion pages.
Comment 3 Brion Vibber 2009-08-03 16:53:48 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 4 Ariel T. Glenn 2011-09-18 09:21:05 UTC
giving SVG bugs back to the pool.
Comment 5 Derk-Jan Hartman 2011-12-04 21:51:40 UTC
Issue still real after the latest svg update on the servers.
Comment 6 Brion Vibber 2011-12-04 22:32:52 UTC
I don't see the issue at -- both the 204 and 205px images look the same to me (with highlight).

Can you confirm after forcing reload of the thumbnails?
Comment 7 Brion Vibber 2011-12-04 22:36:43 UTC
Only one of the examples above triggers a 'part of the image doesn't show at some resolutions' that I can see:

Original SVG:

At or below 173px wide, the pencil does not have a shadow in rsvg rendering:

At or above 174px wide, the pencil's shadow does display:
Comment 8 Derk-Jan Hartman 2011-12-04 22:41:38 UTC

The image there are the current versions, not the originals. We seem to have several of these bugs where when a component is rendered 'too small' or 'too large', the component seems to disappear all together.
Comment 9 matanya 2012-07-30 19:37:40 UTC
reported upstream:

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