Page MenuHomePhabricator

Specific SVG has empty PNG thumbnails
Open, LowPublic

Description

For starters, this is my first time editing here. Also, my English is not very good. Please forgive me if there are any mistakes.

There is a bug where images are not visible in commons. https://commons.wikimedia.org/wiki/File:Wikivoyage_oversight_draft_4.svg and https://commons.wikimedia.org/wiki/File:Wikivoyage_oversight_draft_3.svg. But at https://upload.wikimedia.org/wikipedia/commons/e/ef/Wikivoyage_oversight_draft_3.svg, I can see it.

Event Timeline

Tmv created this task.May 29 2020, 2:54 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMay 29 2020, 2:54 AM
Aklapper renamed this task from I can't see the image. (commons) to Specific SVG has empty PNG thmbnails.May 29 2020, 6:47 AM
Aklapper renamed this task from Specific SVG has empty PNG thmbnails to Specific SVG has empty PNG thumbnails.

Hi @Tmv, thanks for taking the time to report this and welcome to Wikimedia Phabricator!

Link to original SVG image itself: https://upload.wikimedia.org/wikipedia/commons/1/1e/Wikivoyage_oversight_draft_4.svg

The PNG preview seems to be entirely transparent in all sizes.

Adding the Thumbor project tag as this is about thumbnails.

Cannot reproduce locally when running rsvg-convert -w 512 -f png -u -o Wikivoyage_oversight_draft_4.png Wikivoyage_oversight_draft_4.svg with librsvg2-2.48.4-1.fc32.x86_64 but that librsvg version is way newer than on Wikimedia servers.

Tmv added a comment.May 29 2020, 8:26 AM

OK. So I expect that the problem will be resolved on the next update of librsvg. Thanks!

Not necessarily. Needs more investigation.

AntiCompositeNumber moved this task from Backlog to Upstream (librsvg) on the Thumbor board.
AntiCompositeNumber added a project: Upstream.

This looks like a bug that was fixed in librsvg 2.41.1:

  • The feConvolveMatrix filter primitive wasn't being rendered at all; now it works.

Confirming that the file renders as expected in rsvg-convert version 2.44.10 (buster) and later. 2.41 is a post-Rust version, which means that this bug won't be fixed until we upgrade Thumbor to Debian Buster.

AntiCompositeNumber triaged this task as Low priority.May 29 2020, 4:05 PM
toorich changed the status of subtask T193352: Update librsvg to ≥2.42.3 (2.44.10) from Stalled to Open.Jun 24 2020, 9:58 AM
Aklapper changed the status of subtask T193352: Update librsvg to ≥2.42.3 (2.44.10) from Open to Stalled.Jun 24 2020, 10:34 AM