Closed Bug 1844618 Opened 2 years ago Closed 1 year ago

When dragging an image that has been added to a PDF, the drag preview is smaller than expected

Categories

(Firefox :: PDF Viewer, defect, P1)

defect

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: glob, Assigned: calixte)

References

Details

Attachments

(2 files)

On one of my screens when I drag an added image the preview is incorrectly sized (it's smaller than it should be). See attached screen recording.

On my other two screens the drag preview is correctly sized. All my screens are high DPI; the problematic screen is rotated 90°.

The problematic screen:

ASUS PB287Q:

  • Resolution: 2160 x 3840
  • UI Looks like: 1080 x 1920 @ 60.00Hz
  • Rotation: 90

No problems on this one:

DELL P2715Q:

  • Resolution: 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition)
  • UI Looks like: 1920 x 1080 @ 60.00Hz
  • Rotation: None

Other weirdness that might help:

  • If I add an image to a PDF and drag it around on the problematic screen, the drag size issue continues to happen on after moving the window to one of the other screens, even if I remove and re-add the image
  • If I add an image to a PDF and drag it around on a screen that doesn't show the problem, then move it to the problematic screen the issue occurs, however moving the window back to the original screen doesn't result in the incorrect size
Summary: When dragging an image that has been added to a PDF, the drag preview is half the expected size → When dragging an image that has been added to a PDF, the drag preview is smaller than expected
Blocks: 1846099
No longer blocks: pdf-js-edit

The severity field is not set for this bug.
:calixte, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(cdenizet)
Assignee: nobody → cdenizet
Severity: -- → S3
Status: NEW → ASSIGNED
Flags: needinfo?(cdenizet)
Priority: -- → P1

This is fixed, do you know what PDF.js update fixed it?

Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Flags: needinfo?(cdenizet)
Resolution: --- → FIXED

It has been fixed thanks to bug 1847076.

Flags: needinfo?(cdenizet)
Depends on: 1847076
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: