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

Issue 614070 link

Starred by 2 users

Issue metadata

Status: Archived
Owner:
Last visit > 30 days ago
Closed: Nov 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug

Blocked on:
issue 603316



Sign in to add a comment

Support creation of toplevel mus::Windows on separate displays

Project Member Reported by sky@chromium.org, May 23 2016

Issue description

Widget::InitParams has a context property that is used to determine a root to create the new window. We need something similar for mus::Windows. I'm inclined to add a displayid property to WindowManger (eg WindowManager::kInitialDisplayId_Property). When the window manager creates the new window it'll use this property to determine which display to place the window on.
 

Comment 1 by staraz@chromium.org, Jul 26 2016

Owner: staraz@chromium.org
Status: Assigned (was: Available)

Comment 2 by sadrul@chromium.org, Jul 27 2016

Cc: sadrul@chromium.org
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 11 2016

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

commit 0dff8f03cb414500c273f158bff0635e977d206d
Author: kylechar <kylechar@chromium.org>
Date: Thu Aug 11 18:39:16 2016

Fix window/display bounds with multiple windows in mus.

Previously mus assumed that all displays and root windows had origin of
(0, 0) and were the primary display. This doesn't work with multiple
displays so use the proper display origin in screen space. Also keep
track of the primary display id.

This will ensure that root ServerWindows and ScreenMus have the correct
bounds for each display. This does not handle resizing or removing
displays correctly.

BUG= 625876 , 614070 

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

[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl_ozone.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl_ozone.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/service.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/display.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display_init_params.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display_init_params.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/test_utils.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/test_utils.h

Project Member

Comment 4 by bugdroid1@chromium.org, Aug 11 2016

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

commit 0dff8f03cb414500c273f158bff0635e977d206d
Author: kylechar <kylechar@chromium.org>
Date: Thu Aug 11 18:39:16 2016

Fix window/display bounds with multiple windows in mus.

Previously mus assumed that all displays and root windows had origin of
(0, 0) and were the primary display. This doesn't work with multiple
displays so use the proper display origin in screen space. Also keep
track of the primary display id.

This will ensure that root ServerWindows and ScreenMus have the correct
bounds for each display. This does not handle resizing or removing
displays correctly.

BUG= 625876 , 614070 

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

[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl_ozone.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/display/platform_screen_impl_ozone.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/service.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/display.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display_init_params.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/platform_display_init_params.h
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/test_utils.cc
[modify] https://crrev.com/0dff8f03cb414500c273f158bff0635e977d206d/services/ui/ws/test_utils.h

Components: MUS

Comment 6 by staraz@chromium.org, Sep 19 2016

Owner: thanhph@chromium.org
Components: Internals>MUS
Labels: Proj-Mustash
Status: Fixed (was: Assigned)
Status: Available (was: Fixed)
Cc: rjkroege@chromium.org kylec...@chromium.org
Components: -MUS
Labels: -mus -Proj-Mustash Proj-Mustash-Milestone-Tadpole Proj-Mustash-Mus-WS
Status: Fixed (was: Available)

Comment 13 by dchan@google.com, Mar 4 2017

Labels: VerifyIn-58

Comment 14 by dchan@google.com, Apr 17 2017

Labels: VerifyIn-59

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

Labels: VerifyIn-60
Labels: VerifyIn-61

Comment 17 by dchan@chromium.org, Oct 14 2017

Status: Archived (was: Fixed)
Components: -Internals>MUS Internals>Services>WindowService

Sign in to add a comment