MacViews: External request to open a URL in background brings browser window to foreground.
Reported by
an...@yandex-team.ru,
Dec 21 2016
|
||||||||||||
Issue description
UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/602.3.12 (KHTML, like Gecko) Version/10.0.2 Safari/602.3.12
Steps to reproduce the problem:
1. Set Chromium as the default browser.
2. Either launch Chromium (case 1) or don't launch it yet (case 2).
3. Switch to Mail.app, or Twitter.app or any other native app that supports opening browser links behind that app.
4. Within Mail.app, open context menu on a link, click on menu item "Open Link Behind"
or:
1. From the terminal, use `open -g` command to open a link in the background, for example:
open -g -a <path-to>/Chromium.app https://example.com
What is the expected behavior?
Link opens in a new tab in Chromium, but Chromium window remains in background. The window of the app from which the link is clicked stays in the foreground and retains focus.
What went wrong?
Link opened and Chromium window moved to the foreground.
Did this work before? No
Chrome version: 57.0.2957.0 Channel: dev
OS Version: OS X 10.12.2
Flash Version: off
Related to Issue 500038
,
Dec 22 2016
I've submitted a patch for the case when Chromium is already launched (case 1): https://codereview.chromium.org/2596763003/ Currently there seems to be a lack of macOS experts to review it thoroughly.
,
Jan 3 2017
,
Apr 12 2017
,
Mar 23 2018
MacViews triage: this repros locally; over to sdy@ for window issues. Let's target M69 for this.
,
Mar 27 2018
,
Jun 11 2018
,
Jul 12
,
Jul 12
,
Jul 19
Is this still an issue?
,
Jul 20
Still able to reproduce the issue on mac 10.13.3 using latest chromium version #69.0.3496.0. Attached a screen cast for reference. Following are the steps followed to reproduce the issue. ------------ 1. Set Chromium as the default browser. 2. Launched Chromium. 3. Switched to Mail.app. 4. Within Mail.app, opened context menu on a link, click on menu item "Open Link Behind". 5. Observed that link opened and Chromium window moved to the foreground, which is the issue. Thanks...!!
,
Jul 31
,
Nov 22
**UI Mass Triage** This issue is still reproducible on latest canary #72.0.3618.0. Adding appropriate labels.
,
Dec 27
Issue 917967 has been merged into this issue. |
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by tapted@chromium.org
, Dec 21 2016Components: -UI Internals>Views UI>Browser
Labels: phase4 Proj-MacViews
Status: Available (was: Unconfirmed)