Closed Bug 264656 Opened 20 years ago Closed 20 years ago

Find Next and Previous clears "Phrase not found"

Categories

(Toolkit :: Find Toolbar, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: g.teunis, Assigned: bugzilla)

Details

(Keywords: fixed-aviary1.0, regression)

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041016 Firefox/1.0
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041016 Firefox/1.0

When searching a non-found phrase the toolbar shows the "Phrase not found" text
and icon, using "Find Previous" and "Find Next" button or keyboard shortcut
clears that text and icon even when the phrase isn't found.

Reproducible: Always
Steps to Reproduce:
1. Press CRTL-F
2. Enter a non excisting phrase
3. Watch the "Phrase not found" appearing
3. Press "Find Next" or "Find Next" (or their keyboard shortcuts)

Actual Results:  
"Phrase not found" disappeares.

Expected Results:  
Should display "Phrase not found".

If the find toolbar is closed the find-next/previous keyboard shortcuts open the
find toolbar, but doesn't show the "Phrase not found" text and icon if the
phrase isn't found.
confirmed
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041016 Firefox/1.0
Severity: normal → minor
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Find next and previous clears "Phrase not found" → Find Next and Previous clears "Phrase not found"
looks like it is a regression, someone on IRC said it doesn't happen with 20041015.
Keywords: regression
Should be fixed now.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
(In reply to comment #3)
> Should be fixed now.

Blake,

This is not yet fixed.  When using the keyboard shortcuts with a hidden findbar
and a not-found string, when the bar is opened the not-found status is cleared.
 We need to updateStatus after opening the findbar in this case.

Patch to come.
Attached patch patch to fixSplinter Review
Updates Status after opening the findbar with ctrl-g or shift-ctrl-g with a
not-found string in order to display "not found" status that was cleared when
bar was opened
Attachment #162401 - Flags: review?(firefox)
I forgot about that case. Thanks Mike.
Keywords: fixed-aviary1.0
Attachment #162401 - Flags: review?(firefox)
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: