[Kde-print-devel] [Bug 124317] JJ: Use kdpf to show the document printed to a PDF file

Lion Vollnhals lion.vollnhals at googlemail.com
Wed Jul 4 14:08:57 CEST 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=124317         




------- Additional Comments From lion.vollnhals googlemail com  2007-07-04 14:08 -------
Hi!

I am currently working on this.
I have put a checkbox (asking to open the file afterwards) under the existing preview checkbox. The current position looks good. But maybe a usability engineer knows a even better placement. (The checkbox is disabled/enabled as needed and the status is saved of course.)

A beta patch is ready but i am still having problems with
opening the .pdf afterwards. When finishPrinting in KPrinter is called
the output .pdf still does not exist. So we have to sleep before we
open the .pdf (with KRun for example). I am currently using KRun::runCommand("sleep 1 && kfmclient exec " + outputFileName()). But there really has to be a better way.

(I also removed a superfluous call to finishPrinting, so that finishPrinting is called only once.)

The patch is currently against KDE 3.5.5.
I am working on a version 4 one.


More information about the Kde-print-devel mailing list