Bug 391352 - Trim margins breaks mouse wheel zoom out
Summary: Trim margins breaks mouse wheel zoom out
Status: RESOLVED DUPLICATE of bug 342003
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords: usability
: 391894 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-03 21:04 UTC by Zakhar
Modified: 2019-06-09 17:11 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zakhar 2018-03-03 21:04:30 UTC
Steps to reproduce:
-Open PDF with few pages
-Zoom out with mousewheel

Results: Does not zoom out past current zoom setting, or at least 1 step after it.
Comment 1 Albert Astals Cid 2018-03-03 21:45:51 UTC
Which version are you running?

Can you attach a document you have this problem with?
Comment 2 Zakhar 2018-03-03 22:20:09 UTC
Sure, download here because it exceeds size limit:
https://nofile.io/f/GkbszdO37C2/Pentagon+Aliens+William+Lyne.pdf

totally reproducible.
Comment 3 Zakhar 2018-03-03 22:20:43 UTC
Okular 17.12.2
Comment 4 Albert Astals Cid 2018-03-03 22:27:03 UTC
I can mouse wheel zoom just fine in that file.

Ah wait are you using Trim Margins? Don't do that, it's buggy.
Comment 5 Zakhar 2018-03-03 22:46:58 UTC
No, not to my knowledge.
Comment 6 Zakhar 2018-03-03 22:48:25 UTC
The first page is the non zoom out page.
Comment 7 Zakhar 2018-03-03 22:48:36 UTC
Rest of the pages seem to work well.
Comment 8 Albert Astals Cid 2018-03-03 22:52:56 UTC
(In reply to Zakhar from comment #5)
> No, not to my knowledge.

Maybe your knowledge is wrong, could you please check?
Comment 9 Zakhar 2018-03-03 23:06:57 UTC
Just found were trim margins is disabled it and no issue. This IS a legitimate bug, the least that can be done is ship Okular with trim margins disabled.
Comment 10 Albert Astals Cid 2018-03-03 23:48:02 UTC
(In reply to Zakhar from comment #9)
> Just found were trim margins is disabled it and no issue. 

You mean you had it enabled and when you disabled it the bug is gone?

> This IS a
> legitimate bug, the least that can be done is ship Okular with trim margins
> disabled.

Trim Margins is disabled by default, you must have enabled it at some point.
Comment 11 Zakhar 2018-03-04 00:26:49 UTC
It was enabled without me knowing it. Is there a bug to fix zooming with trim margins enabled?
Comment 12 Albert Astals Cid 2018-03-13 22:47:22 UTC
Maybe 342003 but not sure. Anyhow we can just use this one.
Comment 13 Zakhar 2018-03-15 04:58:20 UTC
Might as well
Comment 14 Albert Astals Cid 2018-03-20 21:49:11 UTC
*** Bug 391894 has been marked as a duplicate of this bug. ***
Comment 15 David Hurka 2019-06-09 17:11:42 UTC
(In reply to Zakhar from comment #11)
> It was enabled without me knowing it. Is there a bug to fix zooming with
> trim margins enabled?

(In reply to Albert Astals Cid from comment #12)
> Maybe 342003 but not sure. Anyhow we can just use this one.

Yes, and jimbo1qaz already located the bug in code, so it’s probably better to continue there.

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