Closed Bug 1917543 Opened 5 months ago Closed 5 months ago

The "This Alt text was created automatically" label is displayed for an empty description if we are adding images to a pdf file after an update

Categories

(Firefox :: PDF Viewer, defect, P1)

Desktop
Unspecified
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr128 --- unaffected
firefox130 --- verified
firefox131 --- verified
firefox132 --- verified

People

(Reporter: rdoghi, Assigned: calixte)

References

(Blocks 1 open bug)

Details

Attachments

(4 files, 2 obsolete files)

Attached image 2024-09-09_10h58_47.png

Found in

  • 132.0a1 (2024-09-08)

Affected versions

  • 132.0a1 (2024-09-08)

Preconditions
pdfjs.enableAltText - true
pdfjs.enableUpdatedAddImage - true
browser.ml.enable - true

Affected platforms

  • windows

Steps to reproduce

  1. Launch an older version of Firefox Nightly
  2. Set the Prefs from the preconditions and Update the browser.
  3. Add a PDF file to the Firefox browser.
  4. Add an image to the PDF.

Expected result

  • The "This Alt text was created automatically" label should not be displayed if there is no text in the description field.

Actual result

  • The label is displayed while the Description field is empty.

Regression range
This issue does not occur in Beta but there is no way to get a regression range for this issue since it will always update to the latest version.

Priority: -- → P2
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Priority: P2 → P1

This patch contains an update of pdf.js where the following commits have been cherry-picked

  • 4aea51b5bffa6dcebbe80f44652bdc40a0fe853e
  • 6e4b7ee3f8618001414e1629a4ac876fb3322b82
Attachment #9423890 - Flags: approval-mozilla-beta?

This patch contains an update of pdf.js where the following commits have been cherry-picked

  • 4aea51b5bffa6dcebbe80f44652bdc40a0fe853e
  • 6e4b7ee3f8618001414e1629a4ac876fb3322b82

Original Revision: https://phabricator.services.mozilla.com/D221658

Attachment #9423891 - Flags: approval-mozilla-beta?
Attachment #9423891 - Attachment description: Bug 1917543 - Don't display the AI disclaimer when it's unnecessary in beta → Bug 1917543 - Don't display the AI disclaimer when adding an image in a pdf when it's unnecessary (beta)

The issue is also reproducible under these conditions:

enableUpdatedAddImage: true
enableAltText: false
browserMlEnable: false

The alt text disclaimer and toggle are visible (despite the two last prefs being set to false).

Attachment #9423890 - Attachment description: Bug 1917543 - Don't display the AI disclaimer when it's unnecessary → Bug 1917543 - Don't display the AI disclaimer when it's unnecessary r=#pdfjs-reviewers
Attachment #9424066 - Flags: approval-mozilla-beta?
Attachment #9423890 - Attachment is obsolete: true
Attachment #9423890 - Flags: approval-mozilla-beta?
Attachment #9424066 - Attachment is obsolete: true
Attachment #9424066 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Low
  • Code covered by automated testing: yes
  • Fix verified in Nightly: no
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: See the bugs mentioned in the commit message
  • Risk associated with taking this patch: low
  • Explanation of risk level: it's for an experiment
  • String changes made/needed: no
  • Is Android affected?: no
Flags: qe-verify+
Attachment #9423891 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

Verified as fixed in our Beta 131.0b5 and our latest Nightly build. This issue was fixed with Bug 1917686.
Should I update the Main status flag to fixed and then Verified ?

This patch contains an update of pdf.js where the following commits have been cherry-picked

  • 4aea51b5bffa6dcebbe80f44652bdc40a0fe853e (bug 1911764)
  • 6e4b7ee3f8618001414e1629a4ac876fb3322b82 (bug 1917543)
Attachment #9424238 - Flags: approval-mozilla-release?

release Uplift Approval Request

  • User impact if declined: Low
  • Code covered by automated testing: yes
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: See the bugs mentioned in the commit message
  • Risk associated with taking this patch: Low
  • Explanation of risk level: it's for an experiment
  • String changes made/needed: no
  • Is Android affected?: no
Flags: qe-verify+
Attachment #9424238 - Flags: approval-mozilla-release? → approval-mozilla-release+

This fix will be included in our planned 130 dot release, thanks.

This is verified as fixed in our latest Release 130.0.1 20240912074333

Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 5 months ago
Resolution: --- → FIXED

Updating the main status flag.

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

Attachment

General

Created:
Updated:
Size: