Closed Bug 931481 Opened 11 years ago Closed 3 years ago

Poor text selection behaviour in PDFs

Categories

(Firefox :: PDF Viewer, defect, P3)

24 Branch
defect

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox-esr91 --- wontfix
firefox94 --- wontfix
firefox95 --- wontfix
firefox96 --- fixed

People

(Reporter: linuxhippy, Assigned: calixte)

References

()

Details

(Whiteboard: [bugday-20131028][pdfjs-c-ux][pdfjs-d-text-selection])

Attachments

(3 files)

Attached image selection_nofocus.png
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0 (Beta/Release) Build ID: 20130910160258 Steps to reproduce: Loaded http://www.stronachinstitut.at/wp-content/uploads/2012/02/Nachbaur_CV5.pdf with FireFox' internal PDF viewer. This also happens with pdf.js git. Actual results: 1. For the mentioned PDF the selection rectangle drawn by Firefox doesn't match the actual text. 2. Another issue which can be seen with this PDF is that selection boxes sometimes overlap, leading to horizonal lines (when the window has focus) 3. When the window is out-of-fox, selected text is drawn with wrong y coordinate (as shown in screenshot)
Reproduced with 2013-10-28-03-02-05-mozilla-central-firefox-27.0a1.en-US.linux-x86_64. Spaces are not visibly selected, but there are small areas where selection goes the wrong way, as if there was "nothing" there.
Component: Untriaged → PDF Viewer
Whiteboard: [bugday-20131028]
Priority: -- → P3
Whiteboard: [bugday-20131028] → [bugday-20131028][pdfjs-c-ux][pdfjs-d-text-selection]
Mozilla/5.0 (X11; Linux x86_64; rv:27.0) Gecko/20100101 Firefox/27.0 Reproduced with latest Aurora (20131118004001).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Also confirmed against Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0 ID:20140213030201 CSet: a62bde1d6efe "PDF 7f1922abe9e8c7428dd448211df1b1b [1.5 Adobe PDF Library 10.0 / Acrobat PDFMaker 10.1 for Word] (PDF.js: 0.8.649)" "page=1 - getOperatorList: time=%dms, len=63" "text indexing: page=1 - time=%dms"
OS: Linux → All
Hardware: x86_64 → All

A lot of improvements have been made in the last years so this bug is likely fixed.
If it's still reproducible, please reopen and attach the pdf to the bug report.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
Resolution: INVALID → WORKSFORME

It's much better than before, but still partially buggy.

Severity: normal → S4
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Assignee: nobody → cdenizet
Status: REOPENED → ASSIGNED
Commit merged into master by GitHub Authored by Jonas Jenwald (Snuffleupagus)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago3 years ago
Resolution: --- → FIXED
QA Whiteboard: [qa-96b-p2]
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: