This is an updated version that implements the atomic move of the folder to the final destination, as requested.
The search for a new free folder name is not inside the block where we check if this move is to the Trash folder. That means this automatic renaming works also when copying/moving/dragging to any other folder. That could be a nice feature. Do we want it? Or do we only want this when moving a folder to Trash?
Neil is this still a wrong place to do it and can you propose a better one that David Bienvenu was talking about?
Created attachment 8370331
WIP patch 2
This is an updated version that implements the atomic move of the folder to the final destination, as requested.
The search for a new free folder name is not inside the block where we check if this move is to the Trash folder. That means this automatic renaming works also when copying/ moving/ dragging to any other folder. That could be a nice feature. Do we want it? Or do we only want this when moving a folder to Trash?
Neil is this still a wrong place to do it and can you propose a better one that David Bienvenu was talking about?