Closed Bug 1854991 Opened 1 year ago Closed 1 year ago

Cannot easily change with the slider the font size in a text editor

Categories

(Firefox :: PDF Viewer, defect, P1)

Firefox 120
defect

Tracking

()

VERIFIED FIXED
120 Branch
Tracking Status
firefox-esr115 --- unaffected
firefox118 --- unaffected
firefox119 --- verified
firefox120 --- verified

People

(Reporter: calixte, Assigned: calixte)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

  • open a PDF;
  • add some text and commit;
  • try to change the font size in using the slider.

It's pretty hard to move the slider.
It's a regression from bug 1853478 and especially from:
https://github.com/mozilla/pdf.js/pull/16944

When the font size is changed, the editor has to change its position hence it has to be moved in the DOM which can be a bit slow and then blocks the main thread.
The DOM position doesn't have to be updated right now so we can slightly postpone this operation.

Severity: -- → S3
Priority: -- → P1
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 120 Branch

Verified as fixed on Firefox Nightly 120.0a1 (2023-09-28) and on Firefox 119.0b3 from treeherder (https://treeherder.mozilla.org/jobs?repo=mozilla-beta&revision=1a41a118193dc3ad19c04b3da34ba9f08b5f4b2e) on Windows 10/11 x64, Ubuntu 20.04 and on macOS 11.6.

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

Attachment

General

Created:
Updated:
Size: