Closed
Bug 1282759
Opened 9 years ago
Closed 6 years ago
Support whole word search for find in page
Categories
(Firefox :: PDF Viewer, defect, P3)
Tracking
()
VERIFIED
FIXED
Firefox 64
People
(Reporter: mikedeboer, Assigned: Snuffleupagus)
References
Details
(Whiteboard: [pdfjs-c-feature])
Attachments
(1 file)
1.46 KB,
patch
|
bdahl
:
review+
|
Details | Diff | Splinter Review |
Since bug 269442, the find toolbar support a new mode, called 'Whole Words', which only matches strings surrounded by word-breaking characters, like spaces or punctuation marks in latin-derived languages.
As you might know, this is the default matching mode for the find toolbars in Webkit/ Blink based browsers.
The implementation uses the term 'entireword', not 'wholeword' as you might think. This is due to historical reasons that are not very interesting for this bug ;-)
Flags: qe-verify+
Flags: firefox-backlog+
Updated•9 years ago
|
Priority: -- → P3
Whiteboard: [pdfjs-c-feature]
Assignee | ||
Comment 3•6 years ago
|
||
Assignee: nobody → jonas.jenwald
Attachment #9007160 -
Flags: review?(bdahl)
Assignee | ||
Updated•6 years ago
|
See Also: → https://github.com/mozilla/pdf.js/pull/10028
Assignee | ||
Updated•6 years ago
|
Keywords: leave-open
Assignee | ||
Updated•6 years ago
|
Depends on: 1489996
Keywords: leave-open
Updated•6 years ago
|
Attachment #9007160 -
Flags: review?(bdahl) → review+
Assignee | ||
Updated•6 years ago
|
Keywords: checkin-needed
Pushed by dluca@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/e6d4af6ebdd5
Include the `entireWord` mode when forwarding find events to the PDF.js viewer. r=bdahl
Keywords: checkin-needed
Comment 5•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 64
Comment 6•6 years ago
|
||
Hi Mike and Jonas,
Can one of you provide some steps to reproduce for this issue?
Thanks!
Flags: needinfo?(mdeboer)
Flags: needinfo?(jonas.jenwald)
Updated•6 years ago
|
status-firefox50:
affected → ---
Reporter | ||
Comment 7•6 years ago
|
||
Ah, I think Jonas should be the one to get you an STR here - if he's available, otherwise Brendan could. My guess here:
Open up a PDF document containing text, open up the find-in-page bar, toggle the 'While Words' option button and start trying to find whole words in the document.
The ER should be that only whole words can be found, not partial matches.
Flags: needinfo?(mdeboer) → needinfo?(bdahl)
Comment 8•6 years ago
|
||
I have reproduced the issue in Nightly v64.0a1 from 2018-09-05 and I have verified it in Nightly v64.0a1 from 2018-10-19.
I have also verified if it occurs in firefox63 and firefox62 and set the tags accordingly but considering that the target was set as Firefox 64, I have set the general status of this bug as VERIFIED.
The steps taken to verify the issue are the following:
1. Open the browser and reach: http://etd.lib.byu.edu/PDFCreation/EditingTextinPDFDocuments.pdf
2. Tap: "CTRL+F" to use the search in page feature;
3. Click the "Whole words" button from the find in page bar to activate this option.
4. Search for the word "you" and make sure that the word "your" is not highlighted as a result.
Affected: The word "your" is also highlighted as a result.
Fixed: The word "your" is not highlighted as a result.
Thank you.
Status: RESOLVED → VERIFIED
status-firefox62:
--- → affected
status-firefox63:
--- → affected
Flags: qe-verify+
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(bdahl)
Assignee | ||
Updated•6 years ago
|
Flags: needinfo?(jonas.jenwald)
You need to log in
before you can comment on or make changes to this bug.
Description
•