Open Bug 1783226 Opened 4 years ago Updated 3 years ago

Screenshot fails to download when "Always ask you where to save files" is not checked

Categories

(Firefox :: Screenshots, defect, P3)

x86_64
Unspecified
defect

Tracking

()

People

(Reporter: niklas, Unassigned)

Details

STR:

  1. Make sure Always ask you where to save files is not checked in about:preferences
  2. Navigate to https://www.amazon.com.au/Jiusion-2560x1440P-Microscope-Cellphone-Magnification/dp/B09653SCG6/ and take a screenshot
  3. Download the screenshot

ER: the screenshot should download

AR: the download fails

If Always ask you where to save files is checked then the download will complete successfully.

Thanks for this report. This seems to only reproduce on windows. The filename we get following those STR is "Screenshot 2022-08-10 at 10-03-42 Jiusion 2K HD 2560x1440P USB Digital Microscope for Android Cellphone and Tablet Windows Mac Linux 40X to 1000X Magnification Endoscope Handheld Mini Magnifier Camera for Coin Facial Skin Scalp Amazon.com.au.png" which seems to be bypassing the filename truncation we normally do to create a saveable file on all platforms.

Severity: -- → S3
Priority: -- → P3
Hardware: Unspecified → x86_64

(In reply to Sam Foster [:sfoster] (he/him) from comment #1)

... which seems to be bypassing the filename truncation we normally do to create a saveable file on all platforms.
That seems not to be the case. We take measures to ensure the filename isn't more than 255 bytes, and that filename doesn't exceed the limit. However, its possible might still be running into pathname length limits once this filename is joined with the download directory path. Or, this isn't a filename/pathname length issue at all.

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