Bug#456404: libgnomevfs2-0: expansion of Exec in .desktop files depends on ordering

Matijs van Zuijlen Matijs.van.Zuijlen at xs4all.nl
Sat Dec 15 10:52:30 UTC 2007


Package: libgnomevfs2-0
Version: 1:2.20.1-1
Severity: normal

The expansion of parameters like %f depends on the ordering. After all uris
have been 'used' in the expansion, no more expansion is done.

For example:

  Exec=gvim -c "cd %%:h" -f %F

Will result in

  gvim -c "cd %:h" -f /some/where.txt

to be executed, whereas

  Exec=gvim -f %F -c "cd %%:h" 

results in 

  gvim -f /some/where.txt -c "cd :h"

Note the absence of the % in the "cd :h".

Expected behavior:

Each % field should expand independently.

This bug occurs in the same circumstances as #369812.

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.22-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libgnomevfs2-0 depends on:
ii  dbus                    1.1.2-1          simple interprocess messaging syst
ii  libacl1                 2.2.45-1         Access control list shared library
ii  libavahi-client3        0.6.21-4         Avahi client library
ii  libavahi-common3        0.6.21-4         Avahi common library
ii  libavahi-glib1          0.6.21-4         Avahi glib integration library
ii  libc6                   2.7-4            GNU C Library: Shared libraries
ii  libdbus-1-3             1.1.2-1          simple interprocess messaging syst
ii  libdbus-glib-1-2        0.74-1           simple interprocess messaging syst
ii  libgamin0 [libfam0]     0.1.9-2          Client library for the gamin file 
ii  libgconf2-4             2.20.1-1         GNOME configuration database syste
ii  libglib2.0-0            2.14.4-2         The GLib library of C routines
ii  libgnomevfs2-common     1:2.20.1-1       GNOME Virtual File System (common 
ii  libgnutls13             2.0.4-1          the GNU TLS library - runtime libr
ii  libhal-storage1         0.5.10-4         Hardware Abstraction Layer - share
ii  libhal1                 0.5.10-4         Hardware Abstraction Layer - share
ii  libselinux1             2.0.15-2+b1      SELinux shared libraries
ii  libxml2                 2.6.30.dfsg-3    GNOME XML library
ii  zlib1g                  1:1.2.3.3.dfsg-7 compression library - runtime

Versions of packages libgnomevfs2-0 recommends:
pn  fam                           <none>     (no description available)
ii  gnome-mount                   0.7-1      wrapper for (un)mounting and eject
ii  libgnomevfs2-extra            1:2.20.1-1 GNOME Virtual File System (extra m

-- no debconf information






More information about the pkg-gnome-maintainers mailing list