window.focus() call does not bring child window to foreground
Reported by
justindo...@gmail.com,
Jun 23 2016
|
||
Issue descriptionUserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Example URL: https://www.googledrive.com/host/0B9U4zVhqBiz7ai1Cb25JelBXeDA Steps to reproduce the problem: 1. Allow all popups (Settings > Content Settings > Pop-ups > Select "Allow all sites to show pop-ups") 2. Go to https://www.googledrive.com/host/0B9U4zVhqBiz7ai1Cb25JelBXeDA 3. Click "Open and Focus Window" link. The first time this link is clicked it opens a new window and focuses on the window. 4. Leave the opened/child window open and return to the parent window. 5. Click "Open and Focus Window" link again. What is the expected behavior? Child window should be focused (brought to foreground). What went wrong? Child window is not focused (not brought to foreground). Does it occur on multiple sites: N/A Is it a problem with a plugin? No Did this work before? No Does this work in other browsers? Yes Chrome version: 51.0.2704.103 Channel: stable OS Version: 6.1 (Windows 7, Windows Server 2008 R2) Flash Version: Shockwave Flash 22.0 r0 Customers for our site must allow pop-ups. The window.focus call fails even if the parent window holds on to a reference to the child window after first opening it.
,
Jul 3 2016
Moving this nonessential bug to the next milestone. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Oct 5 2016
This is a BUG. Bug that has not been fixed for about 5 years by now. But all workarounds dont work anymore. Google, is it a position not to fix it? May be it's a feature?
,
Jan 8 2018
Hi guys! Any updates on this issue? Or workaround at least?
,
Mar 7 2018
Moved repro to github: https://justindm234.github.io/chromium622739/#
,
Sep 28
I've tested https://justindm234.github.io/chromium622739/# in Chrome 69 on Linux, Windows and Mac and it does focus the new window. OP, can you confirm if this is working for you now too? |
||
►
Sign in to add a comment |
||
Comment 1 by durga.behera@chromium.org
, Jun 24 2016Labels: M-53 OS-Linux OS-Mac
Status: Untriaged (was: Unconfirmed)