Closed Bug 952952 Opened 11 years ago Closed 10 years ago

pdf viewer should have a 'find in document' button, or search box

Categories

(Firefox :: PDF Viewer, defect)

x86
macOS
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 951610

People

(Reporter: glind, Unassigned)

References

Details

Attachments

(1 file)

Find functionality works fine, but is poorly surfaced.  

Proposed solution:
- 'find' (spyglass) icon in pdfjs viewer, which triggers fine.
Observations:
- there is a find button already implemented!  (but hidden, unless 'supportsIntegratedFind')
- The normal page findbar seems not to work on pdfjs content
- `PDFView.supportsIntegratedFind()` is true, but the button still has 'hidden'.  Maybe DOMContentLoaded is too early?



(Interactive experimentation:
jar:file:///Applications/FirefoxAurora.app/Contents/MacOS/browser/omni.ja!/chrome/pdfjs/content/web/viewer.html
source:  /browser/extensions/pdfjs)
I am not sure that I am understanding what 'integratedSearch' means here.  

Even when *this find* is enabled, the "firefox search in page" captures (eats) Cntl-F captures.  This seems weird.
Find functionality in the integrated PDF Viewer exposed via standard Firefox find bar. The search commands from the Firefox find bar are handled in the viewer. There is no need to use find toolbar implemented in pdf.js to do that.
See Also: → 793275
I literally watched a user who was unable to search their pdf, because they were expecting a spyglass icon in pdfjs, as exists in both Preview and Acrobat.  

The icon code exists, but is not exposed (css hidden). 

If the firefox find works, then re-eventing the pdfjs viewer spyglass to trigger `cmd_find` is a fine solution.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: