bugGNUstep - Bugs: bug #10916, GSCUPS fails without default...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #10916: GSCUPS fails without default printer

Submitted by:  None
Submitted on:  Fri 05 Nov 2004 05:32:09 AM UTC  
 
Category: Gui/AppKitSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Alexander Malmberg <alexm>
Open/Closed: Closed

Wed 12 Jan 2005 12:23:55 AM UTC, comment #1:

Fixed in cvs by:

Module name: gnustep
Branch:
Changes by: Alexander Malmberg <alexm@savannah.gnu.org> 05/01/11 23:39:41

Modified files:
core/gui : ChangeLog
core/gui/Printing/GSCUPS: GSCUPSPrintInfo.m GSCUPSPrinter.h
GSCUPSPrinter.m

Log message:
2005-01-12 00:41 Alexander Malmberg <alexander@malmberg.org>

  • Printing/GSCUPS/GSCUPSPrinter.h (GSCUPSDummyPrinterName): New

variable.

  • Printing/GSCUPS/GSCUPSPrinter.m (GSCUPSDummyPrinterName): New

variable.
(+printerWithName:): Warn and return a dummy printer when requested.

  • Printing/GSCUPS/GSCUPSPrintInfo.m (defaultPrinter): If there's

no default CUPS printer set, return a dummy printer.

Fixes bug #10916.

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/ChangeLog.diff?tr1=1.2431&tr2=1.2432&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrintInfo.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrinter.h.diff?tr1=1.1&tr2=1.2&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/gnustep/gnustep/core/gui/Printing/GSCUPS/GSCUPSPrinter.m.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Alexander Malmberg <alexm>
Project MemberIn charge of this item.
Fri 05 Nov 2004 05:32:09 AM UTC, original submission:

If you don't have a default printer selected in CUPS the GSCUPS backend will blowout with a "adding nil to dictionary... blah... PrintPrinter."

I guess we need some kind of popup that says:

"Printing Disabled.\n
\n
Please select a default printer, blah, blah in gnome-cups-manager or whatever to print."

And then obviously not crash. :-)

Cheers!

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Wed 12 Jan 2005 12:23:55 AM UTCalexmStatusNone=>Fixed
  Assigned toNone=>alexm
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1