DevTools screenshot and Firefox screenshots are saved in different locations
Categories
(DevTools :: General, task)
Tracking
(firefox127 fixed)
| Tracking | Status | |
|---|---|---|
| firefox127 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
Attachments
(1 file)
After Bug 1072345, DevTools will attempt to save screenshots (eg node screenshots) in the "screenshots" directory provided by the platform (Services.dirsvc.get("Scrnshts", Ci.nsIFile)).
In practice, for macos it means we save in Pictures instead of Downloads previously.
However the main Firefox screenshot feature (right click on page > take screenshot) saves screenshots under Downloads for the same scenario.
Should we align the two? And if we think the Downloads location makes more sense, I'm not against reverting the DevTools change, but I just think we should have a consistent behavior here.
| Assignee | ||
Comment 1•2 years ago
|
||
Sam, as owner of the Screenshots component, do you have an opinion on this question?
Comment 2•2 years ago
|
||
(we have another bug for this in which Sam provided feedback, I'm trying to find it)
Comment 3•2 years ago
|
||
(In reply to Nicolas Chevobbe [:nchevobbe] from comment #2)
(we have another bug for this in which Sam provided feedback, I'm trying to find it)
This was bug 1838053
| Assignee | ||
Comment 4•2 years ago
|
||
Ah thanks, I couldn't find any duplicate. So I guess we can block on Bug 1839949, and once that's implemented, use this value as the screenshot location.
| Assignee | ||
Comment 5•2 years ago
|
||
Moving back to triage.
Changing the default folder to the OS Image folder was intentional because we are not "downloading" anything in terms of network activity, but the whole UX makes the user feel like there is a download happening. Mostly it shows the file in the download popup of the browser.
I think the rationale to keep the Downloads folder for the Firefox screenshot feature also applies here:
we actually call the browser.downloads extension API to "download" the file, which triggers the download animation and highlight on the download toolbar button.
Based on this, users will continue to expect the images to show up in the Download folder, and not in the Pictures folder.
We should consider reverting this.
| Assignee | ||
Comment 6•2 years ago
|
||
As mentioned by :zcorpan on Slack, macos' built in screenshot feature saves to Desktop by default. I still feel like Downloads makes more sense based on the rationale above, and ultimately users should be able to set a custom folder via Bug 1838053.
Comment 7•1 year ago
|
||
In triage, we agreed to revert the change and save them to the downloads folder to be consistent with Firefox screenshot.
| Assignee | ||
Comment 8•1 year ago
|
||
Revert the DevTools bits from Bug 1072345 to be consistent with the Screenshots feature from Firefox.
Updated•1 year ago
|
Comment 10•1 year ago
|
||
| bugherder | ||
Updated•7 months ago
|
Description
•