Bug or feature? Handling of SVG icons

Bernd Eggink <[email protected]> Thu, 10 Mar 2011 15:19:15 +0100
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
My pinboard is populated by several application directories. I normally 
assign them an icon (in a shell script) by making .DirIcon a symbolic 
link to an SVG icon. This works fine in most cases, but with some SVG 
icons it doesn't. The pinboard then keeps showing the default ROX icon, 
and behaves as if there were no .DirIcon. The problem is not that ROX 
can't display it; if I enter the directory with Shift-Click, the image 
is shown correctly.

OTOH, if I set the icon manually ("Set Icon"/"Copy image into 
directory"), it seems to work at first, as the icon shows up properly on 
the pinboard. But it turns out that the SVG icon has not just been 
copied (as the manual says), but _converted_ to a different format, 
namely a 96x96 PNG image.

I noticed this behaviour only with rather big SVG files (about 600K), so 
it may depend on file size. Anyway, if it's a bug, it would be nice if 
somebody could look into it. If it's a feature, it's an annoying one 
(IMHO), as it creates inconsistent behaviour. It also contradicts the 
manual. So, if it is intended, it should be documented, and there should 
at least be on an option like by which it could be switched off.

Regards,
Bernd


------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d