Bug#280922: [moz-bonobo-list] Bug#280922: svg handling in mozilla-bonobo

Christian Glodt chris@mind.lu, 280922@bugs.debian.org
Fri, 12 Nov 2004 16:35:23 +0100


On Fri, 2004-11-12 at 08:49 -0600, Stephen Waters wrote:
> Package: mozilla-bonobo
> Version: 0.4.1-3
> 
> SVG doesn't work. Maintainer says there are no Gnome bonobo svg clients
> at this time. I suggest removing "image/svg" and "image/svg+xml" from
> the list of supported mimetypes (see about:plugins) until such a client
> becomes available.

Hi Stephen,

Indeed, the EOG component used to support SVG. I think EOG does no
longer provide a bonobo component in newer versions.

Anyway. Mozilla-bonobo does not have a static list of supported mime
types. The mime types that it claims to support are those for which a
component is installed.

The problem is that Mozilla caches which mime types a plugin supports.
You probably upgraded eog, and now the EOG component which supported
svg is gone. But Mozilla still *thinks* it's supported by
mozilla-bonobo, since it still has that information in its cache.

A solution is to force Mozilla to update that cache. You can do that by
quitting Mozilla, and removing the pluginreg.dat file from your Mozilla
profile directory ($HOME/.mozilla/ or possibly $HOME/.mozilla/firefox).
On the next restart Mozilla queries the mime types again from the
plugin, and should therefore see that svg is no longer supported.

It's an unnecessarily complicated affair because of mozilla bug
125469. Sigh. There's also something about it in the README, although
I have to admit that it could be more clearly worded.

Hope this helps,

Christian Glodt

> Thanks, Andrew!
> -s
> 
> _______________________________________________
> moz-bonobo-list mailing list
> moz-bonobo-list@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/moz-bonobo-list