Closed Bug 65257 Opened 25 years ago Closed 25 years ago

`find in this page' fails when caret/focus in URI field

Categories

(SeaMonkey :: UI Design, defect, P2)

defect

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: dcary, Assigned: sfraser_bugs)

References

(Blocks 1 open bug, )

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; 0.6) Gecko/20001205 BuildID: 20001205 I expect `find in this page' to actually find any words in the displayed web page. When the cursor is in the URI field, though, it acts like that word doesn't exist. Reproducible: Always Steps to Reproduce: Go to the page http://www.repairfaq.org/ ``accidentally'' click in the URI field (leaving the cursor blinking anywhere in the URI field). Select ``Search | Find in this page'' from menu. Type `doc' (occurs many time on the page) and hit the `find' button. Actual Results: Nothing happens. I click the `find' button a few more times, and then (falsely) conclude that word doesn't appear on that web page, and hit the cancel button. Expected Results: I expected it to find the first instance of `doc' on that page, highlight it, and scroll appropriately. Hitting `find' again should find the next instance. If I make a point of clicking somewhere near the top of the displayed page, *then* select ``Search | Find in this page'' from menu, it finds stuff OK. I imagine that fixing Bug#: 63241 will hopefully also fix this bug.
would this be a dup of bug 37638? i skimmed thru the dep tree for bug 55416, couldn't quite find another one where keyboard accelerators don't work when the URL/Location field has focus. drat, i know there's one out there. [/me scratches head.] jesse/akkana, would either of you know of a more appropriate bug? thx much!
Blocks: 55416
I think this bug is independent of whether focus "should" be in the location bar at any point, since the steps to reproduce this bug mention clicking in the location bar, and since the menu item says "find in this page". This also doesn't really seem to be a keyboard bug, since it happens even if you I use menus to access the Find in This Page feature. Confirming. Btw, if I search for some single letters in the location bar, I have to hit "find" several times before getting a "not found" alert. I can't figure out where it's searching, though -- it doesn't seem to be searching the personal toolbar, the menubar, the contents or tooltip text of the location bar, or the page.
Status: UNCONFIRMED → NEW
Ever confirmed: true
thx for the clarification, jesse! if this is a Find issue, methinks this should go to either bill or kin [trying the former first]...
Assignee: ben → law
Marking nsbeta1+, p2, mozilla0.9.1, reassigning to mcafee
Assignee: law → mcafee
Keywords: nsbeta1+
Priority: -- → P2
Target Milestone: --- → mozilla0.9.1
*** Bug 52923 has been marked as a duplicate of this bug. ***
Summary: `find in this page' fails when cursor in URI field → `find in this page' fails when caret in URI field
Summary: `find in this page' fails when caret in URI field → `find in this page' fails when caret/focus in URI field
OS: Windows 98 → All
Hardware: PC → All
chris and vishy: on further review, we do not think this is so critical for the beta. We could look at fixing it in mozilla0.9.2. Ccing paul/todd in case you want to comment on that. Codewise this involves rewriting the Find function to be in JS instead of C++, around 2 days of work.
Target Milestone: mozilla0.9.1 → mozilla0.9.2
That work has been done (but not checked in yet). See bug 68307. In fact, the changes in bug 68307 probably fix this.
Assignee: mcafee → sfraser
Depends on: 68307
This should work now, but it's probably still true that Ctrl-F will fail if focus is in the URL bar. It will work from the menu.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
yeah accel+F still doesn't work if focus is in the URLbar. however, Search > Find in This Page does work. vrfy fixed: linux comm 2001.05.02.08 mac comm 2001.05.02.09 winnt moz 2001.05.02.12
Status: RESOLVED → VERIFIED
Is there a bug for Ctrl+F failing when the focus is in the location bar?
weirdness --now i can suddenly using accel+F after i've clicked to focus [caret] in the urlbar, but only on mac and winnt. filed bug 78608, fwiw.
Product: Core → Mozilla Application Suite
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.