After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 646100 - Unable to select a user-default network printer
Unable to select a user-default network printer
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Printers
2.91.x
Other Linux
: Normal normal
: ---
Assigned To: Marek Kašík
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2011-03-29 13:46 UTC by jlaska
Modified: 2011-04-12 14:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jlaska 2011-03-29 13:46:44 UTC
= Short description =

It appears I am unable to select (or change) the default printer when connected to a print server.  I try to uncheck "[X] Default", but it does not appear to change anything.  In previous releases, it was possible to change the default printer, whether using a print server or not.  Perhaps this is just an omission.


= Versions Tested =

 * control-center-2.91.93-1.fc15.x86_64
 * gnome-shell-2.91.92-3.fc15.x86_64
 * cups-1.4.6-12.fc15.x86_64


= Additional information =

 * See screencast for demonstrating the problem - http://jlaska.fedorapeople.org/videos/shell-20110329-1.webm
 * It appears I have a leftover $HOME/.cups/lpoptions file which explains why I have a default printer selected.  Without this file, it seems I am unable to change my default printer.  The file contains:
   Default three_west
Comment 1 jlaska 2011-03-29 14:24:33 UTC
Just to clarify, twaugh noted that the desired behavior here is to establish a user default printer (lpoptions -d ... ).  This bug is *not* intended to track a system default printer (lpadmin -d ...).

10:19:32   twaugh: jlaska: with your iR5570 and default printer
10:19:49   twaugh: jlaska: there's two types of default printer, not sure how the control-center module handles it
10:19:58   twaugh: jlaska: there's the "system default", and the "user default"
10:20:24   jlaska: twaugh: Oh I see, in this case, I was thinking 'user default'
10:20:29   twaugh: jlaska: a "system default" printer must be one that's defined locally
10:20:51   twaugh: jlaska: yes, user default is what you want to set there
10:20:59   twaugh: jlaska: i.e. the equivalent of lpoptions -d ...
10:21:41   jlaska: twaugh: yes, thanks for clarification ... I'll add that to the bz
10:21:44   twaugh: jlaska: versus lpadmin -d ... which sets the system default
Comment 2 Marek Kašík 2011-04-12 14:52:25 UTC
Hi,

I've just committed a patch which fixes the problem with default printer. It cleans "~/.cups/lpoptions" from default destinations before setting new default printer now (for local CUPS server). And stores default printer into "~/.cups/lpoptions" if using a remote CUPS server.
Unchecking of the "Default" check button doesn't work because unsetting of default printer is not supported by CUPS.

Regards

Marek