IE7 Hijacked my Icons!

Discussion in 'Internet Explorer' started by cpiad, Oct 16, 2006.

  1. Once you set up your custom icon for a Favorite, use the Properties dialog
    box for that Favorite to change the Attribute to "Read Only", this should
    prevent them from reverting||changing back to the default IE icon.

    Rightclick on the favorite and choose "Properties||General(tab)||Attributes:
    Tick the Read only box.

    Good luck,

    Donald Anadell
     
    Donald Anadell, Feb 5, 2009
    #21
    1. Advertisements

  2. cpiad

    c627627 Guest

    Interestingly, the read-only check box does not protect custom icons.

    Even rebuilding icon cache restores some but breaks the others.
    When rebuilding icon cache twice in a row, I can see different icons being
    restored while others in turn get broken and are made to display the generic
    "e" type web link icon. So it appears not all custom icons can be displayed
    correctly at the same time.


    taskkill /im explorer.exe /f
    CD %USERPROFILE%\AppData\Local
    attrib -h iconcache.db
    del iconcache.db
    explorer.exe


    There is no question about it, this can be replicated.
    1. Icon size has nothing to do with this problem.
    2. Setting Read-only attributes does not resolve this problem.
    3. This is not operating system related, it is an IE7 and IE8 *bug*.

    If anyone reading this is a beta tester for IE8, please request that IE8 be
    made not to disable custom icons *stored on the system,* they should be
    displayed correctly under both the Favorites menu in IE as well as in the
    Favorites *folder* itself. This feature is fully functional under IE6 but not
    under IE7 or IE8, regardless of the operating system.
     
    c627627, Feb 5, 2009
    #22
    1. Advertisements

  3. Maybe you better define to us in more detail exactly what you mean when you
    use the term "custom icon".

    To me, custom icon means that you maintain a seperate folder on you hard
    drive that contains icon files in the form of "some.ico". And when you
    assign an icon to a favorite you navigate to that folder and select on of
    those .ico files to be used as an icon for your Favorite. The read only
    attribute certainly works if this is your definition of "Custom Icon"...at
    least it works that way here in both IE6 and IE7.

    Good luck,

    Donald Anadell
     
    Donald Anadell, Feb 5, 2009
    #23
  4. cpiad

    c627627 Guest

    Absolutely. Your definition is correct: "To me, custom icon means that you
    maintain a separate folder on you hard drive that contains icon files in the
    form of "some.ico". And when you assign an icon to a favorite you navigate to
    that folder and select on of those .ico files to be used as an icon for your
    Favorite."

    Now that we've established that, you know how how sometimes in Windows 98
    icons weren't displayed correctly and we had to delete
    C:\WINDOWS\ShellIconCache and reboot to take care of that problem.. and in
    Windows XP we used TweakUI to Rebuild wrongly displayed icons... and now in
    Vista we make this *.bat file to rebuild icons:

    taskkill /im explorer.exe /f
    CD %USERPROFILE%\AppData\Local
    attrib -h iconcache.db
    del iconcache.db
    explorer.exe


    Well, just like Read-only attribute did not protect icons being wrongly
    displayed for that, so does Read-only attribute *not* protect Favorites
    folder icons from being wrongly displayed now, only this particular issue is
    *not* OS related but IE7 and IE8 related as can be proven by replicating this
    problem under Windows XP, where the problem exhibits itself identically to
    Vista *only after* IE7 is installed.
     
    c627627, Feb 6, 2009
    #24

  5. My guess would be that if the site specifies a favicon.ico in its pages
    that that's the icon you get, not whatever you tried to customize your
    Internet Shortcut (aka .URL file) as?

    If so, can you give a specific example? E.g. show the contents
    of a .URL file before your customizing, after your customizing,
    lock it, and then either demonstrate that the .URL file gets overwritten
    while locked or that a different icon is displayed with that shortcut
    in some cases. (Then: which cases?) Also, perhaps, your icon
    would be displayed (e.g. actually is being written) but is just later
    is being overridden by the rendering of the page's favicon?
    You could use ProcMon to see if that was the case.


    Good luck

    Robert
    ---
     
    Robert Aldwinckle, Feb 6, 2009
    #25
  6. Sorry, I don't have anything else to offer you. I don't have a
    configuration here as you've described yours:

    "dual boot XP-IE6 / Vista-IE7 which share the same Favorites folder"

    to test this on.

    What I can say, is that with all five machines I maintain here with Windows
    XP SP3 installed on them(3 with IE6, 2 with IE7) that I have never
    experienced the problem you describe nor can I reproduce it here. I use
    custom icons for favorites on all five machines, and once I set the
    Favorites icon and lock it down(using the Read only attribute) I've never
    seen it changed to another icon in either IE6 or IE7.

    Good luck,

    Donald Anadell
     
    Donald Anadell, Feb 6, 2009
    #26
  7. cpiad

    c627627 Guest

    I understand and thank you. What I will do now is begin the process of
    identifying problematic links/icons then have a few people test them on their
    systems to try to replicate the problem and then I'll look at the
    characteristics of the problematic .ico files. I'll let you know, I've been
    able to replicate the problem on three systems myself but I'll see if other
    people can too on theirs.

    One other thing though, how are you supposed to know which icon is assigned
    if whenever you try to change it, you always get
    %SystemRoot%\system32\SHELL32.dll as the custom icon... how then can you tell
    other then visually inspecting all your .ico files...
     
    c627627, Feb 6, 2009
    #27
  8. If you open up the actual .url file(for the Favorite in question) that
    resides in the actual "Favorites" folder on your hard drive with Notepad, it
    should show you what icon that .url file is using. "IconFile=" in the .url
    file itself defines where the icon that is used is located.

    Assuming your custom icons were stored in a folder named "Favorite Icons"
    located on your C:\ drive, then the .url for the favorite would look
    something like this when you looked at it with notepad.
    .................................

    [InternetShortcut]
    URL=http://someserver.com
    IconFile=C:\Program Files\Favorite Icons\some.ico
    IconIndex=0
    ................................

    Hope you get this sorted out.

    Good luck,

    Donald Anadell
     
    Donald Anadell, Feb 6, 2009
    #28
  9. cpiad

    c627627 Guest

    :


    Could you please set any random link in your Favorites folder to any of the
    *.ico files posted here:
    http://www.ocforums.com/showthread.php?t=594904
    to see if you can then go to your actual Favorites folder again after awhile
    to find them being reset to generic icons. Thank you kindly.
     
    c627627, Feb 7, 2009
    #29
  10. OK, I downloaded your TextIcons.zip file from the link you provided and
    tested them on a Windows XP SP3 machine with IE7 installed.

    I set up a test folder in my Favorites with ten random saved links in that
    folder.
    I extracted your icons from the zip file to a test folder on my hard drive.
    I manualy assigned each random link in the Test folder in Favorites with one
    of your custom icons.
    I used Windows Explorer to navigate to the Favorites folder on the hard
    drive to see if your icons were being displayed there as well as in IE7
    Favorites, they were showing just fine in both locations.
    I then set the file attribute on each of those files in the Favorites folder
    on the hard drive to Read Only.
    I rebooted the machine 5 times, no changes in the custom icons were made in
    IE7 or Windows Explorer.
    I visited each of the random sites that were using one of your icons as a
    Favorite Icon in IE7.
    I then rebooted 5 more times, no change to the custom icons assigned to
    those links was detected.

    Sorry, I still can not replicate your problem here.

    Good luck,

    Donald Anadell
     
    Donald Anadell, Feb 8, 2009
    #30
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.