ouhouhsami / django-progressbarupload

Progress bar upload for Django
BSD 3-Clause "New" or "Revised" License
88 stars 67 forks source link

Works fine in Firefox, not in IE 10 or Chrome #2

Open ewoudenberg opened 11 years ago

ewoudenberg commented 11 years ago

Thank you for providing this. It's set up in a tidy package and easy to install.

I was previously using http://djangosnippets.org/snippets/678/ which also does not work in Chrome. I switched to this package hoping the <progress> tag would work in Chrome.

In Firefox, everything is fine, /progressbarupload/upload_progress is read repeatedly and the progress bar appears above the Save button, as expected.

In Chrome and IE10, the space for the progress bar does not appear above the Save button and the /progressbarupload URL is not read.

Firefox: image

Chrome: image

ouhouhsami commented 11 years ago

Well, thanks ewoudenberg, I'll try to fix this issue.

ewoudenberg commented 11 years ago

Thanks Ouhouhsami. My understanding of the Chrome/Webkit issue is that XMLHttpRequest blocks during the post carrying the upload data.

ouhouhsami commented 11 years ago

The pb seems to be explained here: http://stackoverflow.com/questions/16200409/ajax-form-upload-progress-bar I'd like to find a simpler solution.

ouhouhsami commented 11 years ago

So, for the moment I didn't find time to solve the problem. But, tests on Chrome show me that Chrome allready have a progress bar for upload around it window. Don't hesitate to make a PR with this problem solved ;)

ewoudenberg commented 11 years ago

Hi Samuel,

Yes, thank you. I am making do with the Chrome upload bar. However, a nice big centered upload bar that worked in every browser would be great. Don't worry about it though, eventually there will be a good universal solution.

Best wishes, Eric

On 5/17/2013 5:50 PM, samuel goldszmidt wrote:

So, for the moment I didn't find time to solve the problem. But, tests on Chrome show me that Chrome allready have a progress bar for upload around it window. Don't hesitate to make a PR with this problem solved ;)

— Reply to this email directly or view it on GitHub https://github.com/ouhouhsami/django-progressbarupload/issues/2#issuecomment-18048133.

Azd325 commented 11 years ago

What is the current state about this Issue?

ouhouhsami commented 11 years ago

Not for the moment, but if you want to contribute, don't hesitate !

Azd325 commented 11 years ago

Ok thanks,

I tried also the way with the iframe. In my opinion it's working but not really happy about this solution