AmazeFileManager icon indicating copy to clipboard operation
AmazeFileManager copied to clipboard

Unreasonable 'File with the same name already exists' prompt appears when renaming a folder without changes

Open SoapOperaTester opened this issue 1 year ago • 1 comments

Describe the bug The prompt 'File with the same name already exists' appears when attempting to rename a folder without making any changes.

To Reproduce Steps to reproduce the behavior:

  1. Click on 'Three-dot‘ icon to edit a folder
  2. Click on the 'Rename' button
  3. Click on the 'SAVE' button without modifying the folder name

Expected behavior Recognize that no changes were made and avoid displaying the 'File with the same name already exists' prompt, or Disable the 'SAVE' button if the name remains unchanged.

Screen Recording

https://github.com/user-attachments/assets/33513487-83cd-4981-a2fd-a1b3702a7e62

Smartphone (please complete the following information):

  • Device: [Google Pixel 5]
  • OS: [Android 14]
  • Rooted: [No]
  • Version: [3.10]

SoapOperaTester avatar Jan 06 '25 15:01 SoapOperaTester

Solution to this is adding a check on the popup similar to file creation ones:

Image

And making the button disabled.

EmmanuelMess avatar Feb 09 '25 16:02 EmmanuelMess