Closed
Bug 138646
Opened 23 years ago
Closed 20 years ago
textbox.blur() and textarea.blur() steal focus from other Mozilla windows
Categories
(Core :: XUL, defect)
Core
XUL
Tracking
()
RESOLVED
FIXED
People
(Reporter: sven.jost, Assigned: jag+mozilla)
References
()
Details
(Keywords: helpwanted, regression, testcase)
Attachments
(2 files)
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417
BuildID: 2002041711
setTimeout javascripts steal the focus of all opened windows/tabs
by resetting a text value.
Reproducible: Always
Steps to Reproduce:
1. go to
http://starwars.gamigo.de/ticker/
or directly to
http://starwars.gamigo.de/ticker/countdown.php?id=1
Actual Results: the timer steals the focus of all opened windows per second.
This bug is not a duplicate of bug 82534.
Comment 1•23 years ago
|
||
This is due to the incomplete fix for bug 41813.
Assignee: rogerl → jaggernaut
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → XP Toolkit/Widgets
Ever confirmed: true
OS: Linux → All
QA Contact: pschwartau → jrgm
Hardware: PC → All
Summary: javascript steals focus of url bar & other textboxes → textbox.blur() steals focus from other Mozilla windows
Updated•23 years ago
|
Keywords: regression
Comment 2•23 years ago
|
||
*** Bug 157897 has been marked as a duplicate of this bug. ***
Comment 3•23 years ago
|
||
*** Bug 184103 has been marked as a duplicate of this bug. ***
modified demo lent from bug 265055
Attachment #165140 -
Attachment description: demo → demo input
Keywords: helpwanted
Summary: textbox.blur() steals focus from other Mozilla windows → textbox.blur() and textarea.blur() steal focus from other Mozilla windows
Better Blur() Method should be look like this:
NS_IMETHODIMP
nsHTMLTextAreaElement::Blur()
{
nsIFormControlFrame* formControlFrame = GetFormControlFrame(PR_TRUE);
if (formControlFrame) {
SetElementFocus(PR_FALSE);
}
return NS_OK;
}
Is this okay? I need help.
Comment 7•20 years ago
|
||
This is fixed by bug 299677.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•