Open
Bug 133240
Opened 23 years ago
Updated 2 years ago
window.resizeTo causes browser window to steal focus and un-minimise
Categories
(Core :: DOM: UI Events & Focus Handling, defect)
Tracking
()
NEW
People
(Reporter: tom+bugzilla, Unassigned)
References
Details
(Keywords: testcase)
Attachments
(1 file)
3.48 KB,
text/html
|
Details |
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.9) Gecko/20020311 BuildID: 2002031104 If you visit a page with: <meta HTTP-EQUIV="Refresh" CONTENT="60"> in the <head> and minimise the page, when the page refreshs the minimised window pops to the front and grabs focus. Reproducible: Always Steps to Reproduce: 1. go to page that uses meta refresh tag 2. minimise browser 3. wait for refresh Actual Results: window pops up, grabs focus Expected Results: nothing at all.
Comment 1•23 years ago
|
||
Can't reproduce this on W2K 2002032408. Tom, is there a specific site that you get this with? It may be that the site has something like <BODY onLoad="window.focus()"> which is causing it to grab focus. Also, what is your setting for 'Preferences > Advanced > Scripts & Windows > Raise or lower windows'? Does changing this make any difference? If neither of these things apply, please could you try to reproduce this on a recent build? (See ftp://ftp.mozilla.org/pub/mozilla/nightly/latest/) This seems very similar to bug 105225 and related bugs. Please could you check these and mark this as a duplicate if appropriate. Resummarizing to make this easier to find, Severity -> Normal (it's irritating but not serious).
Severity: major → normal
Summary: popup on refresh → <META http-equiv="Refresh" content="10"> causes browser window to steal focus
Reporter | ||
Comment 2•23 years ago
|
||
Reporter | ||
Comment 3•23 years ago
|
||
> window.focus
There is a window.resizeTo but thats it - HTML now attached.
Removing this resize stops the window pop-ing back up.
Doesn't seem to be a dup.
Reporter | ||
Updated•23 years ago
|
Summary: <META http-equiv="Refresh" content="10"> causes browser window to steal focus → window.resize causes browser window to steal focus andn un-minimise
Comment 4•23 years ago
|
||
I see this just below the BODY tag: <script> window.resizeTo(450,400); </script> With 'Preferences > Advanced > Scripts & Windows > Move or resize existing windows' checked, this does indeed cause the window to focus itself when it refreshed. Confirming, reassigning.
Assignee: sgehani → joki
Status: UNCONFIRMED → NEW
Component: XP Apps → Event Handling
Ever confirmed: true
Keywords: testcase
QA Contact: paw → madhur
Summary: window.resize causes browser window to steal focus andn un-minimise → window.resizeTo causes browser window to steal focus and un-minimise
Updated•23 years ago
|
QA Contact: madhur → rakeshmishra
Updated•22 years ago
|
QA Contact: rakeshmishra → trix
Comment 6•21 years ago
|
||
Related to bug 111545?
Reporter | ||
Comment 7•19 years ago
|
||
Doesn't look like a dup., no. Any news on getting this fixed, Ian ?
Updated•15 years ago
|
Assignee: saari → nobody
QA Contact: ian → events
I can also confirm this bug, resizeTo still take the focus on Firefox 3.5.5 . It seems to be only on Windows versions (tested on XP and Seven), I don't see this bug on MacOSX Leopard with the same Firefox version.
Assignee | ||
Updated•5 years ago
|
Component: Event Handling → User events and focus handling
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•