New issue
Advanced search Search tips

Issue 603419 link

Starred by 0 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2016
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug



Sign in to add a comment

ash_unittests broken

Project Member Reported by vabr@chromium.org, Apr 14 2016

Issue description

Broken tests:
DisplayManagerTest.UnifiedWithDockWindows
NormalOrPanel_DockedWindowLayoutManagerTest.DisplayDisconnectionMovesDocked_0
NormalOrPanel_DockedWindowLayoutManagerTest.DisplayDisconnectionMovesDocked_1

Logs attached.

Blame list contains https://codereview.chromium.org/1882713004 as the most suspicious CL, will revert.
Assigning to the author of the reverted CL.
 
DisplayManagerTest.UnifiedWithDockWindows.html
55.5 KB View Download
NormalOrPanel_DockedWindowLayoutManagerTest.DisplayDisconnectionMovesDocked_0.html
53.1 KB View Download
NormalOrPanel_DockedWindowLayoutManagerTest.DisplayDisconnectionMovesDocked_1.html
53.1 KB View Download
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 14 2016

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

commit bc758d44cc3a893ac37fd54c991798aba7175698
Author: vabr <vabr@chromium.org>
Date: Thu Apr 14 08:01:45 2016

Revert of Only create DockedBackgroundWidget as needed. (patchset #6 id:100001 of https://codereview.chromium.org/1882713004/ )

Reason for revert:
Broke ash_unittests. More info in  http://crbug.com/603419 .

BUG= 603419 

Original issue's description:
> Only create DockedBackgroundWidget as needed.
>
> This util widget shows up as a user window shelf icon in mash.
> Don't create this widget until it's needed (not used in mash).
>
> We currently put kShellWindowId_DockedContainer windows in mash::wm::mojom::Container::USER_WINDOWS, which might be okay in the long run, but even if we put them in a separate container, we would need UserWindowControllerImpl to track that container's set of user windows (to show shelf icons); so we would need to single out this widget as a non-user-window somehow.
>
> We currently don't support docking in mash, but if we choose to use ash's DockedWindowLayoutManager (and DockedBackgroundWidget), we'll need to avoid tracking this background widget as a user window.
>
> BUG=NONE
> TEST="mojo_runner mojo:mash_session" doesn't show a mysterious shelf icon at startup.
> R=sky@chromium.org
>
> Committed: https://crrev.com/14816ec6589c41b5a34f7b534b1c1565c97fe2d7
> Cr-Commit-Position: refs/heads/master@{#387182}

TBR=sky@chromium.org,msw@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=NONE

Review URL: https://codereview.chromium.org/1888733002

Cr-Commit-Position: refs/heads/master@{#387259}

[modify] https://crrev.com/bc758d44cc3a893ac37fd54c991798aba7175698/ash/wm/dock/docked_window_layout_manager.cc
[modify] https://crrev.com/bc758d44cc3a893ac37fd54c991798aba7175698/ash/wm/dock/docked_window_layout_manager.h

Comment 2 by msw@chromium.org, Apr 14 2016

Cc: vabr@chromium.org
Which bot(s) broke? Please link to the failed builds.

Comment 4 Deleted

Project Member

Comment 5 by bugdroid1@chromium.org, Apr 15 2016

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

commit 21a784910f87c59e1db7d8034088d34268753d9d
Author: msw <msw@chromium.org>
Date: Fri Apr 15 00:09:34 2016

Only create DockedBackgroundWidget as needed.

This util widget shows up as a user window shelf icon in mash.
Don't create this widget until it's needed (not used in mash).

We currently put kShellWindowId_DockedContainer windows in mash::wm::mojom::Container::USER_WINDOWS, which might be okay in the long run, but even if we put them in a separate container, we would need UserWindowControllerImpl to track that container's set of user windows (to show shelf icons); so we would need to single out this widget as a non-user-window somehow.

We currently don't support docking in mash, but if we choose to use ash's DockedWindowLayoutManager (and DockedBackgroundWidget), we'll need to avoid tracking this background widget as a user window.

BUG= 603419 
TEST="mojo_runner mojo:mash_session" doesn't show a mysterious shelf icon at startup.
R=sky@chromium.org

Committed: https://crrev.com/14816ec6589c41b5a34f7b534b1c1565c97fe2d7
Cr-Commit-Position: refs/heads/master@{#387182}

Review URL: https://codereview.chromium.org/1882713004

Cr-Commit-Position: refs/heads/master@{#387486}

[modify] https://crrev.com/21a784910f87c59e1db7d8034088d34268753d9d/ash/wm/dock/docked_window_layout_manager.cc
[modify] https://crrev.com/21a784910f87c59e1db7d8034088d34268753d9d/ash/wm/dock/docked_window_layout_manager.h

Comment 6 by msw@chromium.org, Apr 15 2016

Status: Fixed (was: Started)
Should be fixed, please reopen or ping me if the relanded cl causes any test failures.

Comment 7 by vabr@chromium.org, Apr 15 2016

(Sorry for the missed links, not sure where I dropped them. Also, thanks for fixing!)
Cc: -vabr@chromium.org

Sign in to add a comment