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

Issue 694846 link

Starred by 5 users

Issue metadata

Status: Archived
Owner:
Closed: Apr 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

Mus in renderer results in blue sign in page

Project Member Reported by sky@chromium.org, Feb 22 2017

Issue description

Launch mash on the desktop using the login-manager:

rm -rf /tmp/xx ; ./out/Debug2/chrome --mash --login-manager --disable-setuid-sandbox --no-sandbox --user-data-dir=/tmp/xx --ozone-platform=x11

. Choose a network.
. The login panel shows all blue.

Running with --no-use-mus-in-renderer fixes it.

I've attached two screenshots, one of what it should look like (good.png) and other as it actually looks.
 
good.png
76.7 KB View Download
bad.png
40.7 KB View Download

Comment 1 by sadrul@chromium.org, Feb 22 2017

Cc: rjkroege@chromium.org fsam...@chromium.org
Hm interesting. I think the missing box is a <webview> or some such weirdness.
Heh. Yea it's a webview. I guess that makes me the right OWNER for this bug. I'll pick it up tomorrow. 


Comment 3 by sadrul@chromium.org, Feb 28 2017

Cc: sadrul@chromium.org
Owner: fsam...@chromium.org
--> fsamuel@ as per c#2
Cc: xiy...@chromium.org
Saw this on today's ToT too. The webview is still usable (i.e. you can login if you typed everything correctly), just not visible.
I've also seen this on device, and also with a white rectangle. And as xiyuan notes, I was able to type into it and log in.

Cc: thanhph@chromium.org
Cc: mfomitchev@chromium.org
Roughly what I think needs to happen:

1. RenderWidgetHostViewChildFrame needs to get a mus window.
2. The parent RendererWindowTreeClient needs to identify which window gets the embedding. This is tricky because Chrome FrameSinkIds and Mus FrameSinkIds do not match. One solution is to hang the Chrome FrameSinkId as a property off the mus window that is then propagated to the parent. For BrowserPlugin-based <webview>, we probably need to stick the instance ID on the window. IIRC that's just a routing ID.
Owner: wjmaclean@chromium.org
mknowles@ / wjmaclean@ can you assign appropriately

Comment 10 by sky@chromium.org, Mar 17 2017

Owner: mknowles@chromium.org
Looks like James is on vacation. Mike, do you know someone that has time for this?
Cc: mknowles@chromium.org
Owner: lfg@chromium.org
Lucas - could you take a look?

Comment 12 by lfg@chromium.org, Mar 20 2017

I can look at it, but I have a couple of other bugs I need to prioritize first. Does this needs to be Pri 1?

Comment 13 by sky@chromium.org, Mar 20 2017

I would like to resolve this in the next week. Will you have time for that? If not, just say so and I'll see if someone else has time.

Comment 14 by lfg@chromium.org, Mar 20 2017

Cc: lfg@chromium.org
Owner: sky@chromium.org
That would be better. I'm just coming back from vacation and have too many things on my plate for this week.

Owner: sadrul@chromium.org
Status: Started (was: Assigned)
Cc: kylec...@chromium.org sky@chromium.org jamescook@chromium.org
 Issue 704559  has been merged into this issue.

Comment 17 by sky@chromium.org, Mar 27 2017

Labels: mustash-2
Cc: jonr...@chromium.org
Project Member

Comment 19 by bugdroid1@chromium.org, Apr 10 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1e0366fc5f961223c1862ff96a0bcd1302df32cd

commit 1e0366fc5f961223c1862ff96a0bcd1302df32cd
Author: sadrul <sadrul@chromium.org>
Date: Mon Apr 10 19:52:55 2017

mus: Fix showing guest views in --mash and --mus.

It is necessary to notify the RenderWidgetHostViewChildFrame of the
surface associated with the child-frame, so that it can correctly notify
the embedder.

This fixes the login screen, opening pdf files in chrome, etc.

BUG= 694846 
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation

Review-Url: https://codereview.chromium.org/2804753002
Cr-Commit-Position: refs/heads/master@{#463372}

[modify] https://crrev.com/1e0366fc5f961223c1862ff96a0bcd1302df32cd/content/browser/frame_host/render_widget_host_view_child_frame.cc
[modify] https://crrev.com/1e0366fc5f961223c1862ff96a0bcd1302df32cd/content/browser/frame_host/render_widget_host_view_child_frame.h
[modify] https://crrev.com/1e0366fc5f961223c1862ff96a0bcd1302df32cd/content/browser/renderer_host/render_widget_host_view_aura.cc
[modify] https://crrev.com/1e0366fc5f961223c1862ff96a0bcd1302df32cd/content/browser/renderer_host/render_widget_host_view_aura.h
[modify] https://crrev.com/1e0366fc5f961223c1862ff96a0bcd1302df32cd/content/browser/renderer_host/render_widget_host_view_base.h
[modify] https://crrev.com/1e0366fc5f961223c1862ff96a0bcd1302df32cd/ui/aura/mus/window_port_mus.cc
[modify] https://crrev.com/1e0366fc5f961223c1862ff96a0bcd1302df32cd/ui/aura/window_delegate.h

Status: Fixed (was: Started)

Comment 21 by dchan@google.com, May 30 2017

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 23 by dchan@chromium.org, Jan 22 2018

Status: Archived (was: Fixed)

Sign in to add a comment