Closed
Bug 1207168
Opened 9 years ago
Closed 9 years ago
[Page Info] Save As (download) doesn't work when two or more media files are selected at the same time
Categories
(Firefox :: Page Info Window, defect)
Tracking
()
VERIFIED
FIXED
Firefox 46
People
(Reporter: magicp.jp, Assigned: emk)
References
Details
(Keywords: regression)
Attachments
(3 files)
18.02 KB,
image/png
|
Details | |
72.93 KB,
image/png
|
Details | |
1.26 KB,
patch
|
florian
:
review+
Sylvestre
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0 Build ID: 20150921073455 Steps to reproduce: 1. Run Firefox 42.0b1 and later 2. Open about:home 3. View Page Info 4. Select "Media" tab 5. Click "Select All" button 6. Click "Save As" button 7. Select a folder to save the images (e.g. downloads folder) Actual results: Save As (download) doesn't work when two or more media files are selected at the same time in the Page Info. Expected results: The images are saved to selected folder.
Component: Untriaged → Page Info Window
OS: Unspecified → All
Hardware: Unspecified → All
Reproduced on (Win7_64, Nightly 44, 32bit, ID 20151003030225). Don't know if there's a dupe though.
Status: UNCONFIRMED → NEW
status-firefox41:
--- → unaffected
status-firefox42:
--- → affected
status-firefox43:
--- → affected
status-firefox44:
--- → affected
Ever confirmed: true
Keywords: regression,
regressionwindow-wanted
OS: All → Unspecified
Hardware: All → Unspecified
Whiteboard: [dupeme]
Version: 44 Branch → 42 Branch
If this bug was fixed, another bug may occur in Firefox 42 and later version. Because Firefox 41 has a bug with the same steps. See Also: Bug 1211243
Comment 4•9 years ago
|
||
Regression window: https://hg.mozilla.org/integration/fx-team/pushloghtml?fromchange=04144901baf6&tochange=b32f21db299c Regressed by: b32f21db299c Jimmy Wang — Bug 1040947 - Opening page info from a remote tab is sluggish. r=florian
Blocks: 1040947
Keywords: regressionwindow-wanted
Any update? Jimmy, as your bug 1040947 is the cause of this regression and if you doesn't work anymore on Page Info, could you needinfo someone in charge of this component, please.
Flags: needinfo?(jimmyw22)
Comment 7•9 years ago
|
||
Hi Loic, I have needinfo'ed florian. I can also take a look and work on this Friday after most of my exams if florian hasn't already worked on it. Thanks
Flags: needinfo?(jimmyw22) → needinfo?(florian)
Comment 8•9 years ago
|
||
is this bug fixed in Firefox 43.0.1 ??? has any one tested ??
(In reply to Sandip Dedhia from comment #8) > is this bug fixed in Firefox 43.0.1 ??? has any one tested ?? Yes we did, and no, it's not fixed. You can usually tell that by "Tracking Flags". It says "status-firefox43: affected"
status-firefox46:
--- → affected
Whiteboard: [dupeme]
Updated•9 years ago
|
status-firefox-esr45:
--- → ?
Assignee | ||
Comment 10•9 years ago
|
||
Indeed saveMedia() will pass aInitiatingDocument == null if multiple media files are selected: https://mxr.mozilla.org/mozilla-central/source/browser/base/content/pageinfo/pageInfo.js?rev=f4ce7427347e&mark=750-751#750
Assignee | ||
Comment 11•9 years ago
|
||
aIsContentWindowPrivate is 13th argument, but the caller in pageInfo.js passes it in 11th argument.
Assignee | ||
Comment 12•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ac0e0d4be50b
Assignee | ||
Comment 13•9 years ago
|
||
(In reply to magicp from comment #3) > If this bug was fixed, another bug may occur in Firefox 42 and later > version. Because Firefox 41 has a bug with the same steps. I could also not reproduce bug 1211243 with the patched build. Alice0775, magicp, could you verify with either of the following builds? Win32: https://archive.mozilla.org/pub/firefox/try-builds/VYV03354@nifty.ne.jp-e68519e13b09becee2bb7493177bc43a9affebac/try-win32/firefox-46.0a1.en-US.win32.installer.exe Win64: https://archive.mozilla.org/pub/firefox/try-builds/VYV03354@nifty.ne.jp-e68519e13b09becee2bb7493177bc43a9affebac/try-win64/firefox-46.0a1.en-US.win64.installer.exe
Flags: needinfo?(magicp.jp)
Flags: needinfo?(alice0775)
Comment 14•9 years ago
|
||
I can still reproduce bug 1211243 on the try build. https://hg.mozilla.org/try/rev/e68519e13b09becee2bb7493177bc43a9affebac Mozilla/5.0 (Windows NT 6.3; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 ID:20160118141314
Flags: needinfo?(alice0775)
Comment 15•9 years ago
|
||
(In reply to Masatoshi Kimura [:emk] from comment #13) > (In reply to magicp from comment #3) > > If this bug was fixed, another bug may occur in Firefox 42 and later > > version. Because Firefox 41 has a bug with the same steps. > > I could also not reproduce bug 1211243 with the patched build. Alice0775, > magicp, could you verify with either of the following builds? > Win32: > https://archive.mozilla.org/pub/firefox/try-builds/VYV03354@nifty.ne.jp- > e68519e13b09becee2bb7493177bc43a9affebac/try-win32/firefox-46.0a1.en-US. > win32.installer.exe > Win64: > https://archive.mozilla.org/pub/firefox/try-builds/VYV03354@nifty.ne.jp- > e68519e13b09becee2bb7493177bc43a9affebac/try-win64/firefox-46.0a1.en-US. > win64.installer.exe Fixed for me with both 32b/64b builds.
Reporter | ||
Comment 16•9 years ago
|
||
Me too. Please refer to attached image.
Flags: needinfo?(magicp.jp)
Reporter | ||
Comment 17•9 years ago
|
||
(In reply to magicp from comment #16) > Me too. Please refer to attached image. ^ I can still reproduce in Win32/64
Assignee | ||
Comment 18•9 years ago
|
||
Attachment #8709911 -
Flags: review?(florian)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → VYV03354
Status: NEW → ASSIGNED
Comment 19•9 years ago
|
||
Comment on attachment 8709911 [details] [diff] [review] Fix internalSave() arguments in pageInfo.js Review of attachment 8709911 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for fixing this, and sorry for missing it during the review of bug 1040947. I wish this was covered by tests.
Attachment #8709911 -
Flags: review?(florian) → review+
Assignee | ||
Comment 20•9 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/f0346772141fb5cf69442a6bc0a3e47e0bee05da Bug 1207168 - Fix internalSave() arguments in pageInfo.js. r=florian
Comment 21•9 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f0346772141f
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 46
Comment 22•9 years ago
|
||
As it's a very old feature broken recently, could we have that fixed for 45 ESR?
Assignee | ||
Comment 23•9 years ago
|
||
Comment on attachment 8709911 [details] [diff] [review] Fix internalSave() arguments in pageInfo.js Approval Request Comment [Feature/regressing bug #]: bug 1040947 [User impact if declined]: Save as from page info may fail and it will frustrate user. [Describe test coverage new/current, TreeHerder]: Baked on m-c and manually tested [Risks and why]: Very low, only fix the wrong function arguments. But please approve this only if bug 1211243 is also approved. Otherwise this may cause dataloss. [String/UUID change made/needed]: none
Attachment #8709911 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 24•9 years ago
|
||
Comment on attachment 8709911 [details] [diff] [review] Fix internalSave() arguments in pageInfo.js Sorry, this is already in 46 (currently aurora). Approval Request Comment: See the above comment.
Attachment #8709911 -
Flags: approval-mozilla-aurora? → approval-mozilla-beta?
Updated•9 years ago
|
Flags: needinfo?(florian)
Updated•9 years ago
|
Comment 25•9 years ago
|
||
Comment on attachment 8709911 [details] [diff] [review] Fix internalSave() arguments in pageInfo.js Fix a regression, taking it. Should be in 45 beta 2.
Attachment #8709911 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Comment 26•9 years ago
|
||
bugherder uplift |
https://hg.mozilla.org/releases/mozilla-beta/rev/10994f5a9532
Updated•9 years ago
|
QA Whiteboard: [good first verify]
Reporter | ||
Comment 27•9 years ago
|
||
In case of selecting two or more data URLs which are same type (e.g. Background), downloading files are overwritten to one file.
Assignee | ||
Comment 28•9 years ago
|
||
Oops, probably because uniqueFile() will not work if the file does not already exist on the disk. But it should prevent Download Manager from removing existing read-only files, at least.
Comment 29•8 years ago
|
||
I have reproduced this bug with Firefox aurora 42.0a2 (build id:20150921073455)on windows 7(64 bit) I have verified as fixed this bug with Firefox beta 45.0b3(build id:20160204142810) Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 [testday-20160205]
Comment 30•8 years ago
|
||
Successfully Reproduced this bug with Firefox Nightly 44.0a1 (2015-09-22) ; (Build ID: 20150922030204) on Linux, 64 Bit with the instructions from comment 0 This Bug is now verified as fixed on Latest Firefox Beta 45.0b7 (Build ID: 20160218171844) User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 and Latest Firefox Developer Edition 46.0a2 (2016-02-23) ; (Build ID: 20160223004110) User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:46.0) Gecko/20100101 Firefox/46.0
QA Whiteboard: [good first verify] → [good first verify][bugday-20160224]
Updated•8 years ago
|
Comment 31•8 years ago
|
||
Reproduced the bug in firefox nightly 44.0a1 (2015-09-22) with windows 10 (64 bit) Verified as fixed with latest firefox beta 45.0b9 (Build ID: 20160223142613) Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:45.0) Gecko/20100101 Firefox/45.0 and latest firefox aurora 46.0a2 (Build ID: 20160303004038) Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0
QA Whiteboard: [good first verify][bugday-20160224] → [good first verify][bugday-20160224][testday-20160304]
Comment 32•8 years ago
|
||
Reproduced the bug in Firefox stable 44.0.2 in Debian 8 GNU/Linux 64 bit Verified as fixed in Firefox ESR 45 in Debian 8 GNU/Linux 64 bit
Status: RESOLVED → VERIFIED
QA Whiteboard: [good first verify][bugday-20160224][testday-20160304] → [good first verify][bugday-20160224][testday-20160304][bugday-20160316]
You need to log in
before you can comment on or make changes to this bug.
Description
•