Closed
Bug 328176
Opened 19 years ago
Closed 19 years ago
javascript event focus() don't work. The window stay in background
Categories
(Camino Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
INVALID
People
(Reporter: yvestan+bugzilla, Assigned: mikepinkerton)
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0 (MultiLang)
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8.0.1) Gecko/20060214 Camino/1.0 (MultiLang)
(french user) I'm scripting this code or I try to other site, Popup stay in background. This code with focus() work fine with Firefox 1.5, Safari and IE 5.2 Mac :
function ouvre_player(fichier) {
popup = window.open(fichier, 'Music', 'height=200, width=370, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=no, status=no');
if(popup.window.focus){
popup.window.focus();
}
}
Reproducible: Always
Comment 1•19 years ago
|
||
Do you have "Prevent sites from changing, moving or resizing windows" checked under "Web Features" in the preferences? If not, is "dom.disable_window_flip" set to "true" in about:config?
(In reply to comment #1)
> Do you have "Prevent sites from changing, moving or resizing windows" checked
> under "Web Features" in the preferences? If not, is "dom.disable_window_flip"
> set to "true" in about:config?
>
First, sorry for my (bad) english. Yes, it's true. This option was checked and my example code work fine if unchecked. Sorry for my false bug !
Are you sure that focus() as very obstrusive ? Maybe on the future version, it's possible to look like Firefox by difference between :
- moving and resizing (frequently obstrusive)
- focus
Thank to the camino team !
Yves
Comment 3•19 years ago
|
||
Alright then. :)
Closing invalid; maybe we can come to another consensus at some point about the window prefs.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•