Version: (using KDE KDE 3.4.0) When using KFileDialog to get a save url or file, if the user select an existing file the save dialog don't show a confirmation message to ask me if I want to overwrite the existing file or not. Perhapse I haven't searched enouth (because it's strange KDE doesn't provide such parameter), but I haven't found any parameter to ask confirmation. So, it's what I do: KURL url; bool tryAgain = true; while (tryAgain) { url = KFileDialog::getSaveURL(); if (url.isEmpty()) { tryAgain = false; } if (!KIO::NetAccess::exists(url, true, this) || KMessageBox::warningYesNo(this, "<qt>" + i18n("The file <strong>%1</strong> already exists. Do you wish to overwrite it?").arg(url.prettyURL()) + "</qt>", i18n("File Exists")) == KMessageBox::Yes) { tryAgain = false; } } Very heavy to do this, and the message can to not be the same as in other applications. Can this feature be integrated into the dialogs? At least as an optional parameter. It will allow to have consistent messages, and it will allow programers to not reinvent the wheel.
*** Bug 92034 has been marked as a duplicate of this bug. ***
This feature is really needed, because IMHO it doesn't make sense that for every small feature where a file is saved, the programmer has to write his own override file test. Please also see Bug 107201.
*** Bug 109778 has been marked as a duplicate of this bug. ***
Moving from "kio/kfile" component to "kfile" product, helps sorting out duplicates.
*** Bug 318749 has been marked as a duplicate of this bug. ***
*** Bug 291204 has been marked as a duplicate of this bug. ***
*** Bug 146806 has been marked as a duplicate of this bug. ***
This was already fixed some time ago. Some individual apps (such as Kate) may still try to handle overwrite themselves; we'll be fixing those soon.