Version: unspecified (using KDE 4.6.0)
The open file dialog opens a file if it is single or double-clicked (depending on the double click setting in Dolphin). But when a file is double-clicked in the save file dialog, the dialog does not proceed with saving the file. Instead the user must initiate that by clicking on [Save] or pressing «Enter».
Steps to Reproduce:
Go to some KDE application and select Save as...
(double) click a file in the dialog to tell the program you want to save the file under this name.
The name is entered into the name input field and the field is focused. The user must now perform another click on the [Save] button or press «Enter».
The dialog should act as if the [Save] button was clicked as well, because when the user double-clicks a file, it is safe to assume that he means to save the file under that name.
The save dialog of other OSes (Windoze) and toolkits (such as GTK) behave as requested here, so the described behavior would be more consistent both with those as well as with KDE’s own open file dialog.
Please not. As far as I know this is intended, and shouldn't change. I would be highly confused if it closed the dialog just because I clicked on a file name (I use single click mode).
And what if single-click people would also have to doubleclick? If some uses single-click mode, I would assume that (s)he knows that selecting a file with one click would also “execute” it.
*** Bug 382961 has been marked as a duplicate of this bug. ***
(In reply to Christoph Feck from comment #1)
> Please not. As far as I know this is intended, and shouldn't change. I would
> be highly confused if it closed the dialog just because I clicked on a file
> name (I use single click mode).
You will never be confused because the dialog will never just close. You will always still be presented with the 'Confirm overwrite' dialog.
I strongly agree with Frank Steinmetzger and having this implemented would speed up my daily workflow considerably (see for further explanation: https://bugs.kde.org/show_bug.cgi?id=382961).
To reiterate the most important points:
- Requested behavior would make the 'Save As' dialog be consistent with the 'Open' dialog;
- Requested behavior is common in other main DE's.
Thanks for looking into this.
Agreed: this would be desirable, and should pop up a "Replace X file with this one?" dialog like other platforms do. Would also be nice if a sticky systemwide notification with an Undo button appeared afterwards, just in case you didn't actually read the dialog and accidentally blew up your work.
Can't do this until the file dialog itself handles the overwrite dialog. Once that happens, it's probably safe enough to show it when the file is single or double-clicked (depending on user preference).
This was fixed by https://phabricator.kde.org/D12538. Some individual apps (such as Kate) may still try to handle overwrite themselves; we'll be fixing those soon.