Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Issue 2488993002: Restore maximized window position after detaching display. (Closed)

Created:
4 years, 1 month ago by atimoxin
Modified:
4 years, 1 month ago
Reviewers:
ananta, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Restore maximized window position after detaching display. Sometimes Windows incorrectly changes bounds of maximized windows after attaching or detaching additional displays. In this case user can see non-client area of the window (that should be hidden in normal case). This workaround code restores window position if problem occurs and also fixes problem with broken shortcuts for changing monitor (Win+Shift+Left or Win+Shift+Right) for maximized and fullscreen mode, caused by incorrect same monitor detection logic in OnWindowPosChanging() (see crbug.com/656001). BUG=651449, 656001 Committed: https://crrev.com/306338a1ac90527e74f9604cd5b202d1cdf2cb63 Cr-Commit-Position: refs/heads/master@{#432156}

Patch Set 1 #

Patch Set 2 : First reverted patch: Restore maximized window position after detaching display. #

Patch Set 3 : Second reverted patch: Don't apply maximized window bounds workaround if bounds aren't changed #

Patch Set 4 : New changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -6 lines) Patch
M ui/views/win/hwnd_message_handler.cc View 2 3 3 chunks +42 lines, -6 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
atimoxin
This is a second attempt of landing patch from crrev.com/2379063003. The problem described in crbug.com/656001 ...
4 years, 1 month ago (2016-11-09 16:11:24 UTC) #2
sky
Can you upload the two reverted patches as an early patch and the fix on ...
4 years, 1 month ago (2016-11-09 16:29:37 UTC) #3
atimoxin
On 2016/11/09 16:29:37, sky wrote: > Can you upload the two reverted patches as an ...
4 years, 1 month ago (2016-11-14 17:51:15 UTC) #4
sky
Thanks for the new patches. LGTM
4 years, 1 month ago (2016-11-14 20:23:43 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2488993002/60001
4 years, 1 month ago (2016-11-15 09:16:08 UTC) #7
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 1 month ago (2016-11-15 10:03:24 UTC) #8
commit-bot: I haz the power
4 years, 1 month ago (2016-11-15 10:05:18 UTC) #10
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/306338a1ac90527e74f9604cd5b202d1cdf2cb63
Cr-Commit-Position: refs/heads/master@{#432156}

Powered by Google App Engine
This is Rietveld 408576698