Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1458845 - evince will not zoom to 100% (or beyond)
Summary: evince will not zoom to 100% (or beyond)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: evince
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Marek Kašík
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-05 15:47 UTC by udo
Modified: 2021-03-19 20:01 UTC (History)
4 users (show)

Fixed In Version: evince-3.38.2-2.fc33 evince-3.39.2-2.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-19 20:01:09 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
reproducer pdf (1.11 KB, application/pdf)
2017-06-06 02:54 UTC, udo
no flags Details

Description udo 2017-06-05 15:47:17 UTC
Description of problem:
On A0 PDFs generated via cairo by Gramps, evince will not zoom in beyond 95,69%.

Version-Release number of selected component (if applicable):
evince-3.20.1-2.fc24.x86_64

How reproducible:
Enter family tree in Gramps. Generate family lines report on A0 PDF.
View PDF with evince. Zoom in to 100% or more. See actual zoom percentage.

Actual results:
Not zoomed in to desired percentage.

Expected results:
Zoomed in to desired percentage.

Additional info:

Comment 1 udo 2017-06-05 15:49:51 UTC
On larger PDFs evince will zoom in even less.

Comment 2 Caolan McNamara 2017-06-05 19:44:44 UTC
can you attach a simple reproducer ?

Comment 3 udo 2017-06-06 02:12:29 UTC
Attaching my family tree is a step too far.
I'll see how to generate an A0 in a different way.

Comment 4 udo 2017-06-06 02:53:40 UTC
Simply create an empty A0 or larger sized (write doesn't know A0?) document and export as PDF.
Mine is 60"x25".
Open in evince. Set zoom lever to anything over 100%.
See resulting zoom level.

Comment 5 udo 2017-06-06 02:54:16 UTC
Created attachment 1285191 [details]
reproducer pdf

Comment 6 udo 2017-06-06 04:59:18 UTC
Workaround described at: https://bugs.launchpad.net/ubuntu/+source/evince/+bug/721217/comments/4

Test your settings in Evince:

$ gsettings get org.gnome.Evince page-cache-size

Set a new (bigger) value instead:

$ gsettings set org.gnome.Evince page-cache-size 100

This could be more automagic?

Comment 7 Fedora End Of Life 2017-07-26 00:25:08 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 8 Fedora End Of Life 2018-05-03 08:12:11 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 9 Ben Cotton 2019-05-02 21:52:01 UTC
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 28 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 10 udo 2019-05-03 04:19:18 UTC
We have a workaround but no real solution.
(config option?)

Comment 11 Ben Cotton 2019-10-31 19:25:38 UTC
This message is a reminder that Fedora 29 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 29 on 2019-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '29'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 29 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 12 Ben Cotton 2020-04-30 20:48:50 UTC
This message is a reminder that Fedora 30 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 30 on 2020-05-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '30'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 30 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Ben Cotton 2020-11-03 16:50:21 UTC
This message is a reminder that Fedora 31 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 31 on 2020-11-24.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '31'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 31 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 14 udo 2020-11-29 15:19:37 UTC
In Fedora 32 the viewings problems are still present.
We did:
$ gsettings set org.gnome.Evince page-cache-size 8192

Yet the zoom goes only to 5.4% with no ability to view (part of ) the PDF from a `closer` range.
PDF has grown to 9000 × 7000 mm.
Simply the output of gramps and a 3 millennia family tree.
Why can't I view the pdf at a readable zoom level?
I.e.: what is the issue?

Comment 15 Marek Kašík 2021-03-03 16:37:10 UTC
Hi,

I'm sorry for the delay.
I had a look at this and you are right that setting the cache to 8 GiB does not succeed. It is because of wrong type passed to function ev_view_set_page_cache_size(). I've proposed a merge request to uptream of evince which fixes this (https://gitlab.gnome.org/GNOME/evince/-/merge_requests/322). I'll fix this in Fedora 33 and newer in the meantime.

Comment 16 udo 2021-03-03 17:14:10 UTC
Please do.
I can understand these PDFs I have are uncommon but if evince can scale it is more allround functional.

Comment 17 Fedora Update System 2021-03-03 17:49:01 UTC
FEDORA-2021-6aeb21e87b has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6aeb21e87b

Comment 18 Fedora Update System 2021-03-03 17:49:02 UTC
FEDORA-2021-9a81b3b29d has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-9a81b3b29d

Comment 19 udo 2021-03-03 21:28:41 UTC
Thanks for the builds.
After installing I did:

gsettings set org.gnome.Evince page-cache-size 8192

And tested. I see a changed zoom percentage when evince starts up with the problem PDF but do not see any part of the pdf appear, not even scrollbars or anything.
Then I changed to:

gsettings set org.gnome.Evince page-cache-size 16384

Same behaviour, different default zoom but no pdf to be seen.
Smaller pdfs work as expected.

Comment 20 Fedora Update System 2021-03-03 23:53:13 UTC
FEDORA-2021-6aeb21e87b has been pushed to the Fedora 33 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-6aeb21e87b`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-6aeb21e87b

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 21 Fedora Update System 2021-03-04 16:54:52 UTC
FEDORA-2021-9a81b3b29d has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-9a81b3b29d`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-9a81b3b29d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 22 udo 2021-03-05 09:54:37 UTC
For the PDF in question I am searching for the right size so that I can print/view the PDF at 100% (i.e.: 1:1).
The Gramps 'family lines report' output size appears to scale with the paper size.
Currently I have a PDF of 9921x7087 dots.
I can  open this PDF in evince, set for e.g. 'fit width'.
A zoomed out version of (part of) the PDF appears.
Then we start zooming in using ctrl-+.
Until 59.5% things work as to be expected.
When we press ctrl-+ again we go to 71.4% and the view goes grey.
The evince menu bar disappears.
We see parts of the items on the desktop at the top.
There is no response to ctrl-+.
There is repsonse to pressing ctrl-- a few times: the pdf reappears after a short while.

Comment 23 Fedora Update System 2021-03-05 19:16:52 UTC
FEDORA-2021-6aeb21e87b has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 24 udo 2021-03-06 13:52:41 UTC
How can this bug be closed when I can not zoom to 100%?

Comment 25 Marek Kašík 2021-03-08 17:21:34 UTC
The issue here is that the page is rendered to a single image. Size of the image is limited by used backend of cairo. I can not fix this as it would need substantial changes to how evince works (to render only parts of the page as needed).
I can try to fix the issue of corrupted UI at least.

Comment 26 udo 2021-03-09 03:32:25 UTC
What are the cairo limitations in pixel dimensions?

Comment 27 Marek Kašík 2021-03-09 15:30:46 UTC
The limitation is probably 32767 x 32767 for the used backend.

I've filed another merge request which fixes the issue with corrupt UI:

https://gitlab.gnome.org/GNOME/evince/-/merge_requests/329

The best solution to this would be implementation of the partial rendering. There is an upstream issue for this here:

https://gitlab.gnome.org/GNOME/evince/-/issues/175

I'll file another update for the corrupt UI but will close this bug with resolution UPSTREAM then.

Comment 28 Fedora Update System 2021-03-19 20:01:09 UTC
FEDORA-2021-9a81b3b29d has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.