Skip to content
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

Double copy of files from clipboard when moving them #3940

Closed
vahidmas opened this issue Jan 31, 2023 · 1 comment · Fixed by #4009
Closed

Double copy of files from clipboard when moving them #3940

vahidmas opened this issue Jan 31, 2023 · 1 comment · Fixed by #4009

Comments

@vahidmas
Copy link

Observed behavior

When the Studio server is "slow", it is possible to click "Move Here" twice, resulting in double copies of the resources into the destined folder.

Expected behavior

Especially if I am moving the resource, I am not needed to make extra copies of the resources. I expect to click once, and if I re-click by mistake, the server would not consider further clicking.

User-facing consequences

This adds cleanup tasks to the user.

Errors and logs

Additional information

I have seen that behavior only when the "server is slow". I have yet to test when things are normal.

Steps to reproduce the issue

  1. add content to the clipboard
  2. select content + Move
  3. once the desired folder has been selected, click on Move Here twice (maybe more would be accepted by the system?)

Usage Details

  • OS: Windows 11
  • Browser: Firefox
  • URL:
  • Other information that may be relevant:
@bjester
Copy link
Member

bjester commented Mar 9, 2023

We should prevent the double submit by disabling the button after the first click.

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

Successfully merging a pull request may close this issue.

3 participants