Closed Bug 340743 Opened 18 years ago Closed 18 years ago

In FAYT mode after failed search, hitting F3 (Find Again) switches find bar UI to non-minimal UI

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8.1beta1

People

(Reporter: Waldo, Assigned: Waldo)

References

Details

(Keywords: fixed1.8.1, Whiteboard: [swag: 0.5d])

Attachments

(1 file)

Something I didn't notice in bug 337654...

In FAYT, hit F3 to see the next result -- UI switches to the generalized search UI.  Worse, the timeout still fires, because find UI doesn't directly correlate with the current find mode, and the find bar (the non-minimalist version) disappears at timeout.
This should have been done right the first time... :-\
Flags: blocking-firefox2?
Whiteboard: [swag: 0.5d]
Status: NEW → ASSIGNED
Flags: blocking-firefox2? → blocking-firefox2+
Once this is fixed, it may be true that bug 256420 is INVALID.
Attached patch PatchSplinter Review
The reason the line in delayedCloseFindBar has to be removed is that if you do a quick find for an unfound string, let the bar disappear, and then hit F3 to trigger onFindAgainCmd, the bar returns, but a close timeout is only set |if (this.mFindMode != FIND_NORMAL)|.  Consequently, the bar doesn't disappear on its own and can't be removed in any normal way by the user.

I audited the mFindMode callers to double-check that removing the line is okay, and nobody seems to be relying on this behavior, so it should be okay to remove it.
Attachment #225466 - Flags: review?(mconnor)
Attachment #225466 - Flags: approval-branch-1.8.1?(mconnor)
Attachment #225466 - Flags: review?(mconnor)
Attachment #225466 - Flags: review+
Attachment #225466 - Flags: approval-branch-1.8.1?(mconnor)
Attachment #225466 - Flags: approval-branch-1.8.1+
Fixed on branch and trunk (with the addition of a missing |this.| in the final chunk of the patch).
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Keywords: fixed1.8.1
Resolution: --- → FIXED
Summary: In FAYT mode, hitting F3 (Find Again) switches find bar UI to non-minimal UI → In FAYT mode after failed search, hitting F3 (Find Again) switches find bar UI to non-minimal UI
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: