Closed Bug 267404 Opened 20 years ago Closed 20 years ago

find doesn't work correctly in pages that use frames -- user can't select frame-to-search

Categories

(Toolkit :: Find Toolbar, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED DUPLICATE of bug 156514

People

(Reporter: peakle, Assigned: bugzilla)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

I regularly read the Java JDK javadoc (e.g.
http://java.sun.com/j2ee/1.4/docs/api/index.html). This javadoc display uses
frames.  Also, I regularly need to search the main (content) frame for some
phrase; to do that (in IE 6.0 or Mozilla 1.7.2) I click into or select a word
within the frame I want to search (establishes focus); then I type Ctrl-F and
enter my search string, hit return and it correctly finds that phrase within the
frame.  But this doesn't seem to work in Firefox.  When I do the find in Firefox
 it wants to search for the phrase I enter in one of the index frames (small
frame on left hand side), even when I have selected a word in the main frame
(right hand side).

Reproducible: Always
Steps to Reproduce:
See section "Details".
1. establish focus in a frame.
2. do find, enter phrase.
3. phrase will be found in wrong frame.

Actual Results:  
search for phrase occurs in wrong frame.

Expected Results:  
respect the user's gesture about which frame they want to search.
Able to reproduce in Novell Linux Desktop too. If this is not dup please confirm
this as a bug.
There is that bug also on wikipedia.
I do not know if it's exactly the same, if the page i'm trying to search things
inside contains another frame, another iframe, or another technology anyway, i'm
not competent for that.

But that bug IS reproductible with 100% "success", here is how :
Open a wikipedia article, for instance, the one about Ernesto Che Guevara.
http://en.wikipedia.org/wiki/Ernesto_Guevara
Click "edit this page" to edit the article. Submit a modification of your choice
containig a unique word, to make the test easier, for instance "___testing___".
Click "Show preview" in the bottom of the page, that will load a new page
containing first a well-formatted version of the article containing also your
edits, with the "___testing___" word, and below this will be an editor-friendly
version if you want to edit the page again, that edit-friendly version also
containing "___testing___". 
Click anywhere in the page, and then launch the search function for
"___testing___" : it will only be found ONCE, not twice, the second occurence
won't be found.

*** This bug has been marked as a duplicate of 156514 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.