Bug 366449

Summary: When viewing a pdf, if I trim margins (and go full screen), zoom out does not work properly
Product: [Applications] okular Reporter: Ustun Yildirim <yildirim.ustun>
Component: generalAssignee: Okular developers <okular-devel>
Status: RESOLVED DUPLICATE    
Severity: minor CC: magnus
Priority: NOR Keywords: investigated, triaged
Version: 0.25.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:

Description Ustun Yildirim 2016-08-05 13:26:46 UTC
When viewing a pdf (I haven't tried other document types), if I trim margins and go full screen, zoom out does not work properly. It jumps between two zoom levels  ("fit width" and %125 in my case). 
I have tried different pdf files (of similar page size).

If I do not go full screen, it will zoom out up to "fit width" but then will not zoom out any further. If this was supposed to be a feature, it is not because sometimes you want to zoom out to see many pages at once, to find and move to the page you want.

Reproducible: Always

Steps to Reproduce:
1.open a pdf
2.go to view > trim view > trim margins
(optional) 3.go to settings > full screen mode (Ctrl+Shift+F)
4. (zoom in until zoom level is greater than "fit width")
5. try zooming out above "fit width"

Actual Results:  
It jumps between two zoom levels  ("fit width" and %125 in my case). 

Expected Results:  
It should have zoomed out.

I have had this problem both on Arch Linux and Ubuntu.
Comment 1 Magnus Aagaard Sørensen 2018-11-17 13:40:39 UTC
Steps taken to reproduce:
* Open pdf file.
* Select trim to margins (View -> Trim View -> Trim Margins).
* Go to full screen mode.
* Zoom in past the "Fit Width" label.
* Zooming out with mousewheel/keyboard shortcuts shifts between the "Fit Width" and the next zoom step.
* Normal, expected zoom behaviour returns after exiting full screen mode and deselecting trim margins.

The behaviour reported here is the same is in #342003

I'm not the developer, updating as part of the Okular Bug Day for the Bugsquad.

Application Version: 1.5.3
KDE Plasma Version: 5.14.3
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.2

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