Bug 107996 - kpdf in fit page mode should center the page when changing page
Summary: kpdf in fit page mode should center the page when changing page
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kpdf
Classification: Applications
Component: general (show other bugs)
Version: 0.4.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Astals Cid
URL:
Keywords:
: 151529 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-23 13:55 UTC by Gioele Barabucci
Modified: 2015-02-07 16:18 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
The initial page in "fit page" view (14.05 KB, image/png)
2005-07-22 18:40 UTC, Gioele Barabucci
Details
second page after one selects Go -> Next Page (or presses space) (14.36 KB, image/png)
2005-07-22 18:41 UTC, Gioele Barabucci
Details
second page after one presses the Page Down key (49.59 KB, image/png)
2005-07-22 18:41 UTC, Gioele Barabucci
Details
third page as it appears the second time you press the Page Down key (14.24 KB, image/png)
2005-07-22 18:42 UTC, Gioele Barabucci
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gioele Barabucci 2005-06-23 13:55:50 UTC
Version:           0.4.1 (using KDE 3.4.1, Gentoo)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (ppc) release 2.6.11-gentoo-r6

A very little bug

Try this:
* load an A4 PDF
* set zoom to "fit page"

 the page is vertically and horizontally centered

* press 'space' to advance page

 now the page is no longer vertically centered, it is pushed to the bottom of the screen and an empty space is left on top.
Comment 1 Enrico Ros 2005-07-22 14:01:59 UTC
Can you attach a coupole of screenshots to this bug (pre and post the operation you describe) to better show the problem?
I'd like to solve it.
Thanks a lot.
Comment 2 Gioele Barabucci 2005-07-22 18:40:24 UTC
Created attachment 11878 [details]
The initial page in "fit page" view
Comment 3 Gioele Barabucci 2005-07-22 18:41:06 UTC
Created attachment 11879 [details]
second page after one selects Go -> Next Page (or presses space)
Comment 4 Gioele Barabucci 2005-07-22 18:41:40 UTC
Created attachment 11880 [details]
second page after one presses the Page Down key
Comment 5 Gioele Barabucci 2005-07-22 18:42:28 UTC
Created attachment 11881 [details]
third page as it appears the second time you press the Page Down key
Comment 6 Gioele Barabucci 2005-07-22 18:44:07 UTC
I hope these screenshots will help you to fix the problem.
In bocca al lupo ;)
Comment 7 Pino Toscano 2007-10-29 21:51:18 UTC
*** Bug 151529 has been marked as a duplicate of this bug. ***
Comment 8 Larry Clapp 2008-07-14 18:44:12 UTC
KPDF 0.5.5 (Using KDE 3.5.9)

I've seen this too.

The PageDown and PageUp keys are really "next screen" and "previous screen", not "next page" / "previous page".  You can see this if you set magnification to 10% so that you see many pages at once, and press the PageDown key -- you go to the next screen, i.e. the next set of pages viewable in the window.  But if you choose "Go -> Next Page" from the menu, you go to the actual next page, regardless of how many pages you can see in the window -- the window only scrolls a little bit.

Workaround: I went to the Shortcuts dialog and bound Ctrl-PageDown to Next Page, and Ctrl-PageUp to Previous Page, and now I can do both.

I still consider this a bug: if your window is big enough that you select "fit page" and you see only one page, and especially if you widen the window and you just get wider margins on the side (indicating that it *really is* as tall as can get), and you press PageDown (i.e. "next screen"), it should scroll exactly one page.

Clumsy manual workaround: I've found that in many (but not all) situations, if I subtract 0.8% from the view magnification, then Page Down ("next screen") works like "Ctrl-PageDown" ("next page").
Comment 9 Albert Astals Cid 2015-02-07 16:18:19 UTC
Thank you for your bug report or feature suggestion.

The "KPDF" application is no longer maintained, and all tickets are now closed.

We recommend to switch to the "Okular" application.

Due to the high number of bugs/suggestions in "KPDF" we are not able to go through all of them and verify if they are still valid in "Okular".

That's why are we asking you to help us by checking if your bug/suggestion is still valid in Okular and if it still is opening a new bug/suggestion against it.

Thank you for your effort in making KDE better :)

(This is an automatic message from the KDE bug triaging team)