Project: chromium Issues People Development process History Sign in
New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.
Issue 91650 Multiple icon Google Chrome in taskbar when use profil
Starred by 59 users Reported by gauthier...@gmail.com, Aug 4 2011 Back to list
Status: Fixed
Owner:
Closed: Mar 2014
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment
Chrome Version       : 
Google Chrome	14.0.835.15 (Build officiel 94879) dev-m
Système d'exploitation	Windows
WebKit	535.1 (branches/chromium/835@92028)
JavaScript	V8 3.4.14.2
Flash	10,3,181,36
Agent utilisateur	Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.1 (KHTML, like Gecko) Chrome/14.0.835.15 Safari/535.1
Ligne de commande	"C:\Users\Gauthier\AppData\Local\Google\Chrome\Application\chrome.exe" --flag-switches-begin --enable-accelerated-drawing --enable-click-to-play --enable-compact-navigation --conflicting-modules-check --disable-gpu-vsync --ignore-gpu-blacklist --multi-profiles --new-tab-page-4 --enable-panels --ppapi-flash-in-process --preload-instant-search --enable-sync-typed-urls --enable-tab-groups-context-menu --flag-switches-end
Chemin d'accès exécutable	C:\Users\Gauthier\AppData\Local\Google\Chrome\Application\chrome.exe
Chemin d'accès au profil	C:\Users\Gauthier\AppData\Local\Google\Chrome\User Data\profile_2

What steps will reproduce the problem?
1.Enable user profile
2.Use a custom profile
3.Google Chrome to pin the taskbar.
4.Exit google chrome
5.Restart google chrome and observe the taskbar : 
http://uppix.net/6/9/b/3364bb608094d97b690065dca1513.png (or file attach)

What is the expected result?
Have a single superposed icon for Google Chrome in the taskbar.

What happens instead?
There is a second icon that is created when I click on the icon pinned.

Please provide any additional information below. Attach a screenshot if
possible.

 
good.png
13.7 KB View Download
Bad.png
12.1 KB View Download
Labels: -Area-Undefined Area-UI Feature-Profiles not-sync
even with 15.0.874.5 this is still happening. Now it shows your multi-profile icon on top of the taskbar chrome logo. So now you can identify who's profile it is - when you have multiple profiles open. But when pinning one profile to the taskbar, you would expect the profile icon to stay with it, but it doesn't. Then the next time you start chrome, that new chrome profile you pinned to the taskbar disappears... UGGH
Cc: sail@chromium.org binji@chromium.org
Status: Untriaged
Chrome 15.0.874.20 (r101723):

Yes, the multi-profile avatar is now superimposed upon the Chrome taskbar icon. However, it loses its identity when the window is closed and the icon is pinned to the taskbar.  Then, when you click on the taskbar icon, it always opens Chrome in the base profile instead of the one that created it. 
Owner: cpu@chromium.org
Status: Assigned
cpu, it looks like you are doing taskbarry-type stuff these days?
Comment 6 by Deleted ...@, Feb 17 2012
is this problem fixed yet? Because as of today I'm also having this problem and it's getting on my nerves..
Comment 7 by Deleted ...@, Feb 28 2012
the problem occurred to me on chrome 17. Signed out of Chrome Sync and singed back in and the next thing I noticed was the taskbar icon was not superimposed anymore. Updated to 18 Beta and the problem is still there. 
Comment 8 by rlp@chromium.org, Mar 7 2012
Cc: stevet@chromium.org cpu@chromium.org
 Issue 117105  has been merged into this issue.
Comment 9 by Deleted ...@, Mar 8 2012
Also occurred to me since Chrome 17 updated a few days ago. The problem was not present before it updated itself.

Win7 x64.

Comment 10 by Deleted ...@, Mar 8 2012
I get this in Win7 x64 too..

I'm using the multi-user feature. I would like to pin "X" user to the taskbar (with the corresponding icon)
Also having this issue on Win7 x64... Currently on version 19.0.1068.1 dev-m, but it's been like this for a few months now.
Found solution here: http://groups.google.com/a/googleproductforums.com/d/topic/chrome/Zp-5L7-0Zfw/discussion 

"Asen - Feb 7
I uninstalled Chrome and installed the version for multiple user accounts. Stand alone installer I think it's called. It fixed the problem so far. Regards!"

"arcataroger -Feb 20
Thank you, Asen. That did it! 
I used the "all user accounts" download from here: 
http://support.google.com/chrome/bin/answer.py?hl=en&answer=126299 
And that fixed the problem. Finally."
Comment 13 by Deleted ...@, Apr 11 2012
I tried the fix by Asen to reinstall Chrome for multiple user accounts and this did not solve the issue. Win7 32-bit, Google Chrome 18.0.1025.152 m. Multiple Google Chrome user profiles. Any new suggestions?
Deleting every Chrome related file and directory on the system, appdata and program files on windows, solved it for me.
Comment 15 by Deleted ...@, Apr 11 2012
Wow, thanks for the speedy response! I followed your advice and it worked! I also signed in with my chrome profile to sync back bookmarks etc. and it's still working. I am afraid to add another user though... don't really need that anyways. Thanks again!
Comment 16 by Deleted ...@, Apr 18 2012
I managed to reproduce this in a bit different way, but I think it's somewhat related. This happened after I went to Settings -> Personal Stuff -> Delete this user, and deleted the only user I had defined.

For me, the solution was to remove "C:\Users\UserName\AppData\Local\Google\Chrome\User Data" directory, which solved the problem.
Comment 17 by Deleted ...@, May 16 2012
Removing the User Data Folder seems to have worked for me as well.  Chrome 19.x is behaving once again.  Thanks. 
Deleting "this User" and removing the User Data Folder, as described by 'utamon' in comment 16,  worked for me too - only one instance of the Google Chrome icon in the taskbar again now. 

Which is good in one way, but now I don't have the benefit of all the stored preferences etc that were previously associated with that deleted 'User Data'! 

I can't believe that Google still hasn't sorted out what seems to me to be a stupid bug?! How can the developers go to all the trouble of creating the multiple user account features and miss such a dumb bug as this?!

"Chrome -> Settings -> Personal Stuff -> Delete this user, and deleted the only user I had defined.

For me, the solution was to remove "C:\Users\UserName\AppData\Local\Google\Chrome\User Data" directory, which solved the problem."
Comment 19 by rlp@chromium.org, May 25 2012
Cc: athigle@chromium.org
 Issue 129752  has been merged into this issue.
Comment 20 by rlp@chromium.org, Jun 8 2012
Cc: robertshield@chromium.org ananta@chromium.org gab@chromium.org
 Issue 124342  has been merged into this issue.
Comment 21 by Deleted ...@, Jun 11 2012
I can verify that removing the "User Data" folder corrected the issue.
Comment 22 Deleted
Comment 23 by Deleted ...@, Jul 3 2012
I've just found an easy fix from another web site (http://superuser.com/a/427823/143868)
1. Start Google Chrome (this creates a "new" taskbar icon)
2. Right click on the "new" icon and select "Pin this program to taskbar"
3. Go to: C:\Users\[YourUserName]\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar
4. You will see the two pinned "Google Chrome.lnk" here. Delete the "Google Chrome.lnk" 
5. Make "Google Chrome (1).lnk" readonly: Right Click -> Properties -> General tab -> tick Read-only -> Click OK
Comment 24 by Deleted ...@, Jul 31 2012
I don't know if this has been tried but I tried all the above suggestions which didn't work for me, this is really simple so i guess it's probably been tried already, but I ignored Occam's razor and tried the most complicated first. Instead I found this worked: 
1. Click on the original chrome icon to open the annoying second icon
2. Pin the second icon to the taskbar
3. Unpin the original

Then you should just have one Google Chrome icon.
Comment 25 by tuck...@gmail.com, Jul 31 2012
This has already been solved @ MollyHJa that will work until reboot / relogin

The answer is to install another version of chrome that you already have, i found the answer somewhere that explained it better >_>
Comment 26 Deleted
Just updated to 21.0.1180.89. I've tried a thousand "solutions" and still I have the same problem.

Comment 28 by Deleted ...@, Sep 11 2012
Here's a (the?) solution/cause:

1. In C:\Users\<USER>\AppData\Local\Google\Chrome\User Data there is a file called "Local State" (with no extension). It is a plain text file.
2. When this section is in the file, I get a second icon:

   "profile": {
      "info_cache": {
         "Profile 2": {
            "avatar_icon": "chrome://theme/IDR_PROFILE_AVATAR_0",
            "background_apps": false,
            "name": "Default Profile",
            "user_name": "XXXXXX@XXXXX.XXX"
         }
      },
      "last_used": "Profile 2",
      "profiles_created": 3

But when this section is there, no second icon:

   "profile": {
      "info_cache": {
         "Default": {
            "avatar_icon": "chrome://theme/IDR_PROFILE_AVATAR_0",
            "background_apps": false,
            "name": "Default Profile",
            "user_name": "XXXXXX@XXXXX.XXX"
         }
      },
      "last_used": "Default"

Simply deleting "Local State" and restarting Chrome will create a new file and solve the problem, but unless you sync your other settings, they'll be lost, too.  Alternatively, just change the "Profile 2" (or whatever) to "Default," and you should be back to only one icon on the taskbar.
Comment 29 by gab@chromium.org, Sep 11 2012
Cc: hallielaine@chromium.org
@hallielaine: could this be leftover state from the previous attempt at profile shortcuts (or even be caused by the recent re-enabling of it)?

@chad.ryan.thomas: is this happening today? is this new for you? are you on dev-channel?

Cheers,
Gab
No, the issue has not resurfaced for me since deleting the "User Data" folder in early June. 

Yes I'm running the dev channel. Version 23.0.1262.0 dev-m right now.
This issue is occurring on my system with the following specs:

Win7 SP1 X64
Dell Percision T1600 
Intel Xeon CPU E31225 @ 3.10GHz
8GB Memory
In a Domain (but with computers like mine, the issue DOES NOT occur)

Chrome Version 23.0.1271.10 beta-m
(and before I updated to the beta, the current stable release 22.0.1229.79)

If anyone wants more info, tell me what to post and perhaps how (if its overly complicated)
This started happening for me with Chrome Canary a while back (one month?). Maybe helpful: if I try to pin the second icon to the taskbar, it changes color from the 'gold' version (Canary) to the red-yellow-green version. Unpinning it changes it back to 'gold'. This is in Win8 x64 Enterprise, Canary 25.0.1334.0.

If I pin the second icon, I can see that it points to the same location: 
C:\Users\myname\AppData\Local\Google\Chrome SxS\Application\chrome.exe


Comment 33 by tjahj...@gmail.com, Dec 15 2012
Comment 28 fixes this issue. 
Comment 34 Deleted
Win7 x64
Version 23.0.1271.97 m

My solution to the problem, if you already have saved bookmarks etc and you want to keep them, is:
1. Go to C:\Users\<USER>\AppData\Local\Google\Chrome\User Data and delete "Local State"
2. Delete "Default" folder
3. Rename "Profile 2" to "Default"
4. Unpin Chrome from taskbar if you have it.
5. Open Chrome from C:\Users\<USER>\AppData\Local\Google\Chrome\Application\chrome.exe
6. Pin Chrome to taskbar.

Hope it helps :)
Comment 36 by Deleted ...@, Jan 24 2013
Comment #35 fixed mine, thank you so much!
Project Member Comment 37 by bugdroid1@chromium.org, Mar 10 2013
Labels: -Area-UI -Feature-Profiles Cr-UI-Browser-Profiles Cr-UI
Sorry but this is not fixed in v29.0.1516.3 dev-m and the mentioned "fixes" in this thread are bogus:

1) It is a feature from Google Chrome to support different folders

For example in our environment we set this supported policy

[HKEY_CURRENT_USER\Software\Policies\Google\Chrome]
"UserDataDir"="${roaming_app_data}\\Google\\Chrome"
"DiskCacheDir"="${local_app_data}\\Google\\Chrome"

(it is the same like using command line parameters)

When we do that, every Chrome instance will get its own icon instead of using the pinned one.


2) All the mentioned "fixes" in this thread recommend to use the non-system installer and or default locations. Again, this is a supported feature so these workarounds are wrong. Stop telling someone you have fixed the problem! You have not.

Thanks.
Comment 39 by gab@chromium.org, May 29 2013
Cc: calamity@chromium.org asvitk...@chromium.org
This problem is related to Chrome's ability to create multiple profiles. Currently, Chrome designates a different App ID for each profile that is not the default profile. While the default profile's App ID is simply "Chrome", non-default profile windows are spawned with the App ID "Chrome.UserData.Profile[ProfileNumber]". Because Explorer combines taskbar items by App ID, non-default profile windows are spawned as a different icon on the taskbar and can't be combined with the pinned icon, which will have the App ID "Chrome".

There are several factors that contribute to this effect:
1) Chrome assigns the App ID "Chrome" to any shortcut (.lnk) linked to the main executable (chrome.exe), including the pinned shortcut stored in %APPDATA%\Roaming\Microsoft\Internet Explorer\Quicklaunch\User Pinned\Taskbar\.
2) If the App ID of a shortcut is changed (using software like win7appid.exe), any one of the following events will cause the App ID of ALL shortcuts pointing to the main executable to revert back to the default "Chrome":
  * Closing all instances of Chrome and reopening.
  * Adding or removing a user from the Settings page.
  * Adding or removing a desktop shortcut using the Edit user page.
  * Restarting the computer and reinitiating Chrome.
3) Chrome does not reassign a default user once the default user's profile has been deleted, instead, any remaining users will have their profiles stored in their own "Profile [ProfileNumber]" folder and launched with their own "Chrome.UserData.Profile[ProfileNumber]" App ID.

The factors cited above illustrate why the issue occurs, and why deleting the User Data folder has worked for some users--because it recreates the Default user profile and folder for the current installation that will launch with the App ID "Chrome" and so can be combined with the pinned item on the taskbar.

The most straightforward remedy to this problem will be to remove the code within the main executable that forces shortcuts linked to it to use the "Chrome" App ID. Instead, the main executable should be allowed to determine whether the shortcut is intended for the default user or a particular user without influencing the referencing shortcut (the argument handler --profile-directory="Profile[ProfileNumber]" already exists under which this can be implemented).

Additionally, the Default User for a given installation should be selectable when multiple profiles exist, or be set to the lone available user if they do not. This can be done by making the Default folder in the User Data folder a hard link of the designated default profile, instead of existing as an actual folder.

These, and having desktop shortcuts generated by Chrome for each user be created with their respective "Chrome.UserData.Profile[ProfileNumber]" App ID should not only remedy this long-standing problem, but will also allow for implementation of a requested enhancement (pinning individual user profile shortcuts to the Windows taskbar) without much fuss.

WTYGT?
Comment 41 by gab@chromium.org, Jun 18 2013
Owner: calamity@chromium.org
Status: Started
You are correct, we are currently working towards this, --profile-directory used by the new profile shortcuts as you have noticed is a step in that direction.

A lot of refactoring was required to make taskbar pin shortcuts work properly per-profile after all Chrome windows have been closed. calamity@ did a lot of this work and we are most of the way there I think.

Cheers!
Gab
Comment 42 by Deleted ...@, Jun 21 2013
Fix:

Go to C:\Program Files\Google\Chrome\Application (for 32 bit) or C:\Program Files (x86)\Google\Chrome\Application (for 64 bit).

Open the folder with the highest number. For me at the time of writing this is 27.0.1453.116.

In the folder, you'll find a chrome_launcher.exe.
Run that and then pin the newly opened Chrome to your T-bar.

Hope this helps.

Greetings,
Justin
Justin,

Does that method hold with multiple Chrome profiles even after all Chrome processes have been stopped (use the Task Manager for this) and restarted, after a new user is added or removed, or after restarting the computer? And does this work even after switching user profiles?

Please test your fixes rigorously before posting them.
This bug seems to have gone off in a lot of different directions. The original repro steps don't seem to cause any bugs. The suggestions in comment #40 have been implemented or obsoleted by recent work.

Is there any work to be done on this bug? If someone finds an issue with canary or dev channel regarding this, please let me know. Otherwise I'll close this issue as fixed.
Status: Fixed
Closing as foreshadowed.
Comment 46 Deleted
Comment 47 by btr...@gmail.com, Jul 6 2015
Is this never going to be fixed? Version 43 still has this issue on Windows 7 & 8.1.
#47: This bug is way too stale and doesn't really capture the current state of things. Can you please file a new bug for your issue? cc me, gab and noms.
Comment 49 Deleted
For me the problem lies in that I'm unable to identify which profile belongs the undecorated icon in the launch bar.
#50: A simple workaround is to unpin the undecorated icon and then pin the icons for the profiles you want to be on the taskbar (you can run the profile and then right click the taskbar group -> Pin to Taskbar).

This issue is currently being caused by the fact that the default shortcut doesn't have a profile associated with it and just launches the last used profile.
Sign in to add a comment