ZIPs and inline rename

Hi there! o)

DO quits the inline rename mode for me, when renaming files in zip-files. Maybe that is of interest to you devs and ops? o)
DO behaves as if I had pressed after a filename has been entered, but I used cursor up/down to move on to another file.

Thanks!
tbone

I tried using the inline rename. I changed the file name (not ext) of a zip and then pressed up. The file name changed as expected, when I press back down it is still changed, and I'm still in inline rename mode.
That not what you are seeing.

I see what tbone describes, but it's happening because the zip file has to be modified to rename a file, which causes the current folder (the zip file) to be re-read.

That probably won't change, at least any time soon. We'd need to add a "batch rename" mode for archives to speed things up, but it's quite low down our priority list as it's pretty rare to rename a lot of things once they are already archived.

If you're renaming a lot of files in an archive, it's sometimes best to extract it, rename the files, then re-create it. Or, if it's just some of the files, move them out, rename them, then move them back in. Depending on the archive size and format, re-writing the whole archive for each renamed file can make things quite slow.

Makes sense, so it's by design more or less right now. No problem, just wanted to make sure things work as expected.
I think the last time I renamed several files at once in a ZIP was, well aehm, I cannot remember! o)

But why is it, that it's working different for you, wow? o)

Oh, when I did my test, I saw a progress dialog briefly when the archive was updated. It could be that the progress dialog taking focus is what ends the rename operation.

If wowbagger's archive updated more quickly than the delay before a progress dialog is shown (800ms by default, but can be changed in Preferences) then that probably explains why he didn't get kicked out of inline rename mode but we did. (In which case I was slightly wrong above, and it's not the zip file change causing the folder to be re-read.)

Plausible! I have that progress delay @ 300ms.

[quote="tbone"]
But why is it, that it's working different for you, wow? o)[/quote]

You're talking, I think, about renaming the individual files within a zip file.

wowbagger, I think, renamed the zip file itself.

@rc
Now that I read wowbaggers post again, that does indeed sound like he did..
Nice find! o)

@wow
Did you rename the zip, or something within the zip what's this thread about? o)

Yer I misunderstood your comment, Ignore me :slight_smile:.