New issue
Advanced search Search tips

Issue 727164 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner: ----
Closed: May 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

Regression (r414807): Focus related bugs with xmonad

Project Member Reported by p...@chromium.org, May 28 2017

Issue description

Chrome Version: trunk
OS: Linux

What steps will reproduce the problem?

Scenario 1:
(1) Start a session using xmonad as the WM
(2) Open chrome (Alt+Shift+Enter then start chrome from the terminal)
(3) Switch to the second workspace (Alt+2)
(4) Open a terminal (Alt+Shift+Enter) and run "chrome www.google.com"

Scenario 2:
(1) Start a session using xmonad as the WM
(2) Switch the first workspace to the Full layout algorithm (with the default config, press Alt+Space twice)
(3) Open chrome
(4) Create a new profile. At this point there should be two browser windows in the first workspace, one for each profile.
(5) Click on the profile selector in the top right, and try to switch to the other profile

What is the expected result?

In scenario 1, the existing browser window in the first workspace should take focus and a new tab for the google home page should be displayed immediately.

In scenario 2, the browser window for the other profile should take focus.

What happens instead?

In scenario 1, the "chrome www.google.com" command does not cause the browser to take focus. Instead the command hangs until I manually switch back to the browser window by pressing Alt+1. Only then does the new tab for the google home page get created and the page loads.

In scenario 2, nothing happens; the profile selector dropdown remains on the screen. I need to dismiss it with the mouse and manually switch to the window for the other profile by pressing Alt+Tab.

Please use labels and text to provide additional information.

I bisected both of these bugs to r414807. Adding thomasanderson@ to cc.
 

Comment 1 by p...@chromium.org, May 28 2017

Description: Show this description

Comment 2 by p...@chromium.org, May 28 2017

Summary: Regression (r414807): Focus related bugs with xmonad (was: Regression (r414087): Focus related bugs with xmonad)

Comment 3 by p...@chromium.org, May 28 2017

I also forgot to mention that this bug affects the "Open link as" feature.

(1) Start a session using xmonad as the WM
(2) Switch the first workspace to the Full layout algorithm (with the default config, press Alt+Space twice)
(3) Open chrome
(4) Create a new profile. At this point there should be two browser windows in the first workspace, one for each profile.
(5) In the window for the newly created profile, open a page with a link
(6) Right click on the link and choose "Open link as <profile name>"

Expected behaviour:

Other profile window should take focus and a new tab should be created with the link target.

Actual behaviour:

Browser hangs until I switch to the window for the other profile with Alt+Tab. The browser only becomes responsive and opens the tab once I do that.

Comment 4 by p...@chromium.org, May 29 2017

Status: Fixed (was: Untriaged)
I actually cannot reproduce any of these issues on trunk, so I'm going to close this as fixed.
For the record, this was probably fixed in https://codereview.chromium.org/2630773002/

Sign in to add a comment