Open Bug 1597054 Opened 5 years ago Updated 2 years ago

Looking up words (three finger tap) in Firefox PDF Viewer does not work correctly on MacOS

Categories

(Firefox :: PDF Viewer, defect, P4)

Unspecified
macOS
defect

Tracking

()

Tracking Status
firefox70 --- affected
firefox71 --- affected
firefox72 --- affected

People

(Reporter: sheelgautam995, Unassigned)

Details

(Whiteboard: [pdfjs-ux][pdfjs-text-selection])

Attachments

(1 file)

Attached video Recording.m4v

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:70.0) Gecko/20100101 Firefox/70.0

Steps to reproduce:

MacOS allows three finger tap to look up meaning of words.

Actual results:

In pdf.js, the three finger tap incorrectly picks up previous word instead of the word below the cursor.
See video.

Expected results:

The way it works in the Preview.app or in Safari.

Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:70.0) Gecko/20100101 Firefox/70.0

Hi,

I have managed to reproduce this issue on latest FF release 70.0.1, Beta 71.0b11 and latest Nightly build 72.0a1 (2019-11-19) using Mac OS 10.14 and Mac OS 10.15.
Further, I will move this over to a component so developers can take a look over it. If this is not the correct component please feel free to change it to an appropriate one. It could be also PDF Viewer since the issue is reproducible only in pdf. In a normal google search for example the issue is not reproducible.

Thanks for the report.

Status: UNCONFIRMED → NEW
Component: Untriaged → Widget: Cocoa
Ever confirmed: true
OS: Unspecified → macOS
Product: Firefox → Core
Version: 70 Branch → Trunk
Component: Widget: Cocoa → PDF Viewer
Product: Core → Firefox

The priority flag is not set for this bug.
:bdahl, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(bdahl)

It looks like the text layer is not lining up correctly with the drawn text.

Flags: needinfo?(bdahl)
Priority: -- → P4
Whiteboard: [pdfjs-c-ux][pdfjs-d-text-search]
Whiteboard: [pdfjs-c-ux][pdfjs-d-text-search] → [pdfjs-c-ux][pdfjs-d-text-selection]

This seems to be fixed in the latest Firefox 93.

Could you try using mozregression to figure out what fixed this?

Whiteboard: [pdfjs-c-ux][pdfjs-d-text-selection] → [pdfjs-ux][pdfjs-text-selection]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: