Bug 278384 - first and later pages are differently vertically aligned in "fit page", "continuous" view
Summary: first and later pages are differently vertically aligned in "fit page", "cont...
Status: CONFIRMED
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.12.2
Platform: Ubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 11:18 UTC by kabud
Modified: 2024-06-05 20:26 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screen capture (673.20 KB, video/ogg)
2013-05-16 19:37 UTC, kabud
Details
PDF file where the bug was reproduced (512.45 KB, application/pdf)
2024-06-05 20:26 UTC, TraceyC
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kabud 2011-07-24 11:18:07 UTC
Version:           0.12.2 (using KDE 4.6.2) 
OS:                Linux

the first page is vertically centered, i.e. the space between the top border of the page and the toolbar is equal to the space between the bottom border of the page and the page bar.

from page two onwards the pages are alligned to the bottom, i.e. the space between the top border of the page and the toolbar is approx twice as large as with the first page and there is no space between the bottom border of the page and the page bar.



Reproducible: Always

Steps to Reproduce:
open a pdf or ps. "fit page" and "continuous", compare how the first and the second page are positioned in the window.

Actual Results:  
first page is centered vertically
later pages are alligned to the bottom

Expected Results:  
all pages should be equally alligned (preferably vertically centered)

OS: Linux (x86_64) release 2.6.38-10-generic
Compiler: cc

the situation is similar when i turn "show page bar off"

the issue is not there when i switch "continuous" off, then all pages are equally alligned
Comment 1 kabud 2011-07-24 14:32:45 UTC
it also seems to affect the "fit width" view : using KMag i count the number of pixels to the left and the right of the first page as 2 and to the top of the page its 5 pixels, then i click "advance to next page" and now its 9 pixels from the top of the page.
Comment 2 kabud 2011-07-24 14:36:33 UTC
i should note: this happens when i navigate by "advance to the next page"/"go back to the previous page" toolbar buttons or the Go -> Next Page, Go -> Previous Page menu entries, or the respective keyboard shortcuts, but it does not happen when i click in the scrollbar
Comment 3 Albert Astals Cid 2013-03-07 22:36:49 UTC
Can not reproduce, can you please attach a screenshot
Comment 4 kabud 2013-05-16 19:37:25 UTC
Created attachment 79917 [details]
screen capture
Comment 5 kabud 2013-05-16 19:37:47 UTC
Made a screencapture.

1.) open http://plasma.kde.org/media/plasma-slides.pdf
2.) fit page
3.) continuous
4.) navigate to the next page by clicking in the scroll bar -> this is ok
5.) navigate back
6.) navigate to the next page by using the 'Advance to next page button' -> this is NOT ok

By repeating steps 5 and 6 you see how the presentation seems to 'jump' up and down.

everything is ok when navigating by 
- clicking in the scrollbar
- using space/backspace
- using pagedown/pageup

It is a reeeeeaaaallly minor issue. Thanks for looking into it.
Comment 6 Albert Astals Cid 2013-05-16 20:13:35 UTC
Oh, that. Ultra minor, don't have time to spend on that, sorry.
Comment 7 Justin Zobel 2020-11-20 03:05:40 UTC
Thanks for the report kabud. I've just tested on okular 1.11.3 and I can't replicate this issue.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved. I'm setting status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 8 kabud 2020-11-21 05:55:55 UTC
oh. blast from the past :) In 1.11.2 it is still exactly the same. not sure how I can retest in 1.11.3 ... I'm using ubuntu 20.10 no
Comment 9 Justin Zobel 2020-11-21 08:15:01 UTC
Information provided.
Comment 10 TraceyC 2024-06-05 20:22:33 UTC
I confirm the reported behavior in Okular 24.02.2 

Operating System: Solus 4.5
KDE Plasma Version: 6.0.5
KDE Frameworks Version: 6.2.0
Qt Version: 6.7.1
Kernel Version: 6.8.11-292.current (64-bit)
Graphics Platform: X11
Comment 11 TraceyC 2024-06-05 20:26:36 UTC
Created attachment 170184 [details]
PDF file where the bug was reproduced

I was able to see the bug with this PDF using the screen magnifier