Closed
Bug 1136674
Opened 11 years ago
Closed 10 years ago
Text selection broken in a PDF document
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
RESOLVED
FIXED
Firefox 45
People
(Reporter: mitas, Unassigned)
References
()
Details
(Whiteboard: [pdfjs-c-ux][pdfjs-d-text-selection][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/6590)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:36.0) Gecko/20100101 Firefox/36.0
Build ID: 20150222232811
Steps to reproduce:
Using FF36 on Mac OS X 10.8.5.
1. Go to http://www.ifoapplestore.com/stores/apple_stores.pdf
2. Select part of a text in a middle of the table (not first column). E.g. "Zhengzhou" (2nd table line on page 8).
3. Copy the selected (Apple+C or "Copy" in pop-up menu)
4. Paste it anywhere in FF (e.g. search box) or into other application (e.g. text editor).
Actual results:
Different text from the PDF document was pasted. In case of the "Zhengzhou", it pasted "anuary 10, 2015", i.e. part of text from different column in the table.
Different problem, possible different symptom of the same bug, is a problem to select a single word by double clicking. Often, the selected rectangle does not match boundaries of the word under the mouse.
Expected results:
I expect that exactly the selected text gets copied.
| Reporter | ||
Updated•11 years ago
|
Component: Untriaged → PDF Viewer
Comment 1•11 years ago
|
||
Looks like something is wrong with our heuristic here. If the pdf debugging tools are enabled you can see this with #textLayer=shadow.
Priority: -- → P3
Whiteboard: [pdfjs-c-ux][pdfjs-d-text-selection]
Comment 2•11 years ago
|
||
Reproduced with latest Nightly 39.0a1 under Win 7 64-bit.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Mac OS X → All
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Depends on: 1224644
Resolution: --- → FIXED
Whiteboard: [pdfjs-c-ux][pdfjs-d-text-selection] → [pdfjs-c-ux][pdfjs-d-text-selection][pdfjs-f-fixed-upstream] https://github.com/mozilla/pdf.js/pull/6590
Target Milestone: --- → Firefox 45
You need to log in
before you can comment on or make changes to this bug.
Description
•