Bug#590573: Fails to open certain PDF files after download

Gonzalo Pérez de Olaguer Córdoba gpoc at iies.es
Mon Nov 15 10:02:50 UTC 2010


Package: epiphany-browser
Version: 2.30.6-1
Severity: normal


More info on this bug, and a workaround.

I have xpdf and evice installed, and the following snippet in
/etc/mozpluggerrc:

 text/x-pdf:pdf:PDF file
 	ACROREAD()
 	repeat noisy swallow(kpdf) fill: kpdf "$file"
	repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
 	repeat noisy swallow(okular) fill: okular "$file"
 	repeat noisy swallow(epdfview) fill: epdfview "$file"
 	GV()
 	repeat noisy fill exits: evince "$file"

The file is properly downloaded and xpdf is opened, but the xpdf window
closes immediately after opening and the epiphany page remains blank.

If I move the evince line on top of the others the PDF is properly
opened with evince in an independent window.

If I change the zpdf line like this:

 text/x-pdf:pdf:PDF file
 	ACROREAD()
 	repeat noisy swallow(kpdf) fill: kpdf "$file"
-	repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
+	repeat noisy fill exits: xpdf "$file"
 	repeat noisy swallow(okular) fill: okular "$file"
 	repeat noisy swallow(epdfview) fill: epdfview "$file"
 	GV()
 	repeat noisy fill exits: evince "$file"

the PDF properly opens with xpdf in an independent window (i.e. not
embedded into the epiphany-browser window).

Opening the PDF file this way gives the following information
for the opened xpdf window:

xwininfo: Window id: 0x6c000de "Xpdf: /tmp/mozplugger-15121/motherboard_manual_8i915md-g(gv)_e.pdf"

Changing the mozpluggerrc line to

repeat noisy swallow(*Xpdf) fill: xpdf -g +9000+9000 "$file"

doesn't work.

Best regards,
Gonzalo.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages epiphany-browser depends on:
ii  dbus-x11                    1.2.24-3     simple interprocess messaging syst
ii  epiphany-browser-data       2.30.6-1     Data files for the GNOME web brows
ii  gnome-icon-theme            2.30.3-1     GNOME Desktop icon theme
ii  iso-codes                   3.21-1       ISO language, territory, currency,
ii  libavahi-client3            0.6.27-2     Avahi client library
ii  libavahi-common3            0.6.27-2     Avahi common library
ii  libavahi-gobject0           0.6.27-2     Avahi GObject library
ii  libc6                       2.11.2-7     Embedded GNU C Library: Shared lib
ii  libcairo2                   1.8.10-6     The Cairo 2D vector graphics libra
ii  libdbus-1-3                 1.2.24-3     simple interprocess messaging syst
ii  libdbus-glib-1-2            0.88-2       simple interprocess messaging syst
ii  libgconf2-4                 2.28.1-5     GNOME configuration database syste
ii  libgirepository1.0-0        0.6.14-1+b1  Library for handling GObject intro
ii  libglib2.0-0                2.24.2-1     The GLib library of C routines
ii  libgnome-keyring0           2.30.1-1     GNOME keyring services library
ii  libgtk2.0-0                 2.20.1-2     The GTK+ graphical user interface 
ii  libice6                     2:1.0.6-1    X11 Inter-Client Exchange library
ii  libnotify1 [libnotify1-gtk2 0.5.0-2      sends desktop notifications to a n
ii  libnspr4-0d                 4.8.6-1      NetScape Portable Runtime Library
ii  libnss3-1d                  3.12.8-1     Network Security Service libraries
ii  libpango1.0-0               1.28.3-1     Layout and rendering of internatio
ii  libseed0                    2.30.0-1+b1  GObject JavaScript bindings for th
ii  libsm6                      2:1.1.1-1    X11 Session Management library
ii  libsoup-gnome2.4-1          2.30.2-1     an HTTP library implementation in 
ii  libsoup2.4-1                2.30.2-1     an HTTP library implementation in 
ii  libwebkit-1.0-2             1.2.5-2      Web content engine library for Gtk
ii  libx11-6                    2:1.3.3-3    X11 client-side library
ii  libxml2                     2.7.7.dfsg-4 GNOME XML library
ii  libxslt1.1                  1.1.26-6     XSLT 1.0 processing library - runt

Versions of packages epiphany-browser recommends:
ii  ca-certificates          20090814+nmu2   Common CA certificates
ii  evince                   2.30.3-1        Document (postscript, pdf) viewer
ii  yelp                     2.30.1+webkit-1 Help browser for GNOME

Versions of packages epiphany-browser suggests:
pn  epiphany-extensions           <none>     (no description available)

-- no debconf information






More information about the pkg-gnome-maintainers mailing list