Closed Bug 259012 Opened 22 years ago Closed 22 years ago

Find Toolbar (FAYT) cleared by javascript

Categories

(Toolkit :: Find Toolbar, defect)

x86
Windows XP
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 258917

People

(Reporter: mozilla, Assigned: bugzilla)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040829 Firefox/0.9.1+ (MOOX M2) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040829 Firefox/0.9.1+ (MOOX M2) Entering text into the Find Toolbar on this website cause the search to perform and then within a second the find toolbar clears and closes. Reproducible: Always Steps to Reproduce: 1. Go to website: http://www.annieduke.com/articles.php#annie-dukes-poker-articles 2. Type /omaha to load Find toolbar searching for omaha Actual Results: Search for om happens, then bar is cleared and search for aha happens. Expected Results: Searched for omaha. This may be an evangalism bug because the website is terribly coded (there's some sort of ticker that is invisible and prevents the first link from being clicked on too. I appologize in advance if this is. I just think that there may be a bug here in allowing the search bar to clear like this though. Setting to minor because hitting ctl-f and then searching works as expected.
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.3) Gecko/20041009 Firefox/0.10 confirming ->new the findbar closes w/i a fraction of a second
Status: UNCONFIRMED → NEW
Ever confirmed: true
This seems like a symptom of a larger (worse) problem. All find toolbar does is fire of a 5000ms timer to close the find bar if there's no activity. But it looks like this page somehow forces the timer to fire prematurely? dbaron, any ideas?
Seems like this code is the culprit (in http://www.annieduke.com/_js/scroller.js): window.onresize = scrollerReload; function scrollerReload() { // Reload page in case of a browser resize. First make sure it's a true // resize. if (isMinNS4 && origWidth == window.innerWidth && origHeight == window.innerHeight) return; window.location.href = window.location.href; } It seems that the site reloads the page when the window size is changed for some reason. Perhaps should be moved to evangalism since other parts of their "dhtml" doesn't work also? Or possibly should the find toolbar timer be extended by 5000ms after a page is reloaded? Sorry for not researching this more when I posted it originally. I had seen this error before and wanted to post it before I forgot again (didn't really have much time then).
sorry for posting a duplicate. didn't realize they were the same until the other was was resolved and saw it on burning edge *** This bug has been marked as a duplicate of 258917 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.