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

Issue 2005163002: Avoid clobbering the app list pinned taskbar shortcut on startup (for now). (Closed)

Created:
4 years, 7 months ago by tapted
Modified:
4 years, 7 months ago
Reviewers:
gab
CC:
chromium-reviews, chrome-apps-syd-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Avoid clobbering the app list pinned taskbar shortcut on startup (for now). This is a partial revert of r393415 which removed checking for --show-app-list from shell_integration_win.cc's GetExpectedAppId(). This meant that the expected app_id for app launcher shortcuts would now be the same as regular Chrome. MigrateTaskbarPinsCallback() then successfully updates the app_id for the existing App Launcher shortcut, but Windows immediately sees 2 pinned apps for the same app_id and clobbers one of them. To fix, we need to keep the old app_id around for a bit longer. The shortcuts will be removed properly in a later milestone (from the taskbar as well as other places which are not currently clobbered by coincidence). BUG=613789 Committed: https://crrev.com/c2c690ab31976ed7bd715709606f736085d6b43e Cr-Commit-Position: refs/heads/master@{#395785}

Patch Set 1 #

Total comments: 4

Patch Set 2 : respond to comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M chrome/browser/shell_integration_win.cc View 1 2 chunks +10 lines, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 14 (8 generated)
tapted
Hi gab, please take a look
4 years, 7 months ago (2016-05-24 08:07:26 UTC) #5
gab
lgtm w/ nits https://codereview.chromium.org/2005163002/diff/1/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/2005163002/diff/1/chrome/browser/shell_integration_win.cc#newcode62 chrome/browser/shell_integration_win.cc:62: const wchar_t kAppListAppNameSuffix[] = L"AppList"; s/wchar_t/base::char16/ ...
4 years, 7 months ago (2016-05-24 16:01:25 UTC) #6
tapted
Thanks gab! https://codereview.chromium.org/2005163002/diff/1/chrome/browser/shell_integration_win.cc File chrome/browser/shell_integration_win.cc (right): https://codereview.chromium.org/2005163002/diff/1/chrome/browser/shell_integration_win.cc#newcode62 chrome/browser/shell_integration_win.cc:62: const wchar_t kAppListAppNameSuffix[] = L"AppList"; On 2016/05/24 ...
4 years, 7 months ago (2016-05-25 00:32:42 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2005163002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/2005163002/20001
4 years, 7 months ago (2016-05-25 00:34:25 UTC) #10
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 7 months ago (2016-05-25 02:49:17 UTC) #12
commit-bot: I haz the power
4 years, 7 months ago (2016-05-25 02:50:52 UTC) #14
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/c2c690ab31976ed7bd715709606f736085d6b43e
Cr-Commit-Position: refs/heads/master@{#395785}

Powered by Google App Engine
This is Rietveld 408576698