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 155144 - default cups printer not preselected
default cups printer not preselected
Status: RESOLVED FIXED
Product: gnome-print
Classification: Deprecated
Component: general
CVS
Other Linux
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
: 173072 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2004-10-11 22:51 UTC by Andreas J. Guelzow
Modified: 2005-09-19 18:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
fix for libgnomeprint (1.40 KB, patch)
2005-05-07 21:48 UTC, Jürg Billeter
committed Details | Review
fix for libgnomeprintui (1.34 KB, patch)
2005-05-07 21:49 UTC, Jürg Billeter
committed Details | Review

Description Andreas J. Guelzow 2004-10-11 22:51:15 UTC
opening the print dialog does not preselect the default cups printer. (Nor any
other).
Comment 1 Jürg Billeter 2005-05-07 21:48:41 UTC
Created attachment 46148 [details] [review]
fix for libgnomeprint

Mark printer as default before prepending to list, required to fix default
selection in libgnomeprintui.
Comment 2 Jürg Billeter 2005-05-07 21:49:16 UTC
Created attachment 46149 [details] [review]
fix for libgnomeprintui

Make sure we refer to current default printer.
Comment 3 Jürg Billeter 2005-05-07 21:52:06 UTC
These two patches should fix default cups printer selection. The problem has
been introduced by the new async functionality.
Comment 4 Sebastian Spaeth 2005-06-28 12:12:57 UTC
Current Gnome (2.10/2.10.1) always selects the "Generic PS" printer for me and
not the default CUPS printer. Has this patch been applied already to CVS, so I
can test if it really fixes default printer selection?
Comment 5 Jon Kåre Hellan 2005-07-10 09:00:09 UTC
These patches fix default printer selection for me.
Comment 6 Jody Goldberg 2005-09-13 19:31:35 UTC
Looks reasonable.
Comment 7 Jürg Billeter 2005-09-13 19:46:43 UTC
Committed to libgnomeprint and libgnomeprintui.
Comment 8 Jody Goldberg 2005-09-19 18:09:33 UTC
*** Bug 173072 has been marked as a duplicate of this bug. ***