Bug 391894 - Zoom out doesn't work when zoom is Fit Width
Summary: Zoom out doesn't work when zoom is Fit Width
Status: RESOLVED DUPLICATE of bug 391352
Alias: None
Product: okular
Classification: Applications
Component: general (show other bugs)
Version: 1.3.1
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-15 18:01 UTC by t.soernes
Modified: 2018-04-06 14:08 UTC (History)
3 users (show)

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


Attachments
pdf (1.54 MB, application/pdf)
2018-03-16 01:38 UTC, t.soernes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description t.soernes 2018-03-15 18:01:01 UTC
Zoom out, either by button or shortcut, does nothing when zoom is Fit Width
Comment 1 Nate Graham 2018-03-15 22:53:43 UTC
Can't reproduce with Okular 1.1.3, 1.3.1, or from git master on my Kubuntu 17.10 machine.

Without detailed Steps To Reproduce, this bug doesn't have enough information to make any further progress. If you would like to proceed, please see https://community.kde.org/Get_Involved/Bug_Reporting#Step_6:_File_a_high-quality_bug_report and add the missing information, then re-open the bug report.
Comment 2 t.soernes 2018-03-16 01:09:50 UTC
@Nate Graham
I have two machines, both with Fedora 27 KDE, and on the same PDF, I can zoom out on one (when fit width) but not the other. What information do you want? Okular settings are default on both. The machine it's not working on has Nvidia graphics and is multi monitor.
Comment 3 t.soernes 2018-03-16 01:13:11 UTC
Additional info: When Okular is maximized, zoom out doesn't work as said. When not maximized, 'zoom out' toggles between fit width and 800 % zoom.
Comment 4 t.soernes 2018-03-16 01:14:55 UTC
The behavior is the same across PDFs and irrelevant of whether I use the GUI button, 'ctrl-minus' or mouse scroll wheel.
Comment 5 Nate Graham 2018-03-16 01:35:02 UTC
> The machine it's not working on has Nvidia graphics and is multi monitor.

Now that's the kind of information we need! Are there any other hardware or software differences you can think of between the machine where it's working, and the machine where it's not?

Also, if it's not sensitive, could you attach the PDF in question?
Comment 6 t.soernes 2018-03-16 01:38:51 UTC
Created attachment 111428 [details]
pdf
Comment 7 t.soernes 2018-03-16 01:42:33 UTC
No other differences that I can think of. The working machine runs Intel integrated, single monitor. It's been non-working on one machine for at least many months; it's not new behaviour.
Comment 8 Nate Graham 2018-03-16 01:43:55 UTC
Does the non-working machine start working if you remove the second screen and try again?

Does the working machine stop working if you plug in the screen from the non-working machine and try again?
Comment 9 t.soernes 2018-03-16 01:49:24 UTC
It tried plugging out all monitors, no improvement. I don't have a
cable to plug into the laptop (working) so I can't test the latter.

2018-03-16 2:43 GMT+01:00 Nate Graham <bugzilla_noreply@kde.org>:
> https://bugs.kde.org/show_bug.cgi?id=391894
>
> --- Comment #8 from Nate Graham <nate@kde.org> ---
> Does the non-working machine start working if you remove the second screen and
> try again?
>
> Does the working machine stop working if you plug in the screen from the
> non-working machine and try again?
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 10 Nate Graham 2018-03-16 01:53:29 UTC
An odd bug. I can't reproduce the issue with the attached PDF.
Comment 11 t.soernes 2018-03-16 02:09:11 UTC
It doesn't matter which PDF I use. The behavior is also inconsistent -
after plugging in and out monitor, it's able to zoom out to 150 %, but
no further.

2018-03-16 2:53 GMT+01:00 Nate Graham <bugzilla_noreply@kde.org>:
> https://bugs.kde.org/show_bug.cgi?id=391894
>
> --- Comment #10 from Nate Graham <nate@kde.org> ---
> An odd bug. I can't reproduce the issue with the attached PDF.
>
> --
> You are receiving this mail because:
> You reported the bug.
Comment 12 t.soernes 2018-03-20 16:52:56 UTC
Let me add some more info:
If I zoom out using the drop-down menu, until I'm more zoomed out than
fit width, then 'Zoom out' button works as normal until I zoom in to
'Fit width' and it stops working again. Well, that is, If I zoom in to
1600% from Fit Width, I can zoom out to Fit width, but no further
(using the button).


2018-03-16 3:09 GMT+01:00 Torstein Sørnes <t.soernes@gmail.com>:
> It doesn't matter which PDF I use. The behavior is also inconsistent -
> after plugging in and out monitor, it's able to zoom out to 150 %, but
> no further.
>
> 2018-03-16 2:53 GMT+01:00 Nate Graham <bugzilla_noreply@kde.org>:
>> https://bugs.kde.org/show_bug.cgi?id=391894
>>
>> --- Comment #10 from Nate Graham <nate@kde.org> ---
>> An odd bug. I can't reproduce the issue with the attached PDF.
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.
Comment 13 Albert Astals Cid 2018-03-20 21:30:43 UTC
Do you have trim margins enabled in the view menu?
Comment 14 t.soernes 2018-03-20 21:44:34 UTC
Yes, disabling it fixes the zoom out. I thought setting defaults in options would have removed any options I had set. Thanks
Comment 15 Albert Astals Cid 2018-03-20 21:49:11 UTC

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