django-progressbarupload icon indicating copy to clipboard operation
django-progressbarupload copied to clipboard

Works fine in Firefox, not in IE 10 or Chrome

Open ewoudenberg opened this issue 11 years ago • 8 comments

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

ewoudenberg avatar May 01 '13 12:05 ewoudenberg

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

ouhouhsami avatar May 01 '13 13:05 ouhouhsami

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

ewoudenberg avatar May 02 '13 03:05 ewoudenberg

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 avatar May 06 '13 19:05 ouhouhsami

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 ;)

ouhouhsami avatar May 17 '13 07:05 ouhouhsami

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.

ewoudenberg avatar May 17 '13 09:05 ewoudenberg

What is the current state about this Issue?

Azd325 avatar Sep 11 '13 09:09 Azd325

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

ouhouhsami avatar Sep 11 '13 20:09 ouhouhsami

Ok thanks,

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

Azd325 avatar Sep 12 '13 08:09 Azd325