Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105735 - xpdf 3.01 bugs when zooming
Summary: xpdf 3.01 bugs when zooming
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-12 14:56 UTC by Jocelyn Mayer
Modified: 2005-10-16 21:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xpdf display bug. (xpdf.gif,29.81 KB, image/gif)
2005-09-12 16:06 UTC, Jocelyn Mayer
Details
buggy partial display of a pdf (xpdf2.gif,12.04 KB, image/gif)
2005-09-12 16:29 UTC, Jocelyn Mayer
Details
Patch from the author (resize.patch,1.90 KB, patch)
2005-10-06 19:40 UTC, Saurabh Singhvi
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jocelyn Mayer 2005-09-12 14:56:30 UTC
I updated xpdf to version 3.01.
With this version when zooming a page and moving (with keyboard cursor keys)
inside this page, only a part of the display is redrawn.
It seems that only an area corresponding to the original displayed form (ie the
area displayed before the zoom) is re-displayed.
I did see this bug on two machines, one amd64 and one x86.


Reproducible: Always
Steps to Reproduce:
1. Open any pdf file
2. zoom it
3. move inside the displayed page.




Configuration of the tested amd64 machine:

Portage 2.0.52-r1 (default-linux/amd64/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12
x86_64)
=================================================================
System uname: 2.6.12 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre8
ccache version 2.4 [disabled]
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.10, 1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r8, 2.16-r1, 2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -funroll-loops -pipe -fexpensive-optimizations"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -funroll-loops -pipe -fexpensive-optimizations"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg cvs digest sandbox severe sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://gentoo.inode.at/ http://mirror.datapipe.net/gentoo
http://gentoo.ynet.sk/pub
http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://ftp.easynet.nl/mirror/gentoo/ http://ftp-stud.fht-esslingen
.de/pub/Mirrors/gentoo/"
MAKEOPTS="-j 1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 apm audiofile
avi bash-completion bcmath berkdb bidi bitmap-fonts blas bluetooth bmp bonobo
bzip2 caps cdb cdparanoia cdr crypt cscope ctype curl curlwrappers dbus dga dio
directfb doc dri dts dv dvd dvdr dvdread eds emacs emacs-w3 emul-linux-x86
encode esd evo examples exif expat fam fastcgi fbcon ffmpeg fftw flac fortran
ftp gb gd gdbm ggi gif ginac glut gmp gnome gnutls gphoto2 gpm gps gtk gtk2
gtkhtml guile hal iconv icq ieee1394 imagemagick imap imlib iodbc ipv6 jabber
jack javascript jpeg junit ladcca lapack lcms ldap leim lesstif libcaca libedit
libg++ libgda libwww lm_sensors lzw lzw-tiff mad maildir matroska matrox mbox
mcal memlimit mhash mikmod mime mmap mng motif mozilla mp3 mpeg mpi msession msn
nas ncurses neXt netcdf nls nptl nsplugin ocaml odbc offensive ofx ogg oggvorbis
openal opengl osc oscar oss pam pcntl pcre pdflib perl pic plotutils png
portaudio posix ppds python quicktime readline recode ruby sasl scanner sdl
sharedmem shorten simplexml skey slang sndfile snmp soap sockets sox speekx
speex ssl svg sysfs sysvipc szip tcltk tcpd tetex theora threads tidy tiff
truetype truetype-fonts type1-fonts unicode usb userlocales v4l vcd verbose
vhosts videos vorbis wifi wmf wxwindows xface xine xinerama xml xml2 xmlrpc xmms
xosd xpm xsl xv xvid yahoo yaz zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

-------------------------------------------------------------------------------
Configuration of the tested x86 machine:

Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1, 2.6.10-2
i686)
=================================================================
System uname: 2.6.10-2 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.15.92.0.2-r10, 2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe
-fexpensive-optimizations"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/fax /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -funroll-loops -pipe
-fexpensive-optimizations"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildsyspkg ccache cvs digest distlocks sandbox severe
sfperms strict"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://gentoo.mirror.sdv.fr
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.rhnet.is/pub/gentoo/ ftp://ftp.easynet.nl/mirror/gentoo/
ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo
ftp://ftp.tiscali.nl/pub/mirror/gentoo ftp://gentoo.linux.no/pub/gentoo/
ftp://ftp.caliu.info/pub/gentoo/ http://ds.thn.htu.se/linux/gentoo
ftp://sunsite.cnlab-switch.ch/mirror/gentoo/ ftp://ftp.solnet.ch/mirror/Gentoo
http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo http://gentoo.osuosl.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j 1"
PKGDIR="/usr/local/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 X Xaw3d a52 aac aalib acl acpi adns aim alsa apache2 apm audiofile avi
bash-completion bcmath berkdb bidi bitmap-fonts blas bluetooth bmp bonobo bzip2
caps cdparanoia cdr cpdflib crypt cscope ctype cups curl curlwrappers dbus dga
dio directfb divx4linux doc dri dts dv dvd dvdr dvdread eds emacs emacs-w3
encode esd evo examples exif expat fam fastcgi fbcon fdftk ffmpeg fftw flac
foomaticdb fortran ftp gb gd gdbm ggi gif ginac glut gmp gnome gnutls gphoto2
gpm gps gtk gtk2 gtkhtml guile iconv icq ieee1394 imagemagick imap imlib ipv6
jabber jack javascript jpeg junit ladcca lapack lcms leim lesstif libcaca
libedit libg++ libgda libwww lm_sensors mad maildir matroska matrox mbox mcal
memlimit mhash mikmod mime mmap mmx mng motif mozilla mp3 mpeg mpi msn nas
ncurses neXt netcdf nis nls nptl nsplugin ocaml odbc offensive ogg oggvorbis
openal opengl osc oscar oss pam pcre pdflib perl pic plotutils png portaudio
posix ppds python quicktime readline recode ruby samba sasl scanner sdl
sharedmem shorten simplexml skey slang slp sndfile snmp soap sockets sox speekx
speex sse sse2 ssl svg svga sysfs sysvipc szip tcltk tcpd tetex theora threads
tidy tiff truetype truetype-fonts type1-fonts unicode usb v4l vcd verbose vhosts
videos vorbis wifi win32codecs wmf wxwindows xface xine xinerama xml xml2 xmlrpc
xmms xosd xpm xprint xsl xv xvid yahoo yaz zlib userland_GNU kernel_linux
elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2005-09-12 15:40:06 UTC
i tried to reproduce the bug and it's everything ok with it. This happen when
you maximize the whole window ? Which wm are you using ? You got the crash with
all pdfs you have ?
Comment 2 Jocelyn Mayer 2005-09-12 16:06:33 UTC
Created attachment 68306 [details]
xpdf display bug.
Comment 3 Jocelyn Mayer 2005-09-12 16:09:14 UTC
There's a fact I didn't notice at first:
it seems you need to resize the window to make the bug appear.
I can reproduce it on any pdf.
I'll join a partial shot of the display of a part of the PCI specification
(random example).
On this example you can see two parts, on the right (grey area) and the bottom
(broken text) that have not been redrawn when moving inside the page.
Comment 4 Luis Medinas (RETIRED) gentoo-dev 2005-09-12 16:19:57 UTC
yes i've seen the crash can you please add a backtrace of the bug ? I will try
to get some info on the upstream for now.
Comment 5 Jocelyn Mayer 2005-09-12 16:26:05 UTC
I don't understand what backtrace you mean ?
I did not had any crash of the program, only display bugs.
Can you precise what you mean, please ?

In the meantime, I did make more tests.
Then it appears it's in fact a resize bug.
I've got another shot that shows the problem:
This time, I just reduced the window. Then, it's well drawn but I cannot move
into the page to see the parts that are not displayed.
And one can see the scrolling bars "pretend" the whole page is displayed.
As I still have some window opened with the previous version running (ie 3.0), I
can confirm that this bug appeared with the latest xpdf version.
Comment 6 Jocelyn Mayer 2005-09-12 16:29:41 UTC
Created attachment 68310 [details]
buggy partial display of a pdf

Buggy partial display of a pdf page after having resized the xpdf window.
Comment 7 PL Hayes 2005-09-13 23:42:27 UTC
I can confirm this bug. I had to revert to Xpdf 3.00. 
Comment 8 Matti Bickel (RETIRED) gentoo-dev 2005-09-25 11:12:31 UTC
Confirming this for ppc as well.
Using ion3-20050820
Comment 9 Saurabh Singhvi 2005-10-06 19:38:42 UTC
the bug has been fixed by the author and i am attaching the patch....... som1
plz update this to portage asap.
Comment 10 Saurabh Singhvi 2005-10-06 19:40:00 UTC
Created attachment 70037 [details, diff]
Patch from the author

sorry forgot to attch with ladt post
Comment 11 Luis Medinas (RETIRED) gentoo-dev 2005-10-09 17:43:23 UTC
I added the patch to xpdf 3.01.
Please upgrade to xpdf-3.01-r1 Thanks for the reports
Comment 12 Jocelyn Mayer 2005-10-16 21:58:58 UTC
Seems all-right on amd64.
Thanks.