Thunar does not create or display font thumbnails

Bug #318290 reported by Joe Clifford
2
Affects Status Importance Assigned to Milestone
Thunar File Manager
Fix Released
Unknown
thunar (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: thunar-data

:~$lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10

:~$ apt-cache policy thunar-data
thunar-data:
  Installed: 0.9.3-0ubuntu1~intrepid1
  Candidate: 0.9.3-0ubuntu1~intrepid1
  Version table:
 *** 0.9.3-0ubuntu1~intrepid1 0
        500 http://gb.archive.ubuntu.com intrepid-backports/universe Packages
        100 /var/lib/dpkg/status
     0.9.0-10ubuntu1 0
        500 http://gb.archive.ubuntu.com intrepid/universe Packages

Expected behaviour: Font thumbnails to be created in Thunar file manager so that you can, at a glance, see what the font is like.

What happened: No font thumbnails only generic font icon instead.

Thunar's font thumbnailer does not work. Browsing my Truetype fonts shows only the generic font icon. The problem lies with the following file:

/usr/share/thumbnailers/thunar-vfs-font-thumbnailer-1.desktop

File contents:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=X-XFCE-Thumbnailer
Name=Thunar Font Thumbnailer
Comment=Creates thumbnails for font files
TryExec=/usr/lib/thunar/thunar-vfs-font-thumbnailer-1
Exec=/usr/lib/thunar/thunar-vfs-font-thumbnailer-1 -i %i -o %o -s %s
MimeType=application/x-font-otf;application/x-font-pcf;application/x-font-ttf;application/x-font-type1;

# vi:set encoding=UTF-8:

Changing the file to contain the following fixes the problem:

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=X-Thumbnailer
Name=Thunar Font Thumbnailer
Comment=Creates thumbnails for font files
TryExec=/usr/lib/thunar/thunar-vfs-font-thumbnailer-1
MimeType=application/x-font-otf;application/x-font-pcf;application/x-font-ttf;application/x-font-type1;
X-Thumbnailer-Exec=/usr/lib/thunar/thunar-vfs-font-thumbnailer-1 -i %i -o %o -s %s

# vi:set encoding=UTF-8:

I believe this bug is also in version 0.9.0-10ubuntu1 as well as the backports version.

Related branches

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Hi,

Thanks for your bug report.

I can confirm the issue and the proposed fix.
Forwarded upstream.

Changed in thunar:
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package thunar - 0.9.99.1-0ubuntu1

---------------
thunar (0.9.99.1-0ubuntu1) jaunty; urgency=low

  * Merge from Debian pkg-xfce UNRELEASED (r2643), remaining Ubuntu changes:
    - debian/control:
      + use our Vcs-* fields.
      + build depends on gtk-doc-tools.
      + thunar-data: conflicts/replaces thunar-doc, libthunar-vfs-1-dev
        (<= 0.9.0-3ubuntu1).
    - debian/patches:
      + 06_fix-menu-icons.patch: correctly displays themed icons even if there's
        a dot in the middle of the filename (see Xfce #3614).
      + xubuntu-fix-desktop-files.patch: various fixes to desktop files:
        . make thunar and thunar-bulk-rename appear under Accessories not System
        . make destop-file-validate happy (remove 'Encoding' and 'Application;')
        . add 'OnlyShowIn="XFCE;"' to Thunar-folder-handler.desktop so that
          GNOME defaults to Nautilus and not Thunar.
  * Bugs fixed by this new release:
    - "Querying Thunar /proc directory causes hang" (LP: #162448)
    - "Thunar does not respond after second window is opened" (LP: #163587)
    - "Thunar does not show if drive is mounted" (LP: #181117)
    - "xfce desktop does not respect freedesktop desktop settings" (LP: #220318)
    - "thunar swaps behavior of forward / back (next / previous) buttons"
      (LP: #234217)
    - "Xubuntu 8.04 X64 Thunar randomly freezes - hidden files/tree view"
      (LP: #293839)
    - "Opening multiple instances of thunar causes system freeze" (LP: #317920)
  * debian/patches/02_fix-font-thumbnailer-desktop-file.patch: add missing keys
    in the font thumbnailer's desktop file (LP: #318290).

 -- Lionel Le Folgoc <email address hidden> Fri, 30 Jan 2009 14:47:35 +0100

Changed in thunar:
status: Triaged → Fix Released
Changed in thunar:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.