Bug 205836 - fit page does not work properly anymore
Summary: fit page does not work properly anymore
Status: RESOLVED WORKSFORME
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 0.9
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-31 22:04 UTC by Stefan Endrullis
Modified: 2010-07-05 18:37 UTC (History)
1 user (show)

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


Attachments
effected PDF file (354.01 KB, application/download)
2009-09-01 11:37 UTC, Stefan Endrullis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Endrullis 2009-08-31 22:04:55 UTC
Version:           0.9 (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

In okular 0.8.2 the "fit page" zoom worked perfectly. You could change the pages and they were always centered horizontal and vertical.

But in okular 0.9 this doesn't work properly anymore. When you change the page it is not vertically centered anymore. Seems there is a problem with the calculation of the page height now.
Comment 1 Jakub Stachowski 2009-08-31 22:43:55 UTC
Could you attach PDF that shows this bug?
Comment 2 Stefan Endrullis 2009-09-01 11:37:30 UTC
Created attachment 36610 [details]
effected PDF file

OK, here is an example PDF effected by this bug.

I tested it again and found out that the bug only appears when the window is maximized. I determined the exact dimension of the windows by using xwininfo. Here are the results:
  Absolute upper-left X:  0
  Absolute upper-left Y:  23
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 1440
  Height: 829
  Depth: 24
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: NorthWestGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +0+23  -0+23  -0-48  +0-48
  -geometry 1440x829+0+0
Comment 3 Albert Astals Cid 2009-10-05 22:34:04 UTC
Can you please write the exact steps you make to make fit to page fail?
Comment 4 Albert Astals Cid 2010-07-05 18:37:51 UTC
No info given in 9 months on how to reproduce the issue