Bug 307481 - Facing pages View is broken for one page documents
Summary: Facing pages View is broken for one page documents
Status: RESOLVED DUPLICATE of bug 305194
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.14.3
Platform: Debian unstable Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL: http://www.pariscityvision.com/media/...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-27 13:30 UTC by Emmanuel C
Modified: 2012-09-27 19:45 UTC (History)
2 users (show)

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 Emmanuel C 2012-09-27 13:30:42 UTC
When loading a one page document, and when zooming it (ie to see name streets on a map), if Okular is in facing pages view mode, the scroll system doesn't allow us to see the left part of the page, but allow us to see far away right of this page.

I think the limit of the viewport are wrongly computed.

Two solutions : 
 - let okular act like in "single page mode" whatever the setting is when the document contains only one page (I think it's the best choice)
 - change the setting to "single page mode" when opening this kind of document (perhaps easier to implement ?)

Reproducible: Always

Steps to Reproduce:
1. Open the map given in url
2. Choose View / View mode / Facing Pages
3. Try to scroll to the left of the document
Actual Results:  
I'm unable to see the Eiffel tower on the map, because it is impossible to scroll to the left.

Expected Results:  
I should be able to scroll the entire document, whatever the settings are.

The bug can be reproduced with any one page pdf. I didn't try with other kind of document, but I think the problem is not bound with the document type.
Comment 1 Sandro Mani 2012-09-27 13:52:57 UTC
I guess that should already be fixed in 4.10 by http://commits.kde.org/okular/7d18d176bc60855dec4f38262fa32d9aa31146c4, see bug #305194
Comment 2 Emmanuel C 2012-09-27 19:45:46 UTC
I guess too, indeed. I'll resolve it and I will reopen it if it is not the case.

*** This bug has been marked as a duplicate of bug 305194 ***