[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-imaging
Subject: Re: [Kde-imaging] thought by packaging...
From: Aurélien_Gâteau <aurelien.gateau () free ! fr>
Date: 2008-12-17 22:33:17
Message-ID: 49497E2D.1030401 () free ! fr
[Download RAW message or body]
Angelo Naselli wrote:
>
>> I am a bit confused. What is this temporary dir? if it's created by the
>> plugin, the plugin should delete it itself when it's no longer needed.
> I'd say yes, but here two examples in which that is not possible (at
> least i believe), the first is printassistant, it saves pictures into a temporary
> directory to pass them to gimp. The latter is sendimage it uses a temporary
> dir in which put files to be sent. In both cases the related plugin cannot handle
> the external process to understand when to delete temporary files. The result
> is that the file lay down on your system forever. Try it :)
> If tried to put autodelete option, but on my machine that always does not work
> or better it deletes files before the applications have received them...
Oh I see. One solution is to use the KRun methods which take a tempFiles
boolean, like KRun::processDesktopExec() or KRun::run(). Another
solution is to do what KRun does: call your process with "kioexec
--tempfiles".
> Angelo (who has not finished with his home yet)
Those are never finished, believe me :)
Aurélien
_______________________________________________
Kde-imaging mailing list
Kde-imaging@kde.org
https://mail.kde.org/mailman/listinfo/kde-imaging
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic