Skip to content
Commit e68fa901 authored by Matthew Barnes's avatar Matthew Barnes
Browse files

Bug 7000028 - Drag-n-drop export of a file produces 0 sized PDF file

em_utils_print_messages_to_file() was doing so asynchronously, but
unfortunately drag-n-drop is a synchronous protocol.  So by the time
the asynchronous print operation completed, the URI list pointing to
the temporary PDF files had already been passed to the file manager.

The only reason the files were created at all was because we test the
generated file name with open(...O_CREAT...) before starting the print
operation, and I'm not convinced that test is even necessary.

(cherry picked from commit 72f465b1)
parent 13664a88
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment