Bug 1371110

Summary: Image Viewer prints to PDF files using page layout "Portrait" only
Product: [Fedora] Fedora EPEL Reporter: Pavlin Georgiev <pgeorgie>
Component: cups-pdfAssignee: Remi Collet <fedora>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: epel7CC: fedora
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-24 15:26:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Video recording of image printing
none
PDF properties
none
PDF files with two different page orientations none

Description Pavlin Georgiev 2016-08-29 11:03:02 UTC
Created attachment 1195330 [details]
Video recording of image printing

Description of the problem:
Given Image viewer in GNOME (eog) on x86_64
When printing an image via CUPS-pdf using page layout "Landscape"
Then the PDF file has page layout "Portrait"

OS: RHEL-7.3-20160825.1
Kernel: kernel-3.10.0-495.el7.x86_64

Version-Release number of selected component (if applicable):
cups-pdf-2.6.1-7.el7.x86_64


How reproducible:
Always

Steps to Reproduce:
1. Open an image with eog
2. from the menu Image -> Print
3. Select printer: CUPS-PDF-Printer
4. Select page layout (orientation): Landscape
5. Print the document
6. Open the PDF which is saved on the desktop using Document Viewer (evince)
7. Go to properties
The bug appears.

Actual results:
The page orientation in the PDF file is "Portrait".

Expected results:
The page orientation should be "Landscape".

Additional info:
See the attached video recording.

Comment 1 Pavlin Georgiev 2018-11-21 09:28:24 UTC
Created attachment 1507578 [details]
PDF properties

TEST SETUP

Distro: Fedora 29 x86_64 Workstation
Component version: 
  cups-2.2.8-5.fc29
  cups-pdf-3.0.1-6.fc29
  eog-3.28.4-1.fc29

TEST PROCEDURE
1. Install Fedora 29.
2. Install package "cups-pdf".
3. Set the default printer "Cups-PDF" from gnome-control-center.
4. Start eog.
5. Open sample JPG file.
6. Print the image to Cups-PDF using settings:
  Paper size: US Letter
  Orientation: Landscape

7. Open the newly generated PDF with evince.
8. Open properties
The bug is still there.

Comment 2 Pavlin Georgiev 2019-09-09 14:39:34 UTC
Created attachment 1613189 [details]
PDF files with two different page orientations

TEST SETUP
Distro: RHEL-8.1.0-20190903.1
Component version: 
  cups-2.2.6-27.el8
  eog-3.28.4-1.el8


TEST PROCEDURE
1. Install package cups-pdf from EPEL7 repo.
   (cups-pdf-2.6.1-7.el7)
2. Start gnome-control-center.
3. Open section Devices->Printers.
4. There is a printer already installed - "Cups-PDF". Set it as default.
5. Start Image Viewer (eog).
6. Open sample JPG file.
7. Print the image into PDF with portrait orientation.
8. Name the file as sample_portrait.pdf
9. Print the image into PDF with landscape orientation.
10. Name the file as sample_landscape.pdf
11. Open both files side-by-side.
12. Take a screenshot

Comment 3 Pavlin Georgiev 2019-09-09 14:40:13 UTC
RESULT
The PDF files have different page orientation as expected.