RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1541358 - [RFE] Evince does not read PDF file PrintScaling scaling tags
Summary: [RFE] Evince does not read PDF file PrintScaling scaling tags
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: evince
Version: 7.7
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: 7.7
Assignee: Marek Kašík
QA Contact: Desktop QE
URL:
Whiteboard:
Depends On:
Blocks: 1656436
TreeView+ depends on / blocked
 
Reported: 2018-02-02 11:27 UTC by Mikel Olasagasti
Modified: 2023-03-24 13:58 UTC (History)
9 users (show)

Fixed In Version: evince-3.28.2-8.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-06 12:03:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
PDF for testing of PrintScaling (set to None) (1.12 KB, application/pdf)
2019-05-03 09:15 UTC, Marek Kašík
no flags Details
PDF for testing of PrintScaling (set to AppDefault) (1.12 KB, application/pdf)
2019-05-03 09:23 UTC, Marek Kašík
no flags Details


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 92779 0 None None None 2018-02-02 11:28:35 UTC
Red Hat Product Errata RHSA-2019:2022 0 None None None 2019-08-06 12:03:18 UTC

Description Mikel Olasagasti 2018-02-02 11:27:45 UTC
1. Proposed title of this feature request
Adobe PDF file autofit label feature for Evince

3. What is the nature and description of the request?
We request that when Evince reads a PDF file that includes internal labels [1] it has to respect the printing labels as Adobe indicates [2], it sets up "temporally" the printer config to follow the label setup like Acrobat Reader does and prints the document properly. Once the program is closed and opened again or a different file is opened, Evince keeps its original printing configuration.

4. Why does the customer need this? (List the business requirements here)
Customer needs Evince to print the PDF as it's configured internally in the file, without the user modifying the printer setup every time they need to print a different document [3] (we are speaking about how to avoid teaching more than 3000 people how to modify printing setup before printing and rollout the config after the document was printed depending of the type of document).

5. How would the customer like to achieve this? (List the functional requirements here)
Evince needs to set up the printing configuration (page not autoscaled if the internal label of the document says so) if the pdf file indicates so. And that setup has to be temporal, just for printing that document, if I close Evince and open it again, the original set up has to come up. Right now Evince keeps saved the printing configuration if the user modifies it anytime.

6. For each functional requirement listed in question 5, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
We had provided documents prepared with the internal label to test if the application prints it properly. We can help doing the test in customer installations printing different documents with early Evince releases.

7. Is there already an existing RFE upstream or in Red Hat Bugzilla?
I don't think so.

8. Does the customer have any specific timeline dependencies?
We are coming from case #01943425 opened on Oct 02 2017, we would like to have this feature ASAP.

10. List any affected packages or components.
evince-3.22.1-7.el7.x86_64.rpm 
evince-libs-3.22.1-7.el7.x86_64.rpm 
evince-nautilus-3.22.1-7.el7.x86_64.rpm
gtk3-devel-docs-3.22.10-5.0.1.el7.x86_64.rpm
gtk3-3.22.10-5.0.1.el7.x86_64.rpm
gtk3-tests-3.22.10-5.0.1.el7.x86_64.rpm
gtk3-immodule-xim-3.22.10-5.0.1.el7.x86_64.rpm
gtk-update-icon-cache-3.22.10-5.0.1.el7.x86_64.rpm
gtk3-devel-3.22.10-5.0.1.el7.x86_64.rpm
gtk3-immodules-3.22.10-5.0.1.el7.x86_64.rpm
gtk3-debuginfo-3.22.10-5.0.1.el7.x86_64.rpm

11. Would the customer be able to assist in testing this functionality if implemented?
Yes, sure.

[1]   <</Type/Catalog/Pages 3 0 R/Outlines 4 0 R/ViewerPreferences<</PrintScaling/None>>>>
[2] https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf
[3] the common documents they are printing are: contracts (fitted/autoscale to page), labels for products in pre-cutted paper, standar notes to place in doors or desks, etc.

Comment 11 Marek Kašík 2019-05-03 09:15:49 UTC
Created attachment 1562262 [details]
PDF for testing of PrintScaling (set to None)

Evince should show "None" in "Page Scaling" setting in "Page Handling" tab in print dialog every time you open this PDF. You can change it but the default should be "None" there.

Comment 12 Marek Kašík 2019-05-03 09:23:02 UTC
Created attachment 1562263 [details]
PDF for testing of PrintScaling (set to AppDefault)

Evince should show default value of "Page Scaling" setting in "Page Handling" tab in print dialog when you open this PDF. The default is "Shrink to Printable Area" for first-time opened PDFs. It can be different for files which were already opened before since evince stores this information. The stored value is listed in "gio info the-pdf-file.pdf"

Comment 13 Marek Kašík 2019-05-06 10:27:07 UTC
(In reply to Marek Kašík from comment #12)
> Created attachment 1562263 [details]
> PDF for testing of PrintScaling (set to AppDefault)
> 
> Evince should show default value of "Page Scaling" setting in "Page
> Handling" tab in print dialog when you open this PDF. The default is "Shrink
> to Printable Area" for first-time opened PDFs. It can be different for files
> which were already opened before since evince stores this information. The
> stored value is listed in "gio info the-pdf-file.pdf"

This is wrong, the value of "Page Scaling" is stored globally for all documents in "~/.config/evince/print-settings" and not per document. So the "default" value should be the value which was used last for printing. The value "Shrink to Printable Area" is default only when you print from Evince for the first time.

Comment 19 errata-xmlrpc 2019-08-06 12:03:05 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:2022


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