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

Issue 265843004: Avoids releasing capture in EndMoveLoop if capture was switched to another window while dragging (Closed)

Created:
6 years, 7 months ago by varkha
Modified:
6 years, 7 months ago
Reviewers:
sadrul
CC:
chromium-reviews, tfarina, ben+views_chromium.org, tdanderson+views_chromium.org, mdempsky
Visibility:
Public.

Description

Avoids releasing capture in EndMoveLoop if capture was switched to another window while dragging. This variant relies on checking if a drag input window still has capture before releasing the grab. A better alternative is in CL https://codereview.chromium.org/262893002/. BUG=363503 TEST=Follow the exact steps in the bug description. TEST=interactive_ui_tests --gtest_filter=*TabDragging* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=269593

Patch Set 1 #

Total comments: 8

Patch Set 2 : Avoids releasing capture in EndMoveLoop if capture was switched to another window (comments) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -2 lines) Patch
M ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc View 1 4 chunks +12 lines, -2 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
varkha
sadrul@, can you please take a look? I would prefer the approach in https://codereview.chromium.org/262893002/ but ...
6 years, 7 months ago (2014-05-02 20:26:49 UTC) #1
sadrul
What is our testing strategy for changes like this? https://codereview.chromium.org/265843004/diff/1/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc File ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc (right): https://codereview.chromium.org/265843004/diff/1/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc#newcode139 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc:139: ...
6 years, 7 months ago (2014-05-05 19:43:32 UTC) #2
varkha
Do you think this should be abandoned in favour of https://codereview.chromium.org/262893002/? I tried to make ...
6 years, 7 months ago (2014-05-06 22:22:12 UTC) #3
sadrul
On 2014/05/06 22:22:12, varkha wrote: > Do you think this should be abandoned in favour ...
6 years, 7 months ago (2014-05-07 14:10:45 UTC) #4
varkha
PTAL. My preference is still to land https://codereview.chromium.org/262893002/ instead. https://codereview.chromium.org/265843004/diff/1/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc File ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc (right): https://codereview.chromium.org/265843004/diff/1/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc#newcode139 ui/views/widget/desktop_aura/x11_whole_screen_move_loop.cc:139: ...
6 years, 7 months ago (2014-05-07 20:17:53 UTC) #5
varkha
Ping - this is still a backup plan, hope this can land and still get ...
6 years, 7 months ago (2014-05-09 15:12:38 UTC) #6
sadrul
lgtm
6 years, 7 months ago (2014-05-09 15:23:10 UTC) #7
varkha
The CQ bit was checked by varkha@chromium.org
6 years, 7 months ago (2014-05-09 15:45:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/varkha@chromium.org/265843004/40001
6 years, 7 months ago (2014-05-09 15:49:19 UTC) #9
commit-bot: I haz the power
Change committed as 269593
6 years, 7 months ago (2014-05-10 18:23:51 UTC) #10
mdempsky
On 2014/05/10 18:23:51, I haz the power (commit-bot) wrote: > Change committed as 269593 Is ...
6 years, 7 months ago (2014-05-10 20:17:26 UTC) #11
varkha
Not really. This change only affects files that get linked into a Linux / X11 ...
6 years, 7 months ago (2014-05-10 20:28:24 UTC) #12
mdempsky
6 years, 7 months ago (2014-05-10 20:29:06 UTC) #13
Message was sent while issue was closed.
A revert of this CL has been created in
https://codereview.chromium.org/276163002/ by mdempsky@chromium.org.

The reason for reverting is: Appears to be responsible for ash_unittests failing
on Linux ChromiumOS Tests(1):
http://build.chromium.org/p/chromium.chromiumos/builders/Linux%20ChromiumOS%2....

Powered by Google App Engine
This is Rietveld 408576698