#597296 ooo-thumbnailer: Problem with space character

Package:
ooo-thumbnailer
Source:
ooo-thumbnailer
Submitter:
Christian Meyer
Date:
2021-05-17 08:39:03 UTC
Severity:
normal
Tags:
#597296#5
Date:
2010-09-18 14:22:13 UTC
From:
To:
Hello there,

when the path of an ooo-file contains a space character, then no thumbnail is
created.
E.g.: /home/you/some\ files/file.odt

If only the filename contains a space character then there is no problem.
E.g.: /home/you/files/first\ file.odt

Christian Meyer

#597296#10
Date:
2010-09-18 16:46:07 UTC
From:
To:
This issue should have been fixed in ooo-thumbnailer 0.3.1, which is
still waiting for sponsorship in mentors.debian.net.

#597296#15
Date:
2012-12-15 16:31:40 UTC
From:
To:
No new release as far I see.

So, here is a patch for this issue :

diff -ur ooo-thumbnailer-0.2/ooo-thumbnailer ooo-thumbnailer-0.2-new/ooo-thumbnailer
--- ooo-thumbnailer-0.2/ooo-thumbnailer2009-12-15 13:04:44.000000000 +0100
+++ ooo-thumbnailer-0.2-new/ooo-thumbnailer2012-12-15 17:17:33.361111272 +0100
@@ -31,7 +31,7 @@
 test -f ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs && source ${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs

 # documents in the Templates directory are ignored
-if [ `dirname "$ifile"` != ${XDG_TEMPLATES_DIR:-$HOME/Templates} ]; then
+if [ "`dirname "$ifile"`" != ${XDG_TEMPLATES_DIR:-$HOME/Templates} ]; then
   # use imagemagick if it's installed
   # (currently, always the case until GNOME bug #576750 is fixed and
   # dependency on imagemagick is removed)

#597296#20
Date:
2012-12-17 07:36:24 UTC
From:
To:
Hello,

New package release from Ubuntu fixes this bug. But it adds new
dependencies (libgsf-bin) to install with hand. This is a minor
inconvenient.

(https://launchpad.net/~flimm/+archive/ooo-thumbnailer/+build/2919861/+files/ooo-thumbnailer_0.5-1_all.deb)

So my patch is unused.

Just a minor problem for install, I think, the metadata from this new
package says that replaces libgsf-bin and also depends on libgsf-bin.
Is it normal?

Another minor bug (as with this previous packages) is that .doc*
and .xls* are not worked.

Thanks.

#597296#25
Date:
2012-12-27 11:57:43 UTC
From:
To:
The spaces bug has been fixed in more recent upstream versions.

The latest version 0.5 removes support for Microsoft Office documents
that do have a thumbnail stored in metadata. It thus does not depend on
unoconv any more.

I've hesitated to ask for sponsorship for the latest version, partly
because the slow experience isn't very motivating, and partly because I
hadn't tested GNOME 3 integration in Debian yet.
------------------- ooo-thumnbailer depends on libgsf-bin. The reason it contains a "Replaces: libgsf-bin" line is because it overwrites one of its files: /usr/share/gconf/schemas/gsf-office-thumbnailer.schemas libgsf-bin_1.14.18-1 ships this file, but libgsf-bin_14.25-1 no longer ships this file, so the "Replaces" line should no longer be necessary. (BTW, the latest version is not "from Ubuntu". The Launchpad project for ooo-thumbnailer should be considered the upstream source. Ubuntu inherits its package from Debian.)
#597296#32
Date:
2021-04-27 13:01:23 UTC
From:
To:
This issue is still present (buster and sid).

Please fix it.

Regards.

Rpnpif

#597296#37
Date:
2021-05-17 08:37:43 UTC
From:
To:
Dear Maintainer,

On current Testing, the thumbnailer seems not to work at all, even for
files whose path and filename contain only alphanumeric characters.
Deleting "~/.thumbnails" and "~/.cache/thumbnails" also didn't help.
This affects Nautilus file manager.