[Bug 130709] can't open attachments using apps that immediately return
David Faure
faure at kde.org
Thu Apr 12 17:11:34 BST 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=130709
------- Additional Comments From faure kde org 2007-04-12 18:11 -------
SVN commit 653071 by dfaure:
Wait before deleting the tempfile in the "tempfile due to opening a remote file" case too, of course.
CCBUG: 130709
M +2 -4 main.cpp
--- branches/KDE/3.5/kdelibs/kio/kioexec/main.cpp #653070:653071
@ -255,11 +255,9 @
}
}
- if ( !dest.isLocalFile() ) {
- unlink( QFile::encodeName(src) );
- } else if ( tempfiles ) {
+ if ( !dest.isLocalFile() || tempfiles ) {
// Wait for a reasonable time so that even if the application forks on startup (like OOo or amarok)
- // i will have time to start up and read the file before it gets deleted. #130709.
+ // it will have time to start up and read the file before it gets deleted. #130709.
kdDebug() << "sleeping..." << endl;
sleep(180); // 3 mn
kdDebug() << "about to delete " << src << endl;
More information about the Kdepim-bugs
mailing list