Closed
Bug 60268
Opened 24 years ago
Closed 23 years ago
Previous search text in find dialog should be selected when opened
Categories
(SeaMonkey :: UI Design, defect, P3)
SeaMonkey
UI Design
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: adamlock, Assigned: law)
References
Details
Attachments
(2 files)
If you open the find dialog (e.g. ctrl+f) the search field contains the value used by the previous search. This value should be highlighted so that you can replace the old value just by starting to type. The current implementation does not select the field so that to replace the old value you must delete it first. One line patch follows.
Severity: normal → minor
OS: Windows 2000 → All
Hardware: PC → All
The patch looks good. I need to test it out to make sure it works right in the case where the find dialog is already open vs. when it isn't (fixing that might take a bit more code). BTW, there's a dup of this bug (Dave Hyatt opened it a little while ago).
Status: NEW → ASSIGNED
Comment 5•24 years ago
|
||
found the earlier bug... marked it a dup of this, since this one has a patch attached.
Keywords: patch
Bill, can you try your test case? I'm eager to checkin this bug if all looks well...
The only test I did was to try Ctrl-F to bring up the dialog. Then, click on the web page so focus goes away from the dialog. Then, press Ctrl-F again. This brings the dialog into focus but because it isn't opened anew, the search field does not get the focus. I've modified your patch so that the selection is set on the onfocus event. This also has the "feature" that if you tab through the dialog contents, the contents of the field are selected if you tab into that field from the buttons. This seems better to me. I don't see why there should be different behavior when the dialog is already visible versus when it isn't.
Assignee | ||
Comment 10•24 years ago
|
||
Any feedback on my alternative fix?
Comment 11•23 years ago
|
||
It is selected now.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 12•23 years ago
|
||
yep. vrfy fixed using branch comm bits on the 3 main platforms: 2001.06.07.0x.
Status: RESOLVED → VERIFIED
Updated•20 years ago
|
Product: Core → Mozilla Application Suite
You need to log in
before you can comment on or make changes to this bug.
Description
•