Poor text selection behaviour in PDFs

NEW
Unassigned

Status

()

P3
normal
5 years ago
5 years ago

People

(Reporter: linuxhippy, Unassigned)

Tracking

24 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Created attachment 822905 [details]
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)

Comment 1

5 years ago
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]

Updated

5 years ago
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
You need to log in before you can comment on or make changes to this bug.