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

Issue 231233004: Fix the bug related to reparent an item from folder which causes the folder item to be removed and … (Closed)

Created:
6 years, 8 months ago by jennyz
Modified:
6 years, 8 months ago
Reviewers:
xiyuan
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org, tfarina
Visibility:
Public.

Description

We should not try to change folder view's UI state if it is hidden for reparenting. The crash happens due to the |activated_view_| in top level grid view is removed since the associated folder item is removed, but the |activated_view_| is not reset to NULL. To completely prevent the similar issue, we should also integrate calamity's r261571. BUG=360887 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=262876

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M ui/app_list/views/app_list_folder_view.cc View 1 chunk +1 line, -1 line 2 comments Download

Messages

Total messages: 6 (0 generated)
jennyz
6 years, 8 months ago (2014-04-09 19:04:49 UTC) #1
xiyuan
lgtm https://codereview.chromium.org/231233004/diff/1/ui/app_list/views/app_list_folder_view.cc File ui/app_list/views/app_list_folder_view.cc (right): https://codereview.chromium.org/231233004/diff/1/ui/app_list/views/app_list_folder_view.cc#newcode144 ui/app_list/views/app_list_folder_view.cc:144: if (hide_for_reparent_ || layer()->opacity() == 0.0f) Do we ...
6 years, 8 months ago (2014-04-09 22:16:01 UTC) #2
jennyz
https://codereview.chromium.org/231233004/diff/1/ui/app_list/views/app_list_folder_view.cc File ui/app_list/views/app_list_folder_view.cc (right): https://codereview.chromium.org/231233004/diff/1/ui/app_list/views/app_list_folder_view.cc#newcode144 ui/app_list/views/app_list_folder_view.cc:144: if (hide_for_reparent_ || layer()->opacity() == 0.0f) On 2014/04/09 22:16:02, ...
6 years, 8 months ago (2014-04-09 22:24:48 UTC) #3
jennyz
The CQ bit was checked by jennyz@chromium.org
6 years, 8 months ago (2014-04-09 22:24:52 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/231233004/1
6 years, 8 months ago (2014-04-09 22:25:36 UTC) #5
commit-bot: I haz the power
6 years, 8 months ago (2014-04-10 00:29:27 UTC) #6
Message was sent while issue was closed.
Change committed as 262876

Powered by Google App Engine
This is Rietveld 408576698