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

Issue 646418 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Sep 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Alt+Tab shows some horizontal movement on first display (sometimes)

Project Member Reported by est...@chromium.org, Sep 13 2016

Issue description

Valery noticed this and I saw it happen today. It seems to be worse when the first window is wide.

I believe I have a fix, and I guess it would be worth merging to m54 since it's pretty simple.
 

Comment 1 by varkha@chromium.org, Sep 13 2016

Cc: tdander...@chromium.org jamescook@chromium.org tbuck...@chromium.org
Components: UI>Shell>WindowManager
Labels: Proj-MaterialDesign-CrOS
Good news - we mentioned this today so adding a few people to watch this.

Comment 2 by est...@chromium.org, Sep 13 2016

Turns out the fix is less simple than I had hoped because I had to change views::Widget (which could have unforeseen repercussions). This line[1] is causing issues.

[1] https://cs.chromium.org/chromium/src/ui/views/widget/widget.cc?rcl=1473765485&l=515
Project Member

Comment 3 by bugdroid1@chromium.org, Sep 14 2016

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

commit 846a59b93f9911517c7aeb05b47af9b4c0cad175
Author: estade <estade@chromium.org>
Date: Wed Sep 14 01:21:06 2016

CrOS Window cycle ui - set widget bounds with initparams to avoid extra
resizing.

This also requires changing Widget::SetInitialBoundsForFramelessWindows,
which inexplicably constrains the bounds to a rectangle that is smaller
than the work area.

BUG= 646418 

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

[modify] https://crrev.com/846a59b93f9911517c7aeb05b47af9b4c0cad175/ash/common/wm/window_cycle_list.cc
[modify] https://crrev.com/846a59b93f9911517c7aeb05b47af9b4c0cad175/ui/views/widget/widget.cc

Comment 4 by est...@chromium.org, Sep 14 2016

Labels: Merge-Request-54
I'm a tad bit worried about merging this but I'll feel better if we let it cook for a little bit first. Adding merge request label, but I don't plan to merge for at least a few days or a week.

Comment 5 by dimu@chromium.org, Sep 15 2016

Labels: -Merge-Request-54 Merge-Approved-54 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M54 (branch: 2840)
Project Member

Comment 6 by sheriffbot@chromium.org, Sep 18 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 7 by sheriffbot@chromium.org, Sep 21 2016

This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 8 by bugdroid1@chromium.org, Sep 21 2016

Labels: -merge-approved-54 merge-merged-2840
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/9fa3cf6e6625f3ebdb8623262e0866f1d39e213f

commit 9fa3cf6e6625f3ebdb8623262e0866f1d39e213f
Author: Evan Stade <estade@chromium.org>
Date: Wed Sep 21 17:18:40 2016

CrOS Window cycle ui - set widget bounds with initparams to avoid extra resizing.

This also requires changing Widget::SetInitialBoundsForFramelessWindows,
which inexplicably constrains the bounds to a rectangle that is smaller
than the work area.

BUG= 646418 

Review-Url: https://codereview.chromium.org/2337213002
Cr-Commit-Position: refs/heads/master@{#418446}
(cherry picked from commit 846a59b93f9911517c7aeb05b47af9b4c0cad175)

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

Cr-Commit-Position: refs/branch-heads/2840@{#465}
Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607}

[modify] https://crrev.com/9fa3cf6e6625f3ebdb8623262e0866f1d39e213f/ash/common/wm/window_cycle_list.cc
[modify] https://crrev.com/9fa3cf6e6625f3ebdb8623262e0866f1d39e213f/ui/views/widget/widget.cc

Comment 9 by est...@chromium.org, Sep 21 2016

Status: Fixed (was: Started)
Status: Verified (was: Fixed)
Project Member

Comment 11 by bugdroid1@chromium.org, Oct 27 2016

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

commit 9fa3cf6e6625f3ebdb8623262e0866f1d39e213f
Author: Evan Stade <estade@chromium.org>
Date: Wed Sep 21 17:18:40 2016

CrOS Window cycle ui - set widget bounds with initparams to avoid extra resizing.

This also requires changing Widget::SetInitialBoundsForFramelessWindows,
which inexplicably constrains the bounds to a rectangle that is smaller
than the work area.

BUG= 646418 

Review-Url: https://codereview.chromium.org/2337213002
Cr-Commit-Position: refs/heads/master@{#418446}
(cherry picked from commit 846a59b93f9911517c7aeb05b47af9b4c0cad175)

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

Cr-Commit-Position: refs/branch-heads/2840@{#465}
Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607}

[modify] https://crrev.com/9fa3cf6e6625f3ebdb8623262e0866f1d39e213f/ash/common/wm/window_cycle_list.cc
[modify] https://crrev.com/9fa3cf6e6625f3ebdb8623262e0866f1d39e213f/ui/views/widget/widget.cc

Sign in to add a comment