[Libreoffice-bugs] [Bug 138542] Make printjob a background process and replace they print dialog with an icon in status bar

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Dec 3 15:53:34 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=138542

--- Comment #4 from Telesto <telesto at surfxs.nl> ---
(In reply to Michael Weghorn from comment #3)
> (In reply to Heiko Tietze from comment #2)
> > But I wonder how much processing is done on our side. Isn't the print job
> > forwarded to the OS specific handler?
> 
> What happens at least on Linux is basically:
> 
> 1) LO generates PDF (or PostScript, if that option is set) print data
> 2) LO hands that over to CUPS (the printing system)
> 
> Moving 1) to a separate thread and editing the document (model) while it's
> being "converted" *might* cause inconsistencies (or at least require
> additional measures to avoid that, but I don't what happens here exactly)
> 
> After 2), LO is no longer be "blocked", since the LO part is done and
> everything else happens on CUPS side and is "independent" of LO

FWIW, as I tend to mix topic together
1) The origin of this bug is the printjob on Windows being really, really slow
(for large jobs). It's appears to me the printer spooler being directly
accessed (on Windows), without PDF creation step in between.. This based on the
experience of PDF export being simply twice as fast on Windows, only sending a
printjob slow (accessing fonts and stuff repeatedly). [No actual code
knowledge]

2) Word 2003 has no progress bar at all (only a printer progress icon in status
bar). Showing a printjob being send. 
It would be an improvement already if only a progress bar is shown for 'PDF
conversion' LibreOffice getting unlocked at the point where they PDF is send to
printer. And harmonize Windows/Linux code as far as possible (assuming I'm
correct - mostly NOT the case - by assuming the printjob being handled
differently on Windows]

-> And you could use they PDF progress bar, instead of the print progress
dialog. I can't really stand that dialog anymore ;-).  

So separate thread must not be interpreted to strict from my perspective. Only
suggesting an approach. Not necessary the needed approach. So not asking for
rigorous overhaul if it can be improved a lot with some tweaking...

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201203/0e6e99e3/attachment.htm>


More information about the Libreoffice-bugs mailing list