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

Issue 2817293002: Fix randomly disappearing icons in app list recent view. (Closed)

Created:
3 years, 8 months ago by khmel
Modified:
3 years, 8 months ago
Reviewers:
xiyuan, Devlin
CC:
chromium-reviews, chromium-apps-reviews_chromium.org, tfarina, Matt Giuca, extensions-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix randomly disappearing icons in app list recent view. This fixes race condition when extension is installed. BUG=711779 TEST=Manually on device. No flikering and no disappearing icons detected. Review-Url: https://codereview.chromium.org/2817293002 Cr-Commit-Position: refs/heads/master@{#464879} Committed: https://chromium.googlesource.com/chromium/src/+/37568714f8eba4d6ff7eaf2257e1a785a80753e6

Patch Set 1 #

Patch Set 2 : forgot UpdateIcon to match previous logic #

Total comments: 4

Patch Set 3 : rename function + comments #

Patch Set 4 : fix win compilation #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -9 lines) Patch
M chrome/browser/ui/app_list/search/extension_app_result.h View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/app_list/search/extension_app_result.cc View 1 2 3 chunks +21 lines, -9 lines 0 comments Download
M extensions/browser/extension_icon_image.h View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
khmel
Hi Xiyuan, Quite tricky case. Recent view is based on ExtensionAppResult. This element contains extension ...
3 years, 8 months ago (2017-04-14 21:27:28 UTC) #4
xiyuan
Yep, extension update would make IconImage detached because of the notification and no longer provide ...
3 years, 8 months ago (2017-04-14 21:44:43 UTC) #5
khmel
Thank you Xiyuan for quick review! Adding Devlin for extension/browser/ approval PTAL
3 years, 8 months ago (2017-04-14 21:51:09 UTC) #7
Devlin
extensions lgtm https://codereview.chromium.org/2817293002/diff/20001/chrome/browser/ui/app_list/search/extension_app_result.cc File chrome/browser/ui/app_list/search/extension_app_result.cc (right): https://codereview.chromium.org/2817293002/diff/20001/chrome/browser/ui/app_list/search/extension_app_result.cc#newcode53 chrome/browser/ui/app_list/search/extension_app_result.cc:53: void ExtensionAppResult::MaybeCreateIcon() { drive-by: perhaps this should ...
3 years, 8 months ago (2017-04-15 00:42:54 UTC) #8
khmel
Thank you for review! https://codereview.chromium.org/2817293002/diff/20001/chrome/browser/ui/app_list/search/extension_app_result.cc File chrome/browser/ui/app_list/search/extension_app_result.cc (right): https://codereview.chromium.org/2817293002/diff/20001/chrome/browser/ui/app_list/search/extension_app_result.cc#newcode53 chrome/browser/ui/app_list/search/extension_app_result.cc:53: void ExtensionAppResult::MaybeCreateIcon() { On 2017/04/15 ...
3 years, 8 months ago (2017-04-15 20:21:28 UTC) #9
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/2817293002/40001
3 years, 8 months ago (2017-04-15 20:21:41 UTC) #12
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/390289)
3 years, 8 months ago (2017-04-15 20:56:32 UTC) #14
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/2817293002/60001
3 years, 8 months ago (2017-04-15 22:36:36 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/431740)
3 years, 8 months ago (2017-04-15 23:49:41 UTC) #19
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/2817293002/60001
3 years, 8 months ago (2017-04-16 02:49:34 UTC) #21
commit-bot: I haz the power
3 years, 8 months ago (2017-04-16 03:37:42 UTC) #24
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/37568714f8eba4d6ff7eaf2257e1...

Powered by Google App Engine
This is Rietveld 408576698