Closed Bug 260003 Opened 20 years ago Closed 20 years ago

Firefox 1.0 pre release: pressing RETURN in empty search field should not print "Phrase not found"

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
trivial

Tracking

()

RESOLVED FIXED

People

(Reporter: norbert.notz, Assigned: bugzilla)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

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

There is the new search bar in Firefox 1.0. If the edit field is empty and I
press RETURN, "Phrase not found" is printed.

I think in this case nothing should happen.

(Previous versions of Firefox also have done nothing if confirming the empty
search window.)

Reproducible: Always
Steps to Reproduce:
Should we set Version to "1.0 Branch"? (I don't want to do something wrong here.)
Summary: Firefox 1.0: pressing RETURN in empty search field should not print "Phrase not found" → Firefox 1.0 pre release: pressing RETURN in empty search field should not print "Phrase not found"
I set version to 1.0 branch. I hope this is correct.
Version: unspecified → 1.0 Branch
searching for an empty string logically returns phrase not found. because every
piece of the page contains something.. But this is a "beauty error" imo, because
why would you search for an empty string...

(but this could be fixed for the beauty by checking the input string)
(In reply to comment #3)

> (but this could be fixed for the beauty by checking the input string)

I really think that this should be fixed.
Version: 1.0 Branch → unspecified
Version: unspecified → 1.0 Branch
Severity: normal → trivial
Status: UNCONFIRMED → NEW
Component: General → Find Toolbar / FastFind
Ever confirmed: true
OS: Windows XP → All
QA Contact: firefox.general
Hardware: PC → All
Version: 1.0 Branch → unspecified
Attached patch patch to fixSplinter Review
This patch only registers RETURN if the find string is not empty, solving the
problem of an empty find string returning "not found".
Attachment #161701 - Flags: review?(bugs)
Fixed.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Keywords: fixed-aviary1.0
Attachment #161701 - Flags: review?(bugs)
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: