Closed Bug 1973142 Opened 2 months ago Closed 2 months ago

Save to PDF shows dialog to save a zero byte file

Categories

(Firefox for Android :: Downloads, defect)

Firefox 141
All
Android
defect

Tracking

()

VERIFIED FIXED
142 Branch
Tracking Status
firefox140 --- wontfix
firefox141 --- wontfix
firefox142 --- verified

People

(Reporter: jonalmeida, Assigned: giorga)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [fxdroid] [group4])

Attachments

(4 files)

Steps to reproduce

  1. Navigate to duck.com
  2. Open the menu and choose 'Save to PDF' (or via the share icon).
  3. Observe the dialog.

Expected behaviour

  • The dialog should have no mention of file size if it's not possible to determine it.

Actual behaviour

  • The dialog shows a size of 0 bytes instead. See screenshot.

Device information

  • Firefox version: 141.0a1-20250616214059
  • Android device model: Pixel 8a
  • Android OS version: Android 16

Any additional information?

n/a

This is likely a regression from Bug 1962682, when we switched from a bottom sheet to an alert dialog. I also attached a screenshot of how the original bottom sheet displayed this kind of scenario - the file size is not shown as mentioned in the expected behaviour.

Severity: -- → S3
Keywords: regression
Regressed by: 1962682
Whiteboard: [fxdroid] [group4]

:giorga, since you are the author of the regressor, bug 1962682, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(giorga)
Assignee: nobody → giorga
Flags: needinfo?(giorga)
Pushed by giorga@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/7e8e43182965 https://hg.mozilla.org/integration/autoland/rev/fb49e4eae195 Save dialog should have no mention of file size if it's not possible to determine it. r=android-reviewers,npoon,android-l10n-reviewers,delphine
Status: NEW → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch

Set release status flags based on info from the regressing bug 1962682

The patch landed in nightly and beta is affected.
:giorga, is this bug important enough to require an uplift?

For more information, please visit BugBot documentation.

Flags: needinfo?(giorga)
Flags: needinfo?(giorga)
Flags: qe-verify+

Verified as fixed on the latest Nightly 142.0a1 from 5.07.2025 with Poco M4 Pro (Android 12).

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: