Classic Shell
http://classicshell.net/forum/

Option to refresh folders icon and name
http://classicshell.net/forum/viewtopic.php?f=7&t=6426
Page 1 of 1

Author:  dfdf [ Mon Aug 01, 2016 9:00 pm ]
Post subject:  Option to refresh folders icon and name

This bug in Windows driving me nuts since XP. It's present till 2012R2 (didn't check w8 and above).

The problem is:
if you have desktop.ini file with LocalizedResourceName and/or IconResource, than after new profile created and/or sometimes after installing new windows updates localized name and icon got missing and not honored anymore. To fix this i need to right-click folder, select properties, customize, change icon and re-apply same icon as already present in IconResource. After that 'fix' localized name and icon comes back until some new update will break it again.

So the question is: is it possible to add such feature for automatic cache refresh of localized folder names in Classic Shell?
Thanx.

Attachments:
Screenshot_9.jpg
Screenshot_9.jpg [ 69.93 KiB | Viewed 24627 times ]

Author:  Gaurav [ Mon Aug 01, 2016 10:40 pm ]
Post subject:  Re: Option to refresh folders icon and name

Exit the Start Menu (right click on button). Then delete %localappdata%\ClassicShell\DataCache.db and open the Start Menu again from C:\Program Files\Classic Shell\ClassicStartMenu.exe. See if the icons are refreshed.

As for the text customized using desktop.ini, the changes will only be reflected in the Classic Start Menu if they're reflected in Windows Explorer. Restarting Explorer usually does the trick: http://winaero.com/blog/how-to-properly ... n-windows/

Author:  dfdf [ Wed Aug 03, 2016 2:29 pm ]
Post subject:  Re: Option to refresh folders icon and name

Gaurav wrote:
As for the text customized using desktop.ini, the changes will only be reflected in the Classic Start Menu if they're reflected in Windows Explorer. Restarting Explorer usually does the trick: http://winaero.com/blog/how-to-properly ... n-windows/


Nope, you're wrong. This doesn't help cause even after reboot localized folder names doesn't appear.
This happens because explorer maintains it's own localized strings cache in registry (as i suspect) and this cache cannot be refreshed in any automatic way.

That's why my question appeared.

I forgot to mention one noticeable thing: this happens for "dual-entity" folders, such as "Startup" and "Administrative Tools". Such folders exists both in user profile and system-wide. I suppose shell is incorrectly "merging" view of such folders in case of localized names and icons.

Exactly the same behavior is observed in windows explorer without ClassicShell installed.
After some kind of windows update (a suggest the one which tries to recreate shortcut(s) in such folders) names and icons are lost and needs to be "fixed" manually.
This is very annoying.

Author:  Gaurav [ Wed Aug 03, 2016 2:32 pm ]
Post subject:  Re: Option to refresh folders icon and name

OK you want to rename the built-in Windows folders by changing the localized names in desktop.ini, not the folders added by third party app installers.

Author:  dfdf [ Wed Aug 17, 2016 1:24 pm ]
Post subject:  Re: Option to refresh folders icon and name

Gaurav wrote:
OK you want to rename the built-in Windows folders


You're wrong again. I don't want to rename built-in folders, i just want to refresh their names as they're stated by default in desktop.ini.
desktop.ini correctly refers to built-in resource dlls, but classic shell menu (as well as windows explorer) DO NOT show those names, cause in some way cached version in registry is wrong and needs to be refreshed.
Currently, the only way to refresh the cache is to manually simulate changing folder icon. I suggest there is a way to do this automatically.

Author:  Ivo [ Wed Aug 17, 2016 7:38 pm ]
Post subject:  Re: Option to refresh folders icon and name

Wait, are you saying that Explorer shows the wrong name, or the Classic Shell menu?

Author:  Gaurav [ Thu Aug 18, 2016 12:48 am ]
Post subject:  Re: Option to refresh folders icon and name

Works for me on Windows 8.1. As soon as I change LocalizedResourceName in the Accessories folder desktop.ini, the change is reflected in Classic Start Menu and Explorer. If you want the change to reflected quickly, editing the desktop.ini in both per-user and All Users folder should work. Doesn't require any Explorer restart or changing icons here.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/