Make WordPress Core

Opened 11 years ago

Last modified 6 months ago

#22894 reopened enhancement

Need WordPress Media Uploader Stop or Cancel Button in WP Version 3.5

Reported by: onetarek's profile onetarek Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.5
Component: Media Keywords: needs-patch phase-3-media-triage
Focuses: ui Cc:


Today I was testing the new media uploader of WP 3.5 from post editor by clicking 'Add Media'. I clicked 'upload files' and I choose a big file from my computer by a mistake. But I did not want to upload that file. Then I wanted to cancel the uploading, but there is no stop or cancel button . Then I close the popup window and open again by clicking 'Add Media' button. I see the previous file is being uploaded yet. I choose another small file and both files upload are running.

Change History (14)

#1 @ocean90
11 years ago

  • Keywords ui-feedback added; needs-testing removed
  • Type changed from feature request to enhancement

#2 @SergeyBiryukov
11 years ago

There's no way to cancel the currently uploading file from JS. See the discussion in #19050.

#3 @SergeyBiryukov
11 years ago

Related/duplicate: #7634

#4 @SergeyBiryukov
11 years ago

#24569 was marked as a duplicate.

#5 @mark-k
11 years ago

Maybe just add a notification if it is a big upload. Something like "Uploading these file(s) will probably take more then a minute, are you sure you want to upload them?". Maybe use the hearbeat test to estimate the actual upload speed to make an educated guess.

#6 @ericlewis
10 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

This is duplicate of #19050 as @SergeyBiryukov said earlier. The UI gives realtime progress on the upload, and if you upload by mistake you'll just have to delete the files after they're uploaded. By not offering UI to cancel the upload, we're implicitly telling users you can't cancel it, so I don't think more explicit detail needs to be stated that you can't cancel the upload.

Any follow-up discussion should go on #19050.

#7 @ericlewis
10 years ago

  • Focuses ui added
  • Keywords ui-feedback removed

#8 @DrewAPicture
10 years ago

  • Milestone Awaiting Review deleted

#9 @mark-k
10 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Just because 3 years ago it wasn't possible doesn't mean that it should not be handled now. This is a real problem when you are uploading by mistake big files from metered or very slow connections.

Right now the only way to stop the upload is by closing the tab or browser, and both methods are not obvious (especially on smartphones/tablets) and not very user friendly.

#10 follow-up: @SergeyBiryukov
10 years ago

  • Milestone set to Awaiting Review

#19050 was closed on a completed milestone, so it's OK to continue the discussion here.

However, I don't think anything has changed since then, we still use the same uploader.

#11 in reply to: ↑ 10 @mark-k
10 years ago

Replying to SergeyBiryukov:

However, I don't think anything has changed since then, we still use the same uploader.

Totally possible that it is still impossible to cancel uploads,but even if it is impossible I think that some kind of alert should be issued if the network condition is not good enough to finish the upload in reasonable time. Even on desktops with a drag&drop interface it is too easy to start an upload of a huge file by mistake.

#12 @chriscct7
8 years ago

  • Keywords needs-patch added

#13 @thisisbbc
8 years ago

Just wanted to express our interest in such a feature. Keeping our fingers crossed!

#14 @joedolson
6 months ago

  • Keywords phase-3-media-triage added
Note: See TracTickets for help on using tickets.