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

Issue 265723003: Fix app list drag view being hidden on reparent when synchronous drag is setting up. (Closed)

Created:
6 years, 7 months ago by calamity
Modified:
6 years, 7 months ago
Reviewers:
tapted
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@app_list_win_stuck_icons_real
Visibility:
Public.

Description

Fix app list drag view being hidden on reparent when synchronous drag is setting up. This CL fixes an issue where reparenting would hide the folder grid view that was hosting the drag view, causing the root level to get visible drag view. To get around this, allow the folder grid view to tell the root grid view to show its drag view until the synchronous drag sets up. BUG=368948 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268157

Patch Set 1 #

Total comments: 4

Patch Set 2 : address comments #

Total comments: 2

Patch Set 3 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+30 lines, -1 line) Patch
M ui/app_list/views/app_list_folder_view.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/views/app_list_folder_view.cc View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_grid_view.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M ui/app_list/views/apps_grid_view.cc View 1 2 3 chunks +18 lines, -1 line 0 comments Download
M ui/app_list/views/apps_grid_view_folder_delegate.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M ui/app_list/views/apps_grid_view_unittest.cc View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
calamity
6 years, 7 months ago (2014-05-01 02:34:25 UTC) #1
tapted
nice work figuring this one out - that's some awesome debugging! I think it can ...
6 years, 7 months ago (2014-05-01 05:54:46 UTC) #2
calamity
6 years, 7 months ago (2014-05-01 07:18:06 UTC) #3
calamity
https://codereview.chromium.org/265723003/diff/1/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/265723003/diff/1/ui/app_list/views/apps_grid_view.cc#newcode498 ui/app_list/views/apps_grid_view.cc:498: synchronous_drag_ = NULL; On 2014/05/01 05:54:47, tapted wrote: > ...
6 years, 7 months ago (2014-05-01 08:04:40 UTC) #4
tapted
lgtm https://codereview.chromium.org/265723003/diff/10001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/265723003/diff/10001/ui/app_list/views/apps_grid_view.cc#newcode505 ui/app_list/views/apps_grid_view.cc:505: } else if (!synchronous_drag_->running()) { nit: I think ...
6 years, 7 months ago (2014-05-02 01:52:46 UTC) #5
calamity
https://codereview.chromium.org/265723003/diff/10001/ui/app_list/views/apps_grid_view.cc File ui/app_list/views/apps_grid_view.cc (right): https://codereview.chromium.org/265723003/diff/10001/ui/app_list/views/apps_grid_view.cc#newcode505 ui/app_list/views/apps_grid_view.cc:505: } else if (!synchronous_drag_->running()) { On 2014/05/02 01:52:47, tapted ...
6 years, 7 months ago (2014-05-02 04:28:37 UTC) #6
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 7 months ago (2014-05-05 01:00:30 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/265723003/30001
6 years, 7 months ago (2014-05-05 01:00:34 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 7 months ago (2014-05-05 01:02:24 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_clang_dbg on tryserver.chromium
6 years, 7 months ago (2014-05-05 01:02:24 UTC) #10
calamity
On 2014/05/02 01:52:46, tapted wrote: > lgtm > > https://codereview.chromium.org/265723003/diff/10001/ui/app_list/views/apps_grid_view.cc > File ui/app_list/views/apps_grid_view.cc (right): > ...
6 years, 7 months ago (2014-05-05 02:34:09 UTC) #11
tapted
On 2014/05/05 02:34:09, calamity wrote: > On 2014/05/02 01:52:46, tapted wrote: > > lgtm > ...
6 years, 7 months ago (2014-05-05 03:43:31 UTC) #12
calamity
The CQ bit was checked by calamity@chromium.org
6 years, 7 months ago (2014-05-05 06:13:40 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/calamity@chromium.org/265723003/50001
6 years, 7 months ago (2014-05-05 06:13:50 UTC) #14
commit-bot: I haz the power
6 years, 7 months ago (2014-05-05 13:11:09 UTC) #15
Message was sent while issue was closed.
Change committed as 268157

Powered by Google App Engine
This is Rietveld 408576698