Ticket #1068 (closed bug: fixed)

Opened 23 months ago

Last modified 18 months ago

Print server dies with PDF printer driver

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

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

segviolation.PNG (30.1 KB) - added by jackburton 23 months ago.
Segment violation

Change History

Changed 23 months ago by jackburton

Segment violation

  Changed 18 months ago by jackburton

  • priority changed from normal to high

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

  Changed 18 months ago by laplace

  • status changed from new to assigned

Will look into it - promised ;-)

  Changed 18 months ago by laplace

  • cc phoudoin added
  • owner changed from laplace to phoudoin
  • status changed from assigned to new

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?

follow-up: ↓ 5   Changed 18 months ago by laplace

  • status changed from new to closed
  • resolution set to fixed

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

in reply to: ↑ 4   Changed 18 months ago by jackburton

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.