Wish: Flatten Folder

Features wanted...
LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Wish: Flatten Folder

Post 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.")
To see the attached files, you need to log into the forum.

hermhart
Posts: 246
Joined: 13 Jan 2015 18:41

Re: Wish: Flatten Folder

Post 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.
Windows 11 Pro; 100% scaling

admin
Site Admin
Posts: 66634
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wish: Flatten Folder

Post 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

admin
Site Admin
Posts: 66634
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wish: Flatten Folder

Post 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.

hermhart
Posts: 246
Joined: 13 Jan 2015 18:41

Re: Wish: Flatten Folder

Post 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.
Windows 11 Pro; 100% scaling

admin
Site Admin
Posts: 66634
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wish: Flatten Folder

Post by admin »

So, the undo works for everybody apart from LittleBig? Weird!

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Wish: Flatten Folder

Post 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.

admin
Site Admin
Posts: 66634
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wish: Flatten Folder

Post 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.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Wish: Flatten Folder

Post 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)
Last edited by LittleBiG on 25 Aug 2015 14:33, edited 1 time in total.

admin
Site Admin
Posts: 66634
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wish: Flatten Folder

Post by admin »

Aaah! Okay, true. I see if I can improve that.

LittleBiG
Posts: 1848
Joined: 08 Apr 2011 12:57
Location: Win10x64

Re: Wish: Flatten Folder

Post 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.

admin
Site Admin
Posts: 66634
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wish: Flatten Folder

Post by admin »

Yes sure, I removed it already. Thanks!

Papoulka
Posts: 455
Joined: 13 Jul 2013 23:41

Re: Wish: Flatten Folder

Post 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

admin
Site Admin
Posts: 66634
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Wish: Flatten Folder

Post by admin »

Yes, fix comes.

Post Reply