RefreshListIconsCache doesn't refresh new file associations

Things you’d like to miss in the future...
Post Reply
Chris Wood
Posts: 272
Joined: 25 May 2004 13:01
Location: Wellington, New Zealand
Contact:

RefreshListIconsCache doesn't refresh new file associations

Post by Chris Wood »

I hate how the subject has to be so small in these forums. We should so use bugzilla...

Anywho, the View command Refresh List Icons Cache doesn't refresh icons when a new file association is made / the icon for a file association changes.
test everything. hold on to the good.

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

Re: RefreshListIconsCache doesn't refresh new file associati

Post by admin »

Yes, I also know this, uhm, fact. If file types got new icons, only a restart of the app will update them. I tried several times to fix this but failed. Under XP, the RefreshListIconsCache is practically useless for this. Under Win95 it worked and was very useful because the system image list in those days was buggy and needed a refresh from time to time.

Chris Wood
Posts: 272
Joined: 25 May 2004 13:01
Location: Wellington, New Zealand
Contact:

Post by Chris Wood »

So there's a Win95 bugfix menu command? :p
test everything. hold on to the good.

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

Post by admin »

Chris Wood wrote:So there's a Win95 bugfix menu command? :p
:) yes. The app runs fine under 95 (not officially but it does).

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: RefreshListIconsCache doesn't refresh new file associati

Post by zer0 »

admin wrote:Yes, I also know this, uhm, fact. If file types got new icons, only a restart of the app will update them. I tried several times to fix this but failed. Under XP, the RefreshListIconsCache is practically useless for this. Under Win95 it worked and was very useful because the system image list in those days was buggy and needed a refresh from time to time.
Digging up an old but still outstanding bug here. Have you tried SHChangeNotify with SHCNE_ASSOCCHANGED parameter?
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

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

Re: RefreshListIconsCache doesn't refresh new file associati

Post by admin »

zer0 wrote:
admin wrote:Yes, I also know this, uhm, fact. If file types got new icons, only a restart of the app will update them. I tried several times to fix this but failed. Under XP, the RefreshListIconsCache is practically useless for this. Under Win95 it worked and was very useful because the system image list in those days was buggy and needed a refresh from time to time.
Digging up an old but still outstanding bug here. Have you tried SHChangeNotify with SHCNE_ASSOCCHANGED parameter?
The problem in this case is not the missing notification but the difficulty of refreshing the process specific system image list.

zer0
Posts: 2673
Joined: 19 Jan 2009 20:11

Re: RefreshListIconsCache doesn't refresh new file associati

Post by zer0 »

admin wrote:The problem in this case is not the missing notification but the difficulty of refreshing the process specific system image list.
While I can't point you in the direction of a suitable solution as I don't know it, I do know that one exists. This is because another non-Explorer FM has it working. So it's not one of those Explorer's "inside" tricks. You probably have a bigger fish to fry though.
Reporting a bug? Have a wish? Got a question? Use search - View roadmap - FAQs: Forum + XY site
Windows 7/10
Always using the latest stable two-decimal build

Post Reply