Page MenuHome GnuPG

Kleopatra: Allow users to change name of decryption result if file already exists
Closed, ResolvedPublic

Description

Noticed that saving after decryption is different from saving after encryption (T6372), where we now offer to rename the output file.
After decryption its still only overwrite or abort:

This should be changed to the behavior we already have for saving encryption results.

Details

Version
VS-Desktop-3.1.90.302-Beta

Event Timeline

ebo triaged this task as Normal priority.Nov 29 2023, 11:38 AM
ebo created this task.

This is related to T6373. If T6373 is fixed, then we should get KIO's standard file conflict resolution dialog automatically. On Linux, you should already get the dialog which allows renaming the output file.

ikloecker moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.
ikloecker changed the task status from Open to Testing.Jan 24 2024, 11:31 AM

For existing files it does now do the same as when encrypting. Folders were already renamed automatically to avoid overwriting. This hasn't been changed.

Possible follow-up: Optionally, use automatic renaming also for files. We do it already for folders, so that there doesn't seem to be a reason not to do this also for files. This would save the users some clicks.

ebo moved this task from Restricted Project Column to Restricted Project Column on the Restricted Project board.

works, tested with Gpg4win-4.3.2-beta23

And I personally don't see the need for the suggested follow up, I strongly prefer to be asked for a new name or overwrite for files myself. For archives I'm now used to gpg's behavior but I would hate it for files.
Do you know people who would like to have this?

ebo renamed this task from Kleopatra: Allow users to change name of decryption result if file (or folder) already exists to Kleopatra: Allow users to change name of decryption result if file already exists.Jun 5 2024, 10:25 AM
ebo moved this task from WiP to vsd-3.3.0 on the vsd33 board.
ebo edited projects, added vsd33 (vsd-3.3.0); removed vsd33.

Browsers automatically add an increasing number to the file names of downloaded files in case of a conflict. I think that's a strong indication that people don't like to be bothered with such things. But let's see if people complain.