Bug 538133

Summary: Print dialog not working correctly with PPD constraints
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: gtk2Assignee: Marek Kašík <mkasik>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 12CC: mclasen, skotchman
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-11-04 16:53:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
990C.ppd none

Description Tim Waugh 2009-11-17 17:45:21 UTC
Created attachment 369923 [details]
990C.ppd

Description of problem:
It looks like the print dialog is not working correctly with PPD constraints.  Attached is a PPD file showing the problem.

Version-Release number of selected component (if applicable):
gtk2-2.18.3-21.fc12

How reproducible:
100%

Steps to Reproduce:
1.Add a new printer using the supplied PPD.
2.File->Print... from a GTK application -- I tried evince
3.Select the queue.
4.Click on Page Setup tab
5.Try to set Two-sided option to 'Long Edge (Standard)'.

Actual results:
Only option is 'One Sided'.

Expected results:
One Sided
Long Edge (Standard)
Short Edge (Flip)

Comment 1 Tim Waugh 2009-11-24 16:37:57 UTC
Oh, never mind, it's HPLIP's weird 'duplex' page sizes.

Comment 2 Tim Waugh 2009-11-25 18:02:50 UTC
Re-opening as I *can* reproduce this problem using gedit (as pointed out in bug #540995 comment #2).

1.System->Administration->Printing
2.Add a new printer using the supplied PPD.
3.Double-click on new queue and switch to the Printer Options tab
4.Set the Page Size to one containing 'AutoDuplex' (e.g. A4 AutoDuplex)
5.Applications->Accessories->gedit Text Editor
6.File->Print...
7.Select the queue.
8.Click on Page Setup tab
9.Try to set Two-sided option to 'Long Edge (Standard)'.

Actual results:
Only option is 'One Sided'.

Expected results:
One Sided
Long Edge (Standard)
Short Edge (Flip)

Additional information:
Does work correctly from evince and firefox.

Comment 3 Scott Castaline 2010-01-04 04:26:13 UTC
I am also having this problem with both evince and gedit. I have a HP Officejet Pro L7780 with duplex, with 2 queues, one with duplex on and the other with duplex off. No matter which one I select, if I go into page options in the printer dialog, I only have one side available in the two sided option. All other apps are fine. I had even changed the paper size to the autoduplex option as stated in comment #2. If I use ePDF Viewer it'll print the 2nd side but it uses different spacing and font sizes messing up the document. So fixing the duplex option would be nice as I really don't want to use Adobe.

[scott@ncc1701 ~]$ rpm -qa evince gedit
evince-2.28.1-5.fc12.x86_64
gedit-2.28.0-1.fc12.x86_64
[scott@ncc1701 ~]$ uname -r
2.6.31.9-174.fc12.x86_64

Comment 4 Scott Castaline 2010-01-17 22:39:49 UTC
In trying to resolve this, I wound up reinstalling Fedora 12 as a fresh install after saving what I needed from the exisitng system. I installed the printer through system-config-printer instead of hp-setup using hpijs/foomatic for the driver instead of the hplip. All seems to be working for now. However, I have not been able to figure out how to install the FAX function yet or read memory cards in the built in card reader. Scanning seems to also work.

Comment 5 Bug Zapper 2010-11-04 06:16:39 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  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 WONTFIX if it remains open with a Fedora 
'version' of '12'.

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 prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 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 please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

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.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 6 Tim Waugh 2010-11-04 16:53:57 UTC
This seems to work correctly now in gtk2-2.22.0-1.fc14.1.x86_64.