⚓ T44090 Filter effect Gaussian blur filter not rendered correctly for small to medium thumbnail sizes


Article Images

Filter effect Gaussian blur filter not rendered correctly for small to medium thumbnail sizes

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 22 2014, 1:04 AM

bzimport added a subscriber: Unknown Object (MLST).

Since librsvg seems rather unmaintained and there seems to be no interest on side of the Wikimedia projects to consider using an alternative library on problematic SVGs I went on and fixed the underlying bug in librsvg myself.

See https://bugzilla.gnome.org/show_bug.cgi?id=605875#c9 for the patch. Sadly over at Gnome bugzilla nobody seems to be maintainig bug reports for librsvg or implementing patches given there. Therefore it's stuck right now.

If there are any Gnome developers around maybe you could have a look at it?

This is finally fixed upstream!

librsvg 2.40.9 (just released) includes the fix. [1]

When / how can we get this for Wikimedia Wikis? Given the severity of this bug, it would be great to not have to wait until it's in the official Linux distro used on WMF servers...

adding _joe_ since he built librsvg (2.40.2-1+wm1) per debian/changelog

This is fixed upstream ??? Awesome, this really was one of the biggest problems with librsvg so far.
I'm sure the SVG users of the site will be super glad with this.

I think I made a mistake. Have been trying to deal with the ridiculous backlog on the Upstream workboard, because no one bothers to use it properly.

The upstream fix is in librsvg version 2.40.9 (which first needs to get packaged and shipped by the distribution running on WM servers).

@Krenair: Whoever created that board, "Patch merged" etc is so vague (in upstream? in WM downstream?) that I have no idea when to move cards anyway so I personally ignore it.

@Krenair: Whoever created that board, "Patch merged" etc is so vague (in upstream? in WM downstream?) that I have no idea when to move cards anyway so I personally ignore it.

I think it's probably supposed to be merged upstream. Would make sense. I didn't make it though. I think it should also include other upstream resolutions (e.g. Resolved, declined). Can we rename those columns?

I made it, and yes indeed Patch Merged was meant to indicate patch merged upstream. I figured we would add columns as we see need for them.

librsvg 2.40.9-2 is now in Debian testing. Is this enough to use it on Wikimedia servers?

Dvorapa raised the priority of this task from Lowest to High.Nov 22 2015, 6:46 PM

Dvorapa lowered the priority of this task from High to Medium.

BTW not happy this issue is marked as a low priority :/

Don't get too excited. Priorities are meaningless

BTW not happy this issue is marked as a low priority :/

Don't get too excited. Priorities are meaningless

I don't know, e. g. in GitHub issues the priority is sometimes really important.

The trusty-based image scalers have now been disabled, so I'm marking this task as resolved.

@Dvorapa This change is not a change in Mediawiki, but in the librsvg software component installed on the Wikimedia servers. As such, the change is already available on Wikimedia servers like Commons.

If any other Mediawiki installation wants to use the fixed version, it needs to install updated librsvg packages as well. For Debian jessie you can fetch the packages we use from https://people.wikimedia.org/~jmm/rsvg-backport-jessie/ and Ubuntu 16.04 provides recent enough packages as well. But maybe I'm misunderstanding you, are you referring to a specific file on Czech Wikipedia?

@MoritzMuehlenhoff I just want to fix this on Czech Wikipedia. The file is uploaded on Commons, but on the Czech Wikipedia the preview is still broken. This is the reason why we can't remake all our barnstars and badges on the Czech Wikipedia from PNG to SVG (it looks broken even if perfectly valid SVG 1.1 file)

@jcrespo I see, thank you, it must be from today, because yesterday purging server and browser cache didn't help

@Dvorapa The confusion we are seeing here is probably a bit logical. The issues is fixed, BUT any image that is affected will have to be manually purged. You can easily do this, by going to the file description page on commons and added "?action=purge" at the end of the URL.

Content licensed under Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 unless otherwise noted; code licensed under GNU General Public License (GPL) 2.0 or later and other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL · Credits