Page 3 of 3

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 09:51
by LittleBiG
(A modifier for obfuscate command would have been useful. Obfuscate everything but list. I could have recorded a bigger part of the screen.)
flatten.gif
It cannot be undone, but I undid it. :)

(Easiest solution to change the warning: "This action cannot be fully undone, empty folders will disappear.")

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 12:23
by hermhart
Would it be possible to change or have the option when there is a name collision to have the folder name be a suffix as opposed to being the prefix? For some reason, that just makes more sense to me.

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 12:31
by admin
hermhart wrote:Would it be possible to change or have the option when there is a name collision to have the folder name be a suffix as opposed to being the prefix? For some reason, that just makes more sense to me.
You're probably the only one. :) What if there are deeper nestings... I think prefix somehow :wink: looks more natural:

Code: Select all

Original: E:\Test\flattenDeep\sub1\sub2\a.txt
Prefix:   E:\Test\flattenDeep\sub1-sub2-a.txt
Suffix:   E:\Test\flattenDeep\a-sub1-sub2.txt

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 12:32
by admin
LittleBiG wrote:(Easiest solution to change the warning: "This action cannot be fully undone, empty folders will disappear.")
Well, the point is: I don't see this problem here. All is perfectly undone and redone.

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 13:31
by hermhart
For me, I'm used to seeing files with the same/similar name all grouped together. If there are a lot of files, I would think it would be more difficult once everything is flattened, as everything would be more scattered in the listing if it is done by prefix. But either way, that is going to be a great added SC.

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 14:17
by admin
So, the undo works for everybody apart from LittleBig? Weird!

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 14:20
by LittleBiG
admin wrote:So, the undo works for everybody apart from LittleBig? Weird!
Indeed. Tried on 2 different computers, even with fresh. The same factor was the Win7x64.

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 14:27
by admin
What exactly goes wrong the Undo/Redo? You say "empty folders will disappear", but that is what they should do on Redo. On Undo they should be created again before the files are moved back into them.

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 14:30
by LittleBiG
If a subfolder was empty when the folder is flattened, undo cannot create that folder again (only the folders in which there were files). That's why I say, undo is just partial.

(in my example above, the folder named "2" has gone, because there were no files in it)

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 14:32
by admin
Aaah! Okay, true. I see if I can improve that.

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 14:36
by LittleBiG
And maybe I wasn't clear enough, but I wanted to say that the "The action cannot be undone" message is weird, because you CAN undone flattening by the undo button.

Re: Wish: Flatten Folder

Posted: 25 Aug 2015 14:39
by admin
Yes sure, I removed it already. Thanks!

Re: Wish: Flatten Folder

Posted: 13 Sep 2015 20:20
by Papoulka
Still one inconsistency here, though very minor. If I flatten a folder which has only empty folders, nothing happens. The empty folders are not removed. In contrast, they are removed if other folders exist and have files.

I think to be technically correct and complete, empty folders should be removed even if they are the only items in the folder being flattened.

Thx

Re: Wish: Flatten Folder

Posted: 14 Sep 2015 09:26
by admin
Yes, fix comes.