Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#1068 closed bug (fixed)

Print server dies with PDF printer driver

Reported by: jackburton Owned by: phoudoin
Priority: high Milestone: R1
Component: Servers/print_server Version: R1/pre-alpha1
Keywords: Cc: phoudoin
Blocked By: Blocking:
Platform: All

Description

Setup PDF printer driver as the default printer, and use the "print to file" transport. Try to print something and when it asks you for the output file name, hit "cancel".

Attachments (1)

segviolation.PNG (30.1 KB ) - added by jackburton 18 years ago.
Segment violation

Download all attachments as: .zip

Change History (6)

by jackburton, 18 years ago

Attachment: segviolation.PNG added

Segment violation

comment:1 by jackburton, 17 years ago

Priority: normalhigh

Raising priority, since PDF Writer now is installed by default.

comment:2 by laplace, 17 years ago

Status: newassigned

Will look into it - promised ;-)

comment:3 by laplace, 17 years ago

Cc: phoudoin added
Owner: changed from laplace to phoudoin
Status: assignednew

Fixed in revision 21755. Our 'Print to File' transport add-on returns NULL in case of cancelation, whereas under BeOS R5 an invalid BFile object is returned. I have now added a NULL check to add-ons/print/shared/TransportAddon.cpp method IsPrintToFileCanceled(). Perhaps the proper fix would be to return an invalid BFile object by 'Print to File' in this case too?

comment:4 by laplace, 17 years ago

Resolution: fixed
Status: newclosed

The 'Print to File' transport add-on returns an invalid BFile object on cancellation with revision 21771.

in reply to:  4 comment:5 by jackburton, 17 years ago

Replying to laplace:

The 'Print to File' transport add-on returns an invalid BFile object on cancellation with revision 21771.

Thanks!

Note: See TracTickets for help on using tickets.