Closed Bug 328036 Opened 19 years ago Closed 19 years ago

Flashbar does not flash

Categories

(Toolkit :: Find Toolbar, defect)

1.8 Branch
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8.1alpha3

People

(Reporter: ria.klaassen, Assigned: masayuki)

References

Details

(Keywords: fixed1.8.1, regression)

Attachments

(2 files, 2 obsolete files)

Steps to reproduce: 1. Remove user_pref("accessibility.typeaheadfind.flashBar", 0); from prefs.js. 2. Start a trunk build and do ctrl+f. 3. The inputfield of the findbar is yellow and does not flash. 4. When you type something in the bar it stays yellow also when the search term is not found and because the text turns white it is hard to see what exactly Firefox didn't find. Regression between 1.9a1_2005110105 and 1.9a1_2005110114. http://bonsai.mozilla.org/cvsquery.cgi?module=PhoenixTinderbox&date=explicit&mindate=2005-11-01+04%3A00&maxdate=2005-11-01+14%3A00
Attached patch patch #1 (obsolete) — Splinter Review
Assignee: nobody → gavin.sharp
Status: NEW → ASSIGNED
Attached patch patch #2 (obsolete) — Splinter Review
I think I like this one better.
Masayuki, do you have an opinion on which patch you prefer?
Component: Disability Access → Find Toolbar / FastFind
OS: Windows XP → All
Hardware: PC → All
Comment on attachment 212583 [details] [diff] [review] patch #2 Index: toolkit/components/typeaheadfind/content/findBar.js >- this.mFlashFindBarTimeout = setInterval(this.flashFindBar, 500); >+ this.mFlashFindBarTimeout = setInterval(this.flashFindBar, 500, this); Oops, ignore this change in the second patch.
Mike Connor said, we should not use 'gFindBar.foo()' style in gFindBar. Therefore, I used 'Timer Event Handlers' in the tail of the file. See bug 313149 comment 9 and bug 313149 comment 12.
Attached patch Patch rv1.0Splinter Review
Assignee: gavin.sharp → masayuki
Attachment #212582 - Attachment is obsolete: true
Attachment #212583 - Attachment is obsolete: true
Attachment #212587 - Flags: review?(mconnor)
Attachment #212587 - Flags: review?(mconnor)
Attachment #212587 - Flags: review+
Attachment #212587 - Flags: approval-branch-1.8.1+
checked-in to trunk. This patch cannot go to 1.8.1, because bug 313149 is fixed only on trunk.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3
Fixed on the 1.8 branch by bug 313149.
Keywords: fixed1.8.1
Target Milestone: Firefox 3 → Firefox 2 alpha3
Version: Trunk → 2.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: