Bug 222490

Summary: media source setting not retained after apply button
Product: [Fedora] Fedora Reporter: Andrew <andrewz>
Component: system-config-printerAssignee: Tim Waugh <twaugh>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.49-1.fc6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-01-17 17:04:58 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:
Bug Depends On:    
Bug Blocks: 207681    
Attachments:
Description Flags
HP LaserJet 1320tn PPD (supplied by Fedora) from problematic system none

Description Andrew 2007-01-12 21:22:31 UTC
Description of problem:
Under printer options, I set the media source to tray 3.  After clicking apply,
the setting changes to tray 1 or tray 2.

Version-Release number of selected component (if applicable):
system-config-printer-0.7.32-1
system-config-printer-0.7.45-1.fc6

How reproducible:
Always---on three Fedora Core 6 systems.

Steps to Reproduce:
1. Setup an HP LaserJet 1320tn using JetDirect socket and "PostScript
(recommended)".
2. Click on "installable options."
3. Enable tray 2 and 3.
4. Click on "printer options."
5. Change "media source" to "tray 3."
6. Click "apply" button.

Actual results:
The media source changes to 1 or 2.  (Only one of my three machines goes to tray 2.)

Expected results:
EITHER
1. The selected option stays, or
2. There is a friendly error pop-up message explaining the change.

Additional info:

Comment 1 Tim Waugh 2007-01-15 15:23:22 UTC
I can't reproduce this.  Please supply the PPD you are using (from /etc/cups/ppd).

Comment 2 Andrew 2007-01-15 17:20:59 UTC
After I deleted and recreated the printer, I also could not reproduce the
problem.  Perhaps creating the printer with the earlier version of the
system-config-printer software was the problem.

Comment 3 Andrew 2007-01-15 17:21:57 UTC
Created attachment 145590 [details]
HP LaserJet 1320tn PPD (supplied by Fedora) from problematic system

Comment 4 Tim Waugh 2007-01-15 18:32:29 UTC
To reproduce:

Enable 'Tray 3' in Installable Options
Select 'Tray 3' for Media Source in Printer Options
Enable 'Tray 1 (Manual)' in Printer Options

This is happening because we set the ManualFeed ('Tray 1 (Manual)') option after
the InputSlot ('Media Source') option, and CUPS treats these options specially
(in the ppdMarkOption() function).

I think this might need special treatment in the UI.


Comment 5 Fedora Update System 2007-01-17 16:25:47 UTC
Fixed in update: system-config-printer-0.7.49-1.fc6