# When I drag photos after each other from Windows Explorer into Firefox, "Uploading..." is displayed multiple times

**URL:** https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712
**Category:** Bug
**Created:** [1 ביולי,‏ 2016,‏ 2:47pm UTC](https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712 "2016-07-01T14:47:03Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Stefan\_Fairphone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefan_fairphone/32/119580_2.png) [@Stefan\_Fairphone](https://meta.discourse.org/u/Stefan_Fairphone)
#### Post date: [1 ביולי,‏ 2016,‏ 2:47pm UTC](https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712/1 "2016-07-01T14:47:03Z")

</div>

Hey all, I couldn’t find a related topic, so I started a new one.

We are running **Discourse v1.6.0.beta9 +3** on the [Fairphone Forum](https://forum.fairphone.com). I was composing a post with multiple photos (~6MB each) and dragged them into post composer one after each other. They were uploaded correctly, but “Uploading…” appeared more then once per photo. Actually it appeared once for the first photo and then twice for the second, thrice for the third, etc. Luckily photos get uploaded only once, and not multiple times.

####Steps to reproduce

1. Start a new reply
2. Drag a photo from Windows Explorer into the composer
3. “Uploading…” appears
4. Drag another photo from Windows Explorer into composer
5. “Uploading…” appears twice, making it a total of three “Uploading…”
6. Repeat to your liking. “Uploading…” appearance goes up by one plus total number of uploading photos.

Here is a screenshot to illustrate the problem:

 ![](https://global.discourse-cdn.com/meta/original/3X/8/5/856a73e9800ff8ae856dc2f54bccf5f61748861c.png)

####My Specs

- Windows 7 SP1 64bit
- Firefox 47.0

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [1 ביולי,‏ 2016,‏ 7:23pm UTC](https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712/2 "2016-07-01T19:23:08Z")

</div>

So you are dragging images into the post before uploading is complete? The workaround is to drag them all at once, or wait until uploading is complete before dragging more in. Cc @zogstrip

---

<div class="post-metadata">

### Author: ![Stefan\_Fairphone](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stefan_fairphone/32/119580_2.png) [@Stefan\_Fairphone](https://meta.discourse.org/u/Stefan_Fairphone)
#### Post date: [2 ביולי,‏ 2016,‏ 1:21pm UTC](https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712/3 "2016-07-02T13:21:55Z")

</div>

Exactly! The workaround works well, but I thought I’d bring this up, as  
there is obviously something wrong in the code.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [2 ביולי,‏ 2016,‏ 4:09pm UTC](https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712/4 "2016-07-02T16:09:08Z")

</div>

I guess the solution would be to temporarily disable the input until the upload is complete?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [6 ביולי,‏ 2016,‏ 3:58pm UTC](https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712/5 "2016-07-06T15:58:57Z")

</div>

Thanks for reporting this issue with such a detailed reproduction steps 👍

I just pushed a fix 🍓

[https://github.com/discourse/discourse/commit/ee2780466ceef5160fe89a9d1f0d223b9f5ecf02](https://github.com/discourse/discourse/commit/ee2780466ceef5160fe89a9d1f0d223b9f5ecf02)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [7 ביולי,‏ 2016,‏ 3:59am UTC](https://meta.discourse.org/t/when-i-drag-photos-after-each-other-from-windows-explorer-into-firefox-uploading-is-displayed-multiple-times/46712/6 "2016-07-07T03:59:03Z")

</div>

This topic was automatically closed after 12 hours. New replies are no longer allowed.
