Icon Caching Borked?

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Icon Caching Borked?

Post by TheQwerty »

I'm getting some weird icon caching issues with 6.30.0044.

I have a program I just compiled. XY shows the icon that was used when I first created it, I then compiled again overwriting the original with an EXE that hasn't changed except for it has a custom icon, and XY doesn't update the icon.

I refresh the cache and it updates to the new icon.

That's all expected behavior and functioning correctly.


What follows, is not..

I then hit F5 in the list and the original icon for the file is back. Refresh the list cache, new icon. Hit Change or Refresh the List View, old icon. Switch tabs and come back, old icon. Switch directories and return, old icon.


The program was also in the catalog and I can't get that entry to update at all unless I restart XY. "Refresh the cache" and "refresh all icons" (they're the same function no?) do not work.


So the catalog cache refreshing for programs just seems busted and the list caching doesn't seem to take.

I tested it with a shortcut as well and that updates properly so it seems to just be an issue with programs.

Anyone else seeing similar behavior?

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Icon Caching Borked?

Post by admin »

What you experience is a (rarely surfacing) bug in the Windows shell icon cache. Turn off "Cache specific icons" in conf/advanced. That should do it.

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

Ah ha! Had I looked at that option in the Wiki I'd have saved some time.

That works for the list, but the catalog still doesn't seem to update. Is there a separate option for that?

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

TheQwerty wrote:Ah ha! Had I looked at that option in the Wiki I'd have saved some time.

That works for the list, but the catalog still doesn't seem to update. Is there a separate option for that?
Refresh icons in catalog ctx menu does not help?

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:Refresh icons in catalog ctx menu does not help?
Nope. Nor does View -> Caches -> Refresh Catalog Icons Cache.

Only way I've found to get it to update was to restart XY.

admin
Site Admin
Posts: 66431
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Post by admin »

TheQwerty wrote:
admin wrote:Refresh icons in catalog ctx menu does not help?
Nope. Nor does View -> Caches -> Refresh Catalog Icons Cache.

Only way I've found to get it to update was to restart XY.
Which does not take much more time than clicking a menu option. :)

If this is a bug then it's lo prio...

TheQwerty
Posts: 4373
Joined: 03 Aug 2007 22:30

Post by TheQwerty »

admin wrote:Which does not take much more time than clicking a menu option. :)

If this is a bug then it's lo prio...
Consider it lower than low. :) It's a real rare case anyhow. Just thought I should report it in case it was the tip of something larger or might have cropped up with the recent Vista updates.

Post Reply