Bug 215463 - Switching from "Single page" to "Facing pages" goes to end of document
Summary: Switching from "Single page" to "Facing pages" goes to end of document
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-20 19:06 UTC by Nicolas Bigaouette
Modified: 2009-11-20 21:55 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nicolas Bigaouette 2009-11-20 19:06:20 UTC
Version:            (using KDE 4.3.3)
Compiler:          gcc version 4.4.2 (GCC) ../configure --prefix=/usr --enable-shared --enable-languages=c,c++,fortran,objc,obj-c++,ada --enable-threads=posix --mandir=/usr/share/man --infodir=/usr/share/info --enable-__cxa_atexit --disable-multilib --libdir=/usr/lib --libexecdir=/usr/lib --enable-clocale=gnu --disable-libstdcxx-pch --with-tune=generic
OS:                Linux
Installed from:    Archlinux Packages

When switching from "Single page" mode to "Facing pages" mode, okular goes to the last page instead of showing the previously focused page.

Note that this happens only when page number 4 and up is previously focused in "Single page" mode. When page 1 to 3 is focused, the switch between modes respect the previous page focus.
Comment 1 Albert Astals Cid 2009-11-20 21:52:55 UTC
SVN commit 1052137 by aacid:

Get the viewport before resizing the canvas otherwise the canvas resizal makes the viewport change and later we end up with an incorrect viewport
BUGS: 215463


 M  +1 -1      pageview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1052137
Comment 2 Albert Astals Cid 2009-11-20 21:55:12 UTC
SVN commit 1052139 by aacid:

Backport r1052137 | aacid | 2009-11-20 21:52:51 +0100 (Fri, 20 Nov 2009) | 3 lines

Get the viewport before resizing the canvas otherwise the canvas resizal makes the viewport change and later we end up with an incorrect viewport
BUGS: 215463


 M  +1 -1      pageview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1052139