Skip to content

Dragging and Dropping Files from Uppy Uploader into Itself Re-adds the Same File with a Different Name on Windows #5716

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
2 tasks done
krysten7 opened this issue Apr 9, 2025 · 1 comment
Labels

Comments

@krysten7
Copy link

krysten7 commented Apr 9, 2025

Initial checklist

  • I understand this is a bug report and questions should be posted in the Community Forum
  • I searched issues and couldn’t find anything (or linked relevant results below)

Link to runnable example

No response

Steps to reproduce

  1. Open a project or application that uses the Uppy.io uploader on a Windows machine.
  2. Add a file to the uploader by selecting it from your file system.
  3. Once the file is added to the uploader, click and drag the file from the uploader interface itself.
  4. Drop the dragged file back into the uploader interface.
  5. Observe the behavior: the same file is re-added to the uploader with a different name.

Expected behavior

The uploader should recognize that the file being dragged and dropped is already present in the uploader. It should prevent the file from being re-added, ensuring that duplicate files are not allowed.

Actual behavior

When a file is dragged from the uploader interface and dropped back into the uploader, the same file is re-added to the list. However, the file is assigned a different name, creating duplicates in the uploader. This behavior is inconsistent with the expected functionality and can lead to confusion or errors, especially in scenarios where duplicate files are not allowed.

Image

@krysten7 krysten7 added the Bug label Apr 9, 2025
@Murderlon
Copy link
Member

This was solved in #5650, are you on the latest version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants