New issue
Advanced search Search tips

Issue 707579 link

Starred by 0 users

Issue metadata

Status: Archived
Owner: ----
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

No way to control new tab focus

Reported by upendr...@gmail.com, Apr 2 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/56.0.2924.87 Safari/537.36

Steps to reproduce the problem:
1. Open any page with form
2. Write anything in textbox or compose box
3. If any new tab opens up may be due to popup or extension, focus will be lost from current tab and no way to control this behavior in chrome

What is the expected behavior?
As a user I wish to control if I want to switch focus to new tab or retain at current

What went wrong?
Forced focus to new tab taking over current website experience 

Did this work before? N/A 

Chrome version: 56.0.2924.87  Channel: n/a
OS Version: 6.3
Flash Version:
 
Use case example: I have a chrome extension that monitors notifications from a site and click to open it full page automatically. Now when I do something in any tab and there is notification that has come my current tab focus is lost without any control to new tab that gets opend' through extension.

Expected: As a user I want to add setting to retain focus on current active tab itself when new tabs are opened or do it through APIs. 
Labels: Needs-Milestone
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
upendra15@ Could you provide the name or url of the chrome extension which you mentioned in the comment #1 for further triage.
I don't have any published plugin in chrome app store. I have local plugin that I use for self. 
Use case: 
I have a website eg any news site that keeping poping up latest article in their home. My script checks presence of popups with css classname at every interval. Once it finds there exists a popup I trigger a click which opens that news article in new page.

Problem: It opens new tab but focus from anywhere else or other tab gets moved to this newly open'd tab which I want to control.
Project Member

Comment 5 by sheriffbot@chromium.org, Apr 7 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kkaluri@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
here is source code that may help (javascript): 
popup_click.txt
475 bytes View Download
Cc: jmukthavaram@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on Windows 7,Mac 10.12.4 & Ubuntu 14.04 using chrome reportd version-56.0.2924.87, stable-57.0.2987.133 & Canary-59.0.3066.0 as per steps mentioned in comment#0 & comment#6.

User able to control the focus on new tab or retain at current tab & vice versa without any issue.
Could you please check the issue on latest chrome versions (stable/Canary) & if still issue persists,please provide us the  screencast of the issue for better understanding /triaging the issue.

Thanks in advance.

Comment 8 by upendr...@gmail.com, Apr 10 2017

How did you try to reproduce issue? I don't think you tried the way I am saying.
Project Member

Comment 9 by sheriffbot@chromium.org, Apr 10 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "jmukthavaram@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
As I have private chrome plugin I can't share. But issue is clear: Consider there is website that opens tabs or new window automatically in few seconds with click trigger. So what will happen in that case is doesn't matter which page I am browsing my tab focus or window focus is lost and newly open'd tab gets focus. 

I am asking is there is way to "Focus current tab on new tab open" settings? If not, there should be one as I don't want chrome to steal focus when new tab is open'd. 
Components: -UI Platform>Extensions
Labels: TE-NeedsTriageHelp
Routing to extensions team for further triage.
Project Member

Comment 12 by sheriffbot@chromium.org, Apr 11 2018

Status: Archived (was: Unconfirmed)
Issue has not been modified or commented on in the last 365 days, please re-open or file a new bug if this is still an issue.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment