Closed Bug 1792422 Opened 2 years ago Closed 2 years ago

Dragging a PDF page while the Hand Tool and Draw tool are active will draw lines on the page

Categories

(Firefox :: PDF Viewer, defect, P1)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr102 --- disabled
firefox105 --- disabled
firefox106 --- wontfix
firefox107 --- verified

People

(Reporter: atrif, Assigned: Snuffleupagus)

References

(Regression)

Details

(Keywords: regression, Whiteboard: [pdf-editing])

Attachments

(2 files, 1 obsolete file)

Attached image PDF_tools.gif

Found in

  • 106.0b4 (20220925185751)

Affected versions

  • 106.0b4 (20220925185751)
  • 107.0a1 (20220925213821)

Tested platforms

  • Affected platforms: Windows 10x64, macOS 11, Ubuntu 21.04, Windows 7x64
  • Unnafected platforms: none

Steps to reproduce

  1. Open a random PDF (http://www.pdf995.com/samples/pdf.pdf) and select the Draw tool from the PDF toolbar.
  2. Open Tools menu and select Hand Tool.
  3. Drag the page up and down.

Expected result

  • No lines are drawn when dragging the page.

Actual result

  • Dragging the page will also draw lines on the PDF page.

Regression range

  • Will search for one ASAP if there is one.

Additional notes

  • Attached a screen recording.
Has STR: --- → yes
QA Whiteboard: [qa-regression-triage]

This seems to be a regression.

3:59.31 INFO: Last good revision: c9960e3f58b790c0d52a52f3d31240360258b655
3:59.31 INFO: First bad revision: 0f68aa34cac6679474e01aeb98449963214baa58
3:59.31 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=c9960e3f58b790c0d52a52f3d31240360258b655&tochange=0f68aa34cac6679474e01aeb98449963214baa58

Possible cause: Bug 1780839

Calixte, when you have time, can you please take a look! Thanks!

QA Whiteboard: [qa-regression-triage]
Flags: needinfo?(cdenizet)
Regressed by: 1780839

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

Assignee: nobody → cdenizet
Status: NEW → ASSIGNED
Flags: needinfo?(cdenizet)
Priority: -- → P1
Whiteboard: [pdf-editing]

Given that the HandTool doesn't really make sense during editing, it seems to me that the overall easiest solution probably is to temporarily disable it while editing is active (similar to how PresentationMode has always disabled it).

Attachment #9296533 - Attachment is obsolete: true
Assignee: cdenizet → jonas.jenwald
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED

Verified fixed with Firefox 107.0a1 (20221011160345) on Windows 10x64, macOS 12.3 and Ubuntu 20.04. The Hand Tool cannot be used if the draw tool is active.

Status: RESOLVED → VERIFIED

Ryan, PDF editing is enabled on 106. I'm marking this as wontfix though, given that the severity is low there's no need to worry.

No longer depends on: 1922179
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: