Bug 240446

Summary: PDF document in facing page mode stuck at first page
Product: [Applications] okular Reporter: Keerthi <keerthi.linux>
Component: PDF backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal CC: aacid, cosenal, iskendar
Priority: NOR    
Version: 0.10   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 4.5

Description Keerthi 2010-06-02 11:45:41 UTC
Version:           0.10 (using KDE 4.4.3) 
OS:                Linux

When view a PDF document in 'Facing Pages' mode, okular gets stuck at Page#1 endlessly. Pressing 'PgDown' does not scroll to Page# 3 and further.

Reproducible: Always

Steps to Reproduce:
1. Open a PDF document in okular
2. Switch to 'Facing Page' mode such that two page are visible at the same time
3. [Optional] Press 'Home' key to ensure that you are viewing the very first page of the document
4. Now, press 'PgDown' key. 

Actual Results:  
Okular would get stuck endlessly in Page# 1 & 2 (current view) and never scroll to the next set of page

NOTE: This only happens when you are in the very first page. No issues, when you scroll to next page set using the < (Previous) and > (Next) icons near the footer.

Expected Results:  
Okular to scroll to Page# 3 when pressing 'PgDown' while on Page#1 and 2 in Facing Page mode.
Comment 1 Keerthi 2010-06-05 05:40:29 UTC
NOTE: You must turn off 'Continuous' mode and enable 'Facing Pages'
Comment 2 Albert Astals Cid 2010-07-05 19:12:36 UTC
SVN commit 1146302 by aacid:

I've been trying to understand why we have a special case here for the first page and could not find a reason and after some heavy testing we did not find that this causes any regression
Patch by Victor Blázquez
BUGS: 240446


 M  +1 -1      pageview.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1146302
Comment 3 Keerthi 2010-07-22 16:32:03 UTC
Thank you very much for the fix
Comment 4 Keerthi 2010-07-27 13:10:46 UTC
Thanks. Will this fix make into KDE 4.5? Sorry but how do I know the planned release of this fix?
Comment 5 Albert Astals Cid 2010-07-28 23:03:57 UTC
Yes, i'll be in 4.5.0
Comment 6 Albert Astals Cid 2010-08-11 20:07:07 UTC
*** Bug 247387 has been marked as a duplicate of this bug. ***
Comment 7 Alessandro Cosentino 2011-04-27 16:58:17 UTC
*** Bug 271249 has been marked as a duplicate of this bug. ***