New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 685611 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 505669
Owner: ----
Closed: Jan 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Chrome stalls when opening tab in backgrounded window

Project Member Reported by tdres...@chromium.org, Jan 26 2017

Issue description

Where I'm seeing this:
- I have two Chrome windows and the hangouts extension open.
- One of the normal Chrome windows is completely behind the other (via a tabbed layout in XMonad, which hopefully is irrelevant).
- When I click a link in hangouts, it opens in the window in the background, but doesn't actually load. Chrome appears to completely freeze until I foreground the window opening the new link.

Trace here (https://drive.google.com/a/google.com/file/d/0BxE9dpLjlZbPVXpyV2NJSTVfUkk/view?usp=sharing) - Googlers only.

This is probably either a scheduling bug or a UI issue. I'm leaning towards thinking it's a UI issue, based on the trace. Looks like Widget::Show is synchronous, and somehow ends up blocking on me switching the backgrounded window into the foreground.
 

Comment 1 by sadrul@chromium.org, Jan 26 2017

Cc: thomasanderson@chromium.org
/cc +thomasanderson@

I think I have noticed this too. Could this be related to the x11 window mapping changes?
This sounds like it has the same root cause as  bug 505669 .

I think the UI thread is blocking on receiving a MapNotify, which it won't get because xmonad doesn't map the window until it's visible.

This CL should fix it: https://codereview.chromium.org/2329323002/
But for some reason the author stopped working on it
Mergedinto: 505669
Status: Duplicate (was: Available)

Sign in to add a comment