Last modified: 2013-02-03 04:26:21 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T45007, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43007 - When uploading multiple files "x seconds remaining" text flickers
When uploading multiple files "x seconds remaining" text flickers
Status: RESOLVED DUPLICATE of bug 37302
Product: MediaWiki extensions
Classification: Unclassified
UploadWizard (Other open bugs)
master
All All
: Normal trivial (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-12 13:56 UTC by Željko Filipin
Modified: 2013-02-03 04:26 UTC (History)
4 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
video demonstrating the bug (185.90 KB, video/quicktime)
2012-12-12 13:56 UTC, Željko Filipin
Details

Description Željko Filipin 2012-12-12 13:56:46 UTC
Created attachment 11493 [details]
video demonstrating the bug

- upload two or more files (files should be big enough so each of them needs at least a few seconds to upload)
- "x" in "x seconds remaining" changes multiple times per second showing information for each file (I guess)
- it is not useful at all, since it changes from for example 1-2 to 10-11 several times per second
Comment 1 Nischay Nahata 2012-12-12 16:54:32 UTC
Happens on Windows too.. marking all platforms.
Somewhat similar to what happended when copying a file in WinXP :D
Comment 2 Nischay Nahata 2013-02-01 16:39:27 UTC
Finally debugged this.

Upload Wizard is apparently firing the GroupProgressBar again and again for each file, each time it does so it has a different number of files ready to be uploaded (that goes in increasing order as more and more files are added). This shouldn't be the desired behavior, instead UW should first gather all the files and upload them together and call GroupProgressBar only once.

To clearly see the issue one can just add 
console.log(_this.uploads.length);
in start() of mw.GroupProgressBar.js
Comment 3 Nischay Nahata 2013-02-03 04:26:21 UTC

*** This bug has been marked as a duplicate of bug 37302 ***

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links