[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-bugs-dist
Subject: [Bug 130709] can't open attachments using apps that immediately
From: David Faure <faure () kde ! org>
Date: 2007-04-12 16:11:37
Message-ID: 20070412161137.707.qmail () ktown ! kde ! org
[Download RAW message or body]
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic