Bug 261548

Summary: 'Crop margins' option not applied correctly in two-page view
Product: [Applications] okular Reporter: Waldemar Szostak <claim>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED NOT A BUG    
Severity: normal CC: aacid, jordonwii
Priority: NOR    
Version: 0.11.2   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Two pages without the crop option enabled: it's ok that the scrollbar is needed
Two pages WITH the crop option enabled: note the needless gray area that widens the whole window unnecessarily

Description Waldemar Szostak 2010-12-29 17:39:10 UTC
Created attachment 55356 [details]
Two pages without the crop option enabled: it's ok that the scrollbar is needed

Version:           0.11.2
OS:                Linux

In the view mode 'neighbouring pages' the spaces between windows are not re-adjusted (the pages are not re-aligned) after turning on the 'crop margins' option.

This re-alignment does work when the zoom option 'adjust width' is used.

Reproducible: Always

Steps to Reproduce:
0. Turn on View -> View mode > 'neighbouring pages'
1. Make the zoom sufficiently big for two pages not to fit in the window width (so that the bottom scrollbar appears). You can see that two neighbouring pages are very close to each other - there's minimum space in between them.
2. Activate the option View -> Cut (Crop?) margins

Actual Results:  
The spaces between the pages can get awfully huge. That is to say - the pages are not re-adjusted. The scrollbar is still needed, even though there is space (saved because of the hiding of the margins) to display both pages without scrolling.

Expected Results:  
The pages should be re-aligned so that you can actually make use of the 'crop margins' option and see on the screen as much as possible.

OS: Linux (x86_64) release 2.6.36-gentoo
Compiler: x86_64-pc-linux-gnu-gcc
Comment 1 Waldemar Szostak 2010-12-29 17:41:43 UTC
Created attachment 55357 [details]
Two pages WITH the crop option enabled: note the needless gray area that widens the whole window unnecessarily
Comment 2 jordonwii 2012-01-06 05:31:35 UTC
I'm unable to reproduce in Okular 0.13.3 (at least, I don't get as big a gap as in your screenshots). Are you still having the issue?
Comment 3 Albert Astals Cid 2014-05-08 14:01:40 UTC
User didn't answer in 2 years