1. Thunar "Create document" menu takes a while to popup if there are .svg file in ~/Templates folder. 2. Additionally, Thunar won't display svg icons in menus, although it opens an icon file. Cutted strace: gettimeofday({1316509097, 297060}, NULL) = 0 lstat64("/usr/share/icons/Faenza/mimetypes/scalable/application-xml.svg", {st_mode=S_IFLNK|0777, st_size=14, ...}) = 0 stat64("/usr/share/icons/Faenza/mimetypes/scalable/application-xml.svg", {st_mode=S_IFREG|0644, st_size=410787, ...}) = 0 readlink("/usr/share/icons/Faenza/mimetypes/scalable/application-xml.svg", "./text-xml.svg", 256) = 14 gettimeofday({1316509097, 297262}, NULL) = 0 open("/usr/share/icons/Faenza/mimetypes/scalable/application-xml.svg", O_RDONLY|O_LARGEFILE) = 20 fstat64(20, {st_mode=S_IFREG|0644, st_size=410787, ...}) = 0 read(20, "<?xml version=\"1.0\" encoding=\"UT"..., 65536) = 65536 gettimeofday({1316509097, 297400}, NULL) = 0
Desktop menu does not affected by this bug
Created attachment 3987 ODF templates that make Thunar sad I think I'm having the same issue, but with ODF file templates. xfdesktop shows the templates properly (with generic MIME icons), but Thunar will churn for a bit and then display the templates without any icons at all (a single white pixel). I'm using the Tango icon theme which has SVG scalable MIME icons (but also pre-scaled 16, 22, 24, and 32px PNG versions), so it may just be related to the selection and display of the SVG scalable MIME icons; but I'm attaching the templates anyway just in case. If it IS trying to display the SVG icons, it should 1) probably be going for the pre-scaled icons instead, and/or 2) not fail at rendering them in the first place.
For the OpenOffice files, thunar generates thumbnails if there is a thumbnailer available. I suspect the same for the SVG. These are shown as icons in the templates menu. You can verify this by putting a jpeg file in the templates folder. Because the thumbnails generated for the Openoffice files are only white background, there is not much to see. BTW: It may be enough to create such template files by simply creating empty files and renaming them so they have the appropriate extensions. This works fine on my system for LibreOffice files, and they are opened in the proper programs. So far, this works as designed. Therefore I am closing this bug report. Reopen if necessary.