Rename folder bug

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

:info: Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
Posix
Posts: 23
Joined: 17 Aug 2017 14:23

Rename folder bug

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

highend
Posts: 15016
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Rename folder bug

Post 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...
One of my scripts helped you out? Please donate via Paypal

Posix
Posts: 23
Joined: 17 Aug 2017 14:23

Re: Rename folder bug

Post by Posix »

XYplorer
  1. Before:
    before.png
  2. Select folder A
  3. Press F2
  4. Change name to B
  5. Enter
  6. copy-dialog.png
  7. In dialog i skip all - i won't replace files
  8. Result (see B.txt which moved to B folder):
    after.png

Windows Explorer
  1. Before:
    before.png
  2. Press F2
  3. Change name to B
  4. Enter
  5. explorer.png
  6. I press No and everything is OK
  7. Result:
    before.png


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

Posix
Posts: 23
Joined: 17 Aug 2017 14:23

Re: Rename folder bug

Post 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

Post Reply