Closed Bug 1886959 Opened 6 months ago Closed 6 months ago

Undo functionality stops working after Deleting a Highlight in a PDF file

Categories

(Firefox :: PDF Viewer, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
126 Branch
Tracking Status
firefox-esr115 --- disabled
firefox124 --- disabled
firefox125 --- verified
firefox126 --- verified

People

(Reporter: rdoghi, Assigned: calixte)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Found in

  • 126.0a1 (2024-03-21)

Affected versions

  • 126.0a1 (2024-03-21)
  • Beta 125.0b3

Affected platforms

  • ALL

Preconditions:
pdfjs.enableHighlightEditor - true
pdfjs.enableHighlightFloatingButton - true

Steps to reproduce

  1. Have a PDF opened in Firefox.
  2. Highlight any text.
  3. Delete the Highlight.
  4. Hit Ctrl + Z on the keyboard or Right Click > Undo

Expected result

  • The Highlight should be displayed again.

Actual result

  • Undo stops working after we delete a Highlight.

Regression range
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=e0d1a1dbfd5c36a2527b566ff831a989ca5ae5f5&tochange=5804e635dd1e6f9bac06c845381fc1e3c434e72e

:calixte, since you are the author of the regressor, bug 1885306, could you take a look?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)
Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Flags: needinfo?(cdenizet)
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch

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

  • If yes, please nominate the patch for beta approval.
  • If no, please set status-firefox125 to wontfix.

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)

This is Verified as fixed in our latest Nightly build 126.0a1 (2024-03-28).

Depends on: 1889118
Flags: needinfo?(cdenizet)

Verified as fixed in our latest Beta 125.0b8.

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

Attachment

General

Created:
Updated:
Size: