Shelf does not show up in --mus |
|||||||
Issue descriptionRun chrome with --mus and notice the shelf never appears. This is recent as last week the shelf was working.
,
Apr 21 2017
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.
,
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...
,
Apr 21 2017
emm... seems like SessionController did not gets the call from SessionControllerClient somehow... Thus ash side session state is not updated.
,
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.
,
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?
,
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.
,
Apr 21 2017
I can't definitely say if the shelf worked last week. I thought it did, but I'm not 100% positive.
,
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
,
Apr 21 2017
In mushrome mode we shouldn't be connected to ash. I'll see if I can locate who is doing that.
,
Apr 21 2017
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.
,
Apr 21 2017
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?
,
Apr 21 2017
Yep, you are right. I think the manifests are wrong for mushrome.
,
Apr 21 2017
,
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
,
Apr 22 2017
,
May 30 2017
,
Aug 1 2017
,
Jan 22 2018
|
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by sky@chromium.org
, Apr 21 2017