Page 1 of 1

Rename folder bug

Posted: 25 Jan 2018 02:41
by Posix
I accidentally renamed folder (A) to name (B) that already existed in that folder. When i pressed Enter, wild Windows copy dialog appeared. It was the moment I knew I fukd up. I pressed No on first name conflict.
Almost all files moved from (A) to (B). Only few files remained in (A) folder (because i pressed No). So I moved files back to folder (A).

Both folders were git repositories and the problem is .git folder. I dont know which files I should move back to (A). .git folder is black box for me. So it seems i just lost (A) .git folder.
Fortunately (A) was new repository with few commits and if necessary, I can clone and restore (B) repository.

I think XYplorer shouldn't let such rename or should show some dialog just like Windows explorer.

Re: Rename folder bug

Posted: 25 Jan 2018 05:10
by highend
Which XY version,
which OS,
which "wild Windows dialog",
how was the rename invoked,
100% reproducible with a fresh XY instance?

Doesn't happen here on my system with the current XY beta,
I get a windows dialog asking me if I want to replace files in
the destination folder, skip them or choose for each file separately
immediately after trying to rename the folder...

Re: Rename folder bug

Posted: 25 Jan 2018 15:30
by Posix
XYplorer
  1. Before:
    before.png
    before.png (3.94 KiB) Viewed 1090 times
  2. Select folder A
  3. Press F2
  4. Change name to B
  5. Enter
  6. copy-dialog.png
    copy-dialog.png (8.81 KiB) Viewed 1090 times
  7. In dialog i skip all - i won't replace files
  8. Result (see B.txt which moved to B folder):
    after.png
    after.png (3.63 KiB) Viewed 1090 times

Windows Explorer
  1. Before:
    before.png
    before.png (3.94 KiB) Viewed 1090 times
  2. Press F2
  3. Change name to B
  4. Enter
  5. explorer.png
    explorer.png (20.54 KiB) Viewed 1090 times
  6. I press No and everything is OK
  7. Result:
    before.png
    before.png (3.94 KiB) Viewed 1090 times


Sorry for localized screenshot, I don't have english Windows.
So the problem is .git folder, because i don't know how to fix moved files.


XYplorer: 18.50.0100 (Pro Edition - Lifetime License Pro)
OS: Windows 10, 64-bit (10.0)

Re: Rename folder bug

Posted: 25 Jan 2018 15:38
by Posix
Hmm now I see in the dialog is third option to choose files. But when I saw dialog first time after i renamed folder. I clicked in panic on skip button. :(
Anyway i like Windows explorer aproach¨, but can live with current state