Bug#525155: invoking "evince FILE" from cmdline is inconsistent about detaching from the console

Stefano Zacchiroli zack at debian.org
Wed Apr 22 14:48:02 UTC 2009


Package: evince
Version: 2.24.2-2+b1
Severity: normal

When there are no evince instances running, invoking "evince FILE"
will spawn a new evince, and wait for its window to be closed before
returning control to the invoker.

When there is an evince instance already running, invoking "evince
FILE" returns immediately. This breaks console applications, like
mutt, which rely on the returning executable to understand that the
viewing of FILE is over (and hence the temporary file, if this is the
case, can be deleted).

I understand that this is because evince reuses processes and "attach"
to the pre-existing process if there is one. But still the invoking
client can be made to wait instead of quitting, maybe with an
additional command line flag that can be declared for the evince
instance in mailcap? Otherwise as a mailcap reader for PDF, evince is
pretty broken at the moment, at least for apps like mutt.

Cheers.

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

Kernel: Linux 2.6.29-1-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 evince depends on:
ii  gconf2                 2.26.0-1          GNOME configuration database syste
ii  gnome-icon-theme       2.24.0-4          GNOME Desktop icon theme
ii  libatk1.0-0            1.24.0-2          The ATK accessibility toolkit
ii  libc6                  2.9-7             GNU C Library: Shared libraries
ii  libcairo2              1.8.6-2+b1        The Cairo 2D vector graphics libra
ii  libdbus-1-3            1.2.12-1          simple interprocess messaging syst
ii  libdbus-glib-1-2       0.80-3            simple interprocess messaging syst
ii  libdjvulibre21         3.5.21-3          Runtime support for the DjVu image
ii  libfontconfig1         2.6.0-3           generic font configuration library
ii  libfreetype6           2.3.9-4           FreeType 2 font engine, shared lib
ii  libgcc1                1:4.3.3-8         GCC support library
ii  libgconf2-4            2.26.0-1          GNOME configuration database syste
ii  libglade2-0            1:2.6.4-1         library to load .glade files at ru
ii  libglib2.0-0           2.20.1-1          The GLib library of C routines
ii  libgnome-keyring0      2.26.0-4          GNOME keyring services library
ii  libgtk2.0-0            2.16.1-2          The GTK+ graphical user interface 
ii  libice6                2:1.0.5-1         X11 Inter-Client Exchange library
ii  libkpathsea4           2007.dfsg.2-6     TeX Live: path search library for 
ii  libpango1.0-0          1.24.0-3+b1       Layout and rendering of internatio
ii  libpoppler-glib4       0.10.6-1          PDF rendering library (GLib-based 
ii  libsm6                 2:1.1.0-2         X11 Session Management library
ii  libspectre1            0.2.2.ds-1+b2     Library for rendering Postscript d
ii  libstdc++6             4.3.3-8           The GNU Standard C++ Library v3
ii  libtiff4               3.8.2-11          Tag Image File Format (TIFF) libra
ii  libx11-6               2:1.2.1-1         X11 client-side library
ii  libxml2                2.7.3.dfsg-1      GNOME XML library
ii  shared-mime-info       0.60-2            FreeDesktop.org shared MIME databa
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

Versions of packages evince recommends:
ii  dbus-x11                      1.2.12-1   simple interprocess messaging syst
ii  gvfs                          1.0.3-4    userspace virtual filesystem - ser

Versions of packages evince suggests:
ii  nautilus                     2.24.2-3+b1 file manager and graphical shell f
pn  poppler-data                 <none>      (no description available)
ii  unrar                        1:3.8.5-2   Unarchiver for .rar files (non-fre

-- no debconf information





More information about the pkg-gnome-maintainers mailing list