Bug#427575: Can't view pds with e.g. mutt if evince is already running

Ingo Saitz ingo at debian.org
Mon Jun 4 23:48:58 UTC 2007


Package: evince
Version: 0.8.1-2
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Consider the following scenario where evince is already running.

- - You select an attachment in mutt to view.
- - mutt copies the attachment to /tmp/somename.pdf, calls "see
  /tmp/somename.pdf", waits for return and deletes the file.
- - see calls evince which detects the running instance, passes along the
  filename and exits immediately.
- - The runnning instance of evince tries to open the file in /tmp but
  fails because mutt already deleted it. (If it succeeds, try switching
  to the next page or resizing the window.)

The real fix is to have evince block and wait until thee window is
closed, maybe via command line switch if that behaviour should not be
default. This can be achieved by setting DBUS_SESSION_BUS_ADDRESS to
some invalid value (e.g. "invalid" does work), but this causes evince to
use default settings.

    Ingo

- -- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-rc3-schwan20070526
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages evince depends on:
ii  gconf2                   2.18.0.1-3      GNOME configuration database syste
ii  gnome-icon-theme         2.18.0-3        GNOME Desktop icon theme
ii  gs                       8.56.dfsg.1-1   Transitional package
ii  gs-esp [gs]              8.15.3.dfsg.1-1 The Ghostscript PostScript interpr
ii  libart-2.0-2             2.3.19-3        Library of functions for 2D graphi
ii  libatk1.0-0              1.18.0-2        The ATK accessibility toolkit
ii  libbonobo2-0             2.18.0-2        Bonobo CORBA interfaces library
ii  libbonoboui2-0           2.18.0-5        The Bonobo UI library
ii  libc6                    2.5-9+b1        GNU C Library: Shared libraries
ii  libcairo2                1.4.6-1.1       The Cairo 2D vector graphics libra
ii  libdbus-1-3              1.0.2-5         simple interprocess messaging syst
ii  libdbus-glib-1-2         0.73-2          simple interprocess messaging syst
ii  libdjvulibre15           3.5.19-2        Runtime support for the DjVu image
ii  libfontconfig1           2.4.2-1.2       generic font configuration library
ii  libfreetype6             2.2.1-6         FreeType 2 font engine, shared lib
ii  libgconf2-4              2.18.0.1-3      GNOME configuration database syste
ii  libglade2-0              1:2.6.0-4       library to load .glade files at ru
ii  libglib2.0-0             2.12.12-1       The GLib library of C routines
ii  libgnome-keyring0        0.8.1-2         GNOME keyring services library
ii  libgnome2-0              2.18.0-4        The GNOME 2 library - runtime file
ii  libgnomecanvas2-0        2.14.0-2        A powerful object-oriented display
ii  libgnomeui-0             2.18.1-2        The GNOME 2 libraries (User Interf
ii  libgnomevfs2-0           1:2.18.1-2      GNOME Virtual File System (runtime
ii  libgtk2.0-0              2.10.12-2       The GTK+ graphical user interface 
ii  libice6                  1:1.0.3-2       X11 Inter-Client Exchange library
ii  libjpeg62                6b-13           The Independent JPEG Group's JPEG 
ii  libkpathsea4             2007-11         TeX Live: path search library for 
ii  libnautilus-extension1   2.18.1-3        libraries for nautilus components 
ii  liborbit2                1:2.14.7-0.1    libraries for ORBit2 - a CORBA ORB
ii  libpango1.0-0            1.16.4-1        Layout and rendering of internatio
ii  libpng12-0               1.2.15~beta5-2  PNG library - runtime
ii  libpoppler-glib1         0.5.4-6         PDF rendering library (GLib-based 
ii  libpopt0                 1.10-3          lib for parsing cmdline parameters
ii  libsm6                   2:1.0.3-1       X11 Session Management library
ii  libstdc++6               4.2-20070528-1  The GNU Standard C++ Library v3
ii  libtiff4                 3.8.2-7         Tag Image File Format (TIFF) libra
ii  libx11-6                 2:1.0.3-7       X11 client-side library
ii  libxcursor1              1:1.1.8-2       X cursor management library
ii  libxext6                 1:1.0.3-2       X11 miscellaneous extension librar
ii  libxfixes3               1:4.0.3-2       X11 miscellaneous 'fixes' extensio
ii  libxi6                   1:1.0.1-4       X11 Input extension library
ii  libxinerama1             1:1.0.2-1       X11 Xinerama extension library
ii  libxml2                  2.6.28.dfsg-1   GNOME XML library
ii  libxrandr2               2:1.2.1-1       X11 RandR extension library
ii  libxrender1              1:0.9.2-1       X Rendering Extension client libra
ii  zlib1g                   1:1.2.3-15      compression library - runtime

evince recommends no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGZKTq4XrXtQkN2NURAl1KAJ9tAJGGmDicYVrK66gf4TfN1ZzY1ACeIgcq
VUP0gVnXPW+qDQvKVwM8vno=
=Zokr
-----END PGP SIGNATURE-----





More information about the pkg-gnome-maintainers mailing list