Runtime decision for QSvgRenderer workarounds

Jakob Petsovits jpetso at gmx.at
Sun Jun 1 23:07:52 BST 2008


On Tuesday, 27. May 2008, Jakob Petsovits wrote:
> So I've come up with an alternative approach: let the theme specify if it
> wants this workaround, including all disadvantages that come with it.
> At runtime, with a property in the index.theme desktop file.

Oh right, one thing I should probably mention:

I noticed that with this patch applied, the about:konqueror page looks 
*slightly* less nice if there is no exactly matching PNG for that size. 
Konqueror retrieves the icon path instead of the pixmap, and obviously relies 
on the returned icon being a PNG that can be put into an <img> tag.

If I remember correctly then Konqueror can very well handle SVGs (as long as 
they're not embedded in the HTML itself), so that issue should probably be 
fixed before I commit this patch. Even without the patch applied, that bug 
will still occur for SVG-only icon sets, so it's an issue right now already.

Hm... I guess I should open a bug report for that. Plus lxr all iconPath() 
instances and check if they make similar narrow assumptions.

--
Jakob




More information about the kde-core-devel mailing list