Closed Bug 251646 Opened 21 years ago Closed 21 years ago

clicking "highlight" in the find toolbar does not restart visible timer

Categories

(Toolkit :: Find Toolbar, defect)

1.7 Branch
defect
Not set
minor

Tracking

()

RESOLVED FIXED
mozilla1.7.4

People

(Reporter: mikeclackler, Assigned: mikeclackler)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040714 Firefox/0.9.1+ (MOOX-AV) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040714 Firefox/0.9.1+ (MOOX-AV) The find toolbar is on a timer that controls how long the toolbar is visible (approx 5 sec). Pressing a key or clicking "Find Next" or "Find Previous" resets this timer since you are actively using the toolbar. Clicking "highlight" should also reset the display timer like "find next/previous" since you are using the toolbar, but the timer is not reset. Reproducible: Always Steps to Reproduce: 1.activate the find toolbar 2.wait approx 4 seconds and click "Highlight" 3. Actual Results: The toolbar closes within approx. 1 second Expected Results: The toolbar should have remained visible for approx. 5 seconds after "Highlight" was clicked before it closed
I can confirm this behavior, OS -> ALL Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040725 Firefox/0.9.1+
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows XP → All
Summary: clicking "highlight" in the find toolbad does not restart visible timer → clicking "highlight" in the find toolbar does not restart visible timer
Attached patch patch to fix (obsolete) — Splinter Review
This patch adds "if (gFindMode != FIND_NORMAL) setFindCloseTimeout();" to the highlight toolbarbutton oncommand. The patch fixes this problem by restarting the find toolbar close timer when the highlight button is pressed in FAYT mode. I hope the patch is in the correct format, this is my first.
Attached patch patch - v2Splinter Review
Here's the patch in a better format. I had bad line feed charaters in the last patch causing the patch to replace the complete file.
Attachment #154727 - Attachment is obsolete: true
Comment on attachment 154823 [details] [diff] [review] patch - v2 makes highlight button reset close counter
Attachment #154823 - Flags: review?(firefox)
requesting blocking-aviary1.0PR since patch exists
Flags: blocking-aviary1.0PR?
Whiteboard: [have patch]
Attachment #154823 - Flags: review?(firefox) → review+
Steffen, have you got a moment to check this one-liner in?
Checked into branch, with some added whitespace to make it look nicer. -> mikeclackler@hotmail.com.
Assignee: firefox → mikeclackler
Hardware: PC → All
Target Milestone: --- → Firefox1.0beta
-> fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Flags: blocking-aviary1.0PR?
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Whiteboard: [have patch]
Version: unspecified → 1.0 Branch
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: