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

Issue 2666413002: Fix opacity getting stuck when clicking on a new window while it's being created (Closed)

Created:
3 years, 10 months ago by afakhry
Modified:
3 years, 10 months ago
Reviewers:
James Cook, sky
CC:
chromium-reviews, kalyank, sadrul, dcheng
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix opacity getting stuck when clicking on a new window while it's being created While the window is being created, it's going through an opacity animation. Clicking on the window's title bar at this point, starts a drag. We must store the target opacity (rather than the current one) to be able to set it on drag completion, otherwise the window opacity will be stuck to its value at the time of the click. BUG=687003 Review-Url: https://codereview.chromium.org/2666413002 Cr-Commit-Position: refs/heads/master@{#448352} Committed: https://chromium.googlesource.com/chromium/src/+/1b08650cd63cbd6fa11cc5a840d716a3b945306b

Patch Set 1 #

Patch Set 2 : Adding more info #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M ash/common/wm/drag_details.cc View 1 1 chunk +4 lines, -1 line 1 comment Download

Messages

Total messages: 20 (13 generated)
afakhry
James, can you please take a look? Thanks!
3 years, 10 months ago (2017-02-02 18:04:49 UTC) #6
James Cook
Can you add a comment to either the CL description or the code explaining what ...
3 years, 10 months ago (2017-02-02 18:54:52 UTC) #7
afakhry
Done. Sorry, I created this CL initially as a proposal to be tested by reveman.
3 years, 10 months ago (2017-02-06 18:48:12 UTC) #11
James Cook
Nice docs. LGTM
3 years, 10 months ago (2017-02-06 18:58:26 UTC) #12
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/2666413002/20001
3 years, 10 months ago (2017-02-06 19:07:08 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://chromium.googlesource.com/chromium/src/+/1b08650cd63cbd6fa11cc5a840d716a3b945306b
3 years, 10 months ago (2017-02-06 19:37:12 UTC) #18
sky
3 years, 10 months ago (2017-02-06 22:37:59 UTC) #20
Message was sent while issue was closed.
https://codereview.chromium.org/2666413002/diff/20001/ash/common/wm/drag_deta...
File ash/common/wm/drag_details.cc (right):

https://codereview.chromium.org/2666413002/diff/20001/ash/common/wm/drag_deta...
ash/common/wm/drag_details.cc:56:
initial_opacity(window->GetLayer()->GetTargetOpacity()),
This is subtle. I would be nice to have test coverage.

Powered by Google App Engine
This is Rietveld 408576698