when zooming the document is always scrolled back to the beginning

Bug #1277131 reported by LAZA
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xpdf (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have an very big pdf documention an do a lot of zooming in it (also attatched):
http://autobahnatlas-online.de/PlanungBauKarteMitAS.pdf

Each time i zoom in or out, the view is set Pos1 (0,0) of the document - whereever i have been before.
This is very annoying cause to search, find and relocate a wanted spot (especially if your're planning a journey).

.

Guest: Xubuntu 14.04 alpha2

Host: Xubuntu 12.04.3
VirtualBox: 4.3.6

.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xpdf 3.03-16+experimental2
ProcVersionSignature: Ubuntu 3.13.0-7.26-generic 3.13.1
Uname: Linux 3.13.0-7-generic i686
ApportVersion: 2.13.2-0ubuntu2
Architecture: i386
CurrentDesktop: XFCE
Date: Thu Feb 6 16:11:32 2014
InstallationDate: Installed on 2014-02-05 (0 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20140121.1)
SourcePackage: xpdf
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
LAZA (laza74) wrote :
LAZA (laza74)
tags: added: wily
Revision history for this message
Florian Schlichting (fschlich) wrote :

--- a/xpdf/PDFCore.cc
+++ b/xpdf/PDFCore.cc
@@ -295,10 +295,10 @@
   } else {
     scrollYA = scrollY;
   }
- if (zoomA != zoom) {
+/* if (zoomA != zoom) {
     scrollXA = 0;
     scrollYA = continuousMode ? -1 : 0;
- }
+ }*/

   dragging = gFalse;
   lastDragLeft = lastDragTop = gTrue;

This will disable scroll-to-top, but zooming in will not display an area from the center of the previously visible area, but something closer to or even beyond the top left corner of the previously visible area...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.