Bug 200393

Summary: Always shows driver dialog on log-in
Product: [Fedora] Fedora Reporter: Tim Waugh <twaugh>
Component: desktop-printingAssignee: John (J5) Palmieri <johnp>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jkeck, sangu.fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-11 02:11:45 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: 197822    
Attachments:
Description Flags
desktop-printing-test.patch none

Description Tim Waugh 2006-07-27 13:27:59 UTC
Description of problem:
Even when a queue has been automatically created by hal-lpadmin, eggcups shows a
dialog asking which driver to use.

Version-Release number of selected component (if applicable):
desktop-printing-0.19-11

How reproducible:
100%

Steps to Reproduce:
1. Plug in a printer
2. Log in on VT1 and observe 'lpstat -s' -- queue is already added
3. Log in via GDM
  
Actual results:
'Select driver' dialog

Expected results:
No dialog

Additional info:
This patch makes it work as I expect it to.

Why is eggcups looking at gconf?  What's that for?

Comment 1 Tim Waugh 2006-07-27 13:27:59 UTC
Created attachment 133148 [details]
desktop-printing-test.patch

Comment 2 John (J5) Palmieri 2006-07-27 20:09:34 UTC
How does it work in stateless?  If I reboot my computer the queue should have
been removed.  eggcups uses gconf to remeber what was chosen last so it can map
a printer not in the foomatics database to one that is in it.

Comment 3 Tim Waugh 2006-07-28 16:38:14 UTC
Differently. :-)  With stateless, we'll have to remember whole PPD files, and
gconf just isn't appropriate.

The stateless code isn't completely fleshed out yet, but the original outline
design is here:

  http://fedoraproject.org/wiki/Printing/AdminToolOutline

(section 2.1.3)


Comment 4 Ray Strode [halfline] 2006-08-11 02:11:45 UTC
Thanks Tim,

Should be in tomorrrow's rawhide.

Comment 5 sangu 2006-09-09 05:49:02 UTC
canon m170, desktop-printing-0.19-12, turboprint-1.94-4 (
http://www.turboprint.info/download2.html )
$lpstat -s
system default destination: tp0
device for tp0:
hal:///org/freedesktop/Hal/devices/usb_device_4a9_170a_F08759_if1_printer_noserial

When plugging printer, "Specify printer Driver" dialog always appears.