Confirmation for deletion of files in Dolphin settings also affects Gwenview

Michael Mikowski z_mikowski at yahoo.com
Thu Jun 13 23:00:23 BST 2013


Hi Frank:

Example race condition: 

1. the user has both applications open at the same time 

2. The user in one application clicks on confirmed to delete

 3. The second application configuration dialogue is not updated to reflect that of the first.


Frank Reininghaus <frank78ac at googlemail.com> wrote:

>Hi,
>
>2013/6/13 Michael Mikowski:
>> Here are my preferred solutions in order, with no regard to difficulty.  Note that I use KDE as my only desktop, averaging perhaps 8 hours per day, and I do a lot of image manipulation.
>>
>> 1. Merge gwenview and dolphin.
>
>This is unlikely to happen in the near future.
>
>> 2. Separate the two settings, so when using gwenview, for example, I can confirm deletes and do the opposite in dolphin.
>
>This is impossible because deleting and other file operations are
>handled by KIO. This part of kdelibs also shows confirmation dialogs,
>"File exists already" dialogs, etc. So we have to change the global
>setting that controls KIO's behaviour.
>
>> 3. Provide the setting in both apps, and note that it is a global setting in both apps (this would lead to confusing behavior and possible race conditions, through).
>
>This would be the best solution from my POV. I don't quite see why
>there could be a race condition though.
>
>Cheers,
>Frank


More information about the kfm-devel mailing list