New issue
Advanced search Search tips

Issue 714137 link

Starred by 1 user

Issue metadata

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



Sign in to add a comment

Shelf does not show up in --mus

Project Member Reported by sky@chromium.org, Apr 21 2017

Issue description

Run chrome with --mus and notice the shelf never appears. This is recent as last week the shelf was working.
 

Comment 1 by sky@chromium.org, Apr 21 2017

Cc: jonr...@chromium.org jamescook@chromium.org

Comment 2 by msw@chromium.org, Apr 21 2017

Cc: msw@chromium.org
Owner: xiy...@chromium.org
It seems like Shell::OnSessionStateChanged is never called with an active session.
(that's the code path to initialize the shelf for the active session)
I'm digging a bit deeper, but passing to xiyuan@ for recent SessionController changes.

Comment 3 by xiy...@chromium.org, Apr 21 2017

Probably related to refactoring I did this week, suspect one of the two:
https://chromium-review.git.corp.google.com/c/478054/
https://chromium-review.git.corp.google.com/c/478455/

Will take a closer look...

Comment 4 by xiy...@chromium.org, Apr 21 2017

emm... seems like SessionController did not gets the call from SessionControllerClient somehow... Thus ash side session state is not updated.

Comment 5 by msw@chromium.org, Apr 21 2017

Reverting https://chromium-review.googlesource.com/c/478455/ didn't help.
Reverting https://chromium-review.git.corp.google.com/c/478054/ doesn't build cleanly.

Let me know if you want some help digging, but you probably have a better idea of SessionControllerClient behavior.

Comment 6 by xiy...@chromium.org, Apr 21 2017

Are we sure this worked last week? I have gone back to r462971 (Apr 7) and did not see the shelf.

I am running chrome with "--user-data-dir=<> --mus". Is that the correct command line to use?

Comment 7 by msw@chromium.org, Apr 21 2017

Scott should confirm. I never actually ran chrome --mus before. FYI, running with --login-manager --mus also shows no shelf, but pulls this right desktop wallpaper.

Comment 8 by sky@chromium.org, Apr 21 2017

I can't definitely say if the shelf worked last week. I thought it did, but I'm not 100% positive.

Comment 9 by xiy...@chromium.org, Apr 21 2017

I suspect somehow mojo services in ash is not exposed properly.

Could the following line indicate failures to connect to interfaces in ash?

[5916:5939:0421/132521.212714:1097067889608:ERROR:instance.cc(71)] Unable to locate service manifest for ash
[5916:5939:0421/132521.212960:1097067889850:ERROR:service_manager.cc(884)] Failed to resolve service name: ash
...
[5916:5939:0421/132521.596196:1097068273089:ERROR:instance.cc(71)] Unable to locate service manifest for ash

Comment 10 by sky@chromium.org, Apr 21 2017

In mushrome mode we shouldn't be connected to ash. I'll see if I can locate who is doing that.
I've seen these messages in the mus_browser_tests. There are currently a number of sites trying to bind to ash (https://cs.chromium.org/search/?q=ash::mojom::kServiceName&type=cs)

Those messages appear when they attempt to bind to the service, however it is not in the manifest, nor running separately.
But we would need to connect to the embedded ash service because SessionStateDelegate is replaced with mojo::SessionController and session state is only sent to ash via mojo now. This is the case with classic ash too. Can we enable embedded ash for mushroom mode?

Comment 13 by sky@chromium.org, Apr 21 2017

Yep, you are right. I think the manifests are wrong for mushrome. 

Comment 14 by sky@chromium.org, Apr 21 2017

Cc: xiy...@chromium.org
Owner: sky@chromium.org
Status: Started (was: Assigned)
Project Member

Comment 15 by bugdroid1@chromium.org, Apr 22 2017

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

commit 2b28384faa81887e11fe43ffa1e55c329f4da422
Author: sky <sky@chromium.org>
Date: Sat Apr 22 00:00:18 2017

Fixs catalogs for mash/mus

The mus catalog wasn't referring to ash, which meant attempts to
connect to ash failed.

BUG= 714137 
TEST=none
R=rockot@chromium.org

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

[modify] https://crrev.com/2b28384faa81887e11fe43ffa1e55c329f4da422/chrome/app/BUILD.gn
[modify] https://crrev.com/2b28384faa81887e11fe43ffa1e55c329f4da422/chrome/app/mash/BUILD.gn
[modify] https://crrev.com/2b28384faa81887e11fe43ffa1e55c329f4da422/chrome/test/BUILD.gn

Comment 16 by sky@chromium.org, Apr 22 2017

Status: Fixed (was: Started)

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

Labels: VerifyIn-60
Labels: VerifyIn-61

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

Status: Archived (was: Fixed)

Sign in to add a comment