Closed Bug 784638 Opened 13 years ago Closed 12 years ago

Downloaded files have the same names in Download Manager

Categories

(Firefox for Android Graveyard :: Download Manager, defect)

15 Branch
ARM
Android
defect
Not set
normal

Tracking

(firefox15 affected, firefox16 affected, firefox17 affected, fennec-)

RESOLVED WORKSFORME
Tracking Status
firefox15 --- affected
firefox16 --- affected
firefox17 --- affected
fennec - ---

People

(Reporter: paul.feher, Assigned: esawin)

Details

Firefox Mobile Native 15.0b6 build1 (2012-08-22) Device: HTC Desire Z (Android 3.1) Steps to reproduce: 1. Start the download of a larger file. For e.g. try the latest Nightly build (http://ftp.mozilla.org/pub/mozilla.org/mobile/nightly/latest-mozilla-central-android/). 2. Open the Download Manager. 3. Long tap on one of the files and from the Context Menu select Pause. 4. From the first tab try to download the same file for the second time. 5. After the download starts from the Download Manager resume the first download. Expected result: The files have different names in Download Manager and both are downloaded completely. Actual result: Both files have the same name in Download Manager and only one is actually downloaded. Furthermore my device (HTC Desire Z - Android 3.1) is unusable while the download is performed and the android notification bar displays only one progress bar in witch the percentage goes up and down not as it should be increased progressively.
tracking-fennec: --- → ?
We should use the target filename, the one that uses the unique filename. Desktop does that too.
Good mentor bug?
tracking-fennec: ? → -
Assignee: nobody → markcapella
Status: NEW → ASSIGNED
Hmmm ... playing with this ... desktop can be confused also in this situation ... 1) start first download of foo.ext, desktop creates foo.ext and foo.ext.part files 2) pause download, desktop removes foo.ext file, foo.ext.part still remains. 3) start second download of foo.ext, desktop creates foo.ext again and proceeds, foo.ext.part still remains. 4) pause second download, desktop removes foo.ext again, foo.ext.part still remains. 5) resume both downloads of foo.ext, only foo.ext.part exists @ this point, while progress meters run 6) First download to complete complains "The download cannot be saved because an unknown error occurred. Please try again." 7) Second one completes successfully, creates foo.ext, and removes foo.ext.part.
Dropping off ... haven't look at this in a while
Assignee: markcapella → nobody
Status: ASSIGNED → NEW
Cannot reproduce on Nexus S 2.3.6 and Nexus 7 4.4, results are as expected. Has been fixed by now?
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
Assignee: nobody → esawin
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.