{"action":"created","issue":{"url":"https://api.github.com/repos/mozilla/send/issues/735","repository_url":"https://api.github.com/repos/mozilla/send","labels_url":"https://api.github.com/repos/mozilla/send/issues/735/labels{/name}","comments_url":"https://api.github.com/repos/mozilla/send/issues/735/comments","events_url":"https://api.github.com/repos/mozilla/send/issues/735/events","html_url":"https://github.com/mozilla/send/issues/735","id":291597744,"number":735,"title":"[Intermittent]Download progress is not correctly displayed","user":{"login":"Softvision-CristinaBadescu","id":31244235,"avatar_url":"https://avatars0.githubusercontent.com/u/31244235?v=4","gravatar_id":"","url":"https://api.github.com/users/Softvision-CristinaBadescu","html_url":"https://github.com/Softvision-CristinaBadescu","followers_url":"https://api.github.com/users/Softvision-CristinaBadescu/followers","following_url":"https://api.github.com/users/Softvision-CristinaBadescu/following{/other_user}","gists_url":"https://api.github.com/users/Softvision-CristinaBadescu/gists{/gist_id}","starred_url":"https://api.github.com/users/Softvision-CristinaBadescu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Softvision-CristinaBadescu/subscriptions","organizations_url":"https://api.github.com/users/Softvision-CristinaBadescu/orgs","repos_url":"https://api.github.com/users/Softvision-CristinaBadescu/repos","events_url":"https://api.github.com/users/Softvision-CristinaBadescu/events{/privacy}","received_events_url":"https://api.github.com/users/Softvision-CristinaBadescu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/mozilla/send/milestones/18","html_url":"https://github.com/mozilla/send/milestone/18","labels_url":"https://api.github.com/repos/mozilla/send/milestones/18/labels","id":3054951,"number":18,"title":"Quarrelsome Quokka","description":"","creator":{"login":"wresuolc","id":16946141,"avatar_url":"https://avatars3.githubusercontent.com/u/16946141?v=4","gravatar_id":"","url":"https://api.github.com/users/wresuolc","html_url":"https://github.com/wresuolc","followers_url":"https://api.github.com/users/wresuolc/followers","following_url":"https://api.github.com/users/wresuolc/following{/other_user}","gists_url":"https://api.github.com/users/wresuolc/gists{/gist_id}","starred_url":"https://api.github.com/users/wresuolc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wresuolc/subscriptions","organizations_url":"https://api.github.com/users/wresuolc/orgs","repos_url":"https://api.github.com/users/wresuolc/repos","events_url":"https://api.github.com/users/wresuolc/events{/privacy}","received_events_url":"https://api.github.com/users/wresuolc/received_events","type":"User","site_admin":false},"open_issues":9,"closed_issues":1,"state":"open","created_at":"2018-01-22T18:39:43Z","updated_at":"2018-02-01T19:47:08Z","due_on":"2018-02-15T08:00:00Z","closed_at":null},"comments":6,"created_at":"2018-01-25T14:55:51Z","updated_at":"2018-02-02T02:10:14Z","closed_at":null,"author_association":"NONE","body":"[Notes]:\r\n- This issue is intermittent, you might need to repeat several times steps 3 & 4 to encounter it.\r\n- You can encounter this issue easier after changing the number of downloads, but it also occurs intermittently without making this change.\r\n- This issue is reproducible with large or small files.\r\n\r\n[Affected versions]:\r\n- Firefox  57.0.4 and up\r\n- Firefox Send dev server\r\n\r\n[Affected Platforms]:\r\n- All Windows\r\n- All Mac OS\r\n- All Linux\r\n\r\n[Steps to reproduce]:\r\n1. Open Nightly browser and navigate to https://send.dev.mozaws.net\r\n2. Upload a file and change the number of downloads.\r\n3. Copy the download link and access it.\r\n4. Click the \"Download\" button and observe the download progress.\r\n\r\n[Expected result]:\r\n- The download progress is correctly displayed.\r\n\r\n[Actual result]:\r\n- The download progress is not correctly displayed: it goes forward and only afterwards  comes back and continues its progress until the download is complete.\r\n\r\n[Additional notes]:\r\n- Here is a screen recording of this issue:\r\n![progress bar - send](https://user-images.githubusercontent.com/31244235/35394054-63f8f5aa-01ef-11e8-91fb-6a5359a0c2dc.gif)\r\n"},"comment":{"url":"https://api.github.com/repos/mozilla/send/issues/comments/362464033","html_url":"https://github.com/mozilla/send/issues/735#issuecomment-362464033","issue_url":"https://api.github.com/repos/mozilla/send/issues/735","id":362464033,"user":{"login":"himanish-star","id":30361728,"avatar_url":"https://avatars3.githubusercontent.com/u/30361728?v=4","gravatar_id":"","url":"https://api.github.com/users/himanish-star","html_url":"https://github.com/himanish-star","followers_url":"https://api.github.com/users/himanish-star/followers","following_url":"https://api.github.com/users/himanish-star/following{/other_user}","gists_url":"https://api.github.com/users/himanish-star/gists{/gist_id}","starred_url":"https://api.github.com/users/himanish-star/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/himanish-star/subscriptions","organizations_url":"https://api.github.com/users/himanish-star/orgs","repos_url":"https://api.github.com/users/himanish-star/repos","events_url":"https://api.github.com/users/himanish-star/events{/privacy}","received_events_url":"https://api.github.com/users/himanish-star/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T02:10:14Z","updated_at":"2018-02-02T02:10:14Z","author_association":"CONTRIBUTOR","body":"And one more thing I noticed was that initially the `event` which is received from `xhr.onprogress` had `event.loaded and event.total` as `12` which I have shown in this pic below and the same thing was also seen in all the downloads that I attempted. So shall I try and put a condition or something like that and try to fix it\r\n![screenshot from 2018-02-02 07-36-41](https://user-images.githubusercontent.com/30361728/35713180-ebc5e5b8-07eb-11e8-8b4e-cc8bc36fb627.png)\r\n"}}
{"actor":{"display_login":"himanish-star"}}