Page 1 of 2

Folder icons are generic ?!

Posted: 14 Feb 2012 20:24
by chavlji
Here is a screenshot to see the difference between xy and win explorer.
Image
In win explorer my desktop icon is the right one. The same goes for violet icons for folders that don't have specific icons (desktop.ini).
To get viola icons instead of xp yellow ones I've modified registry values in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\3 and 4.

On right side are xyplorer settings. I don't use "show generic icons..."

I use this xyplorer version as a portable one.

How to fix this?

Re: Folder icons are generic ?!

Posted: 17 Feb 2012 19:06
by chavlji
No one? Is there anyone who made it work:

So that xyplorer is showing the changed shell icons?

Re: Folder icons are generic ?!

Posted: 18 Feb 2012 03:09
by serendipity
chavlji wrote:No one? Is there anyone who made it work:

So that xyplorer is showing the changed shell icons?
I don't use custom icons, so cannot comment. But look at this related post:
http://www.xyplorer.com/xyfc/viewtopic. ... 977#p68977

Re: Folder icons are generic ?!

Posted: 18 Feb 2012 10:57
by admin
chavlji wrote:No one?
Are the folder icons generic always and everywhere in XY? Address Bar, Catalog, etc... ?

Re: Folder icons are generic ?!

Posted: 18 Feb 2012 16:38
by chavlji
Yes. In tree, both lists, catalog and address bar.
I've unpacked clean zip portable version and same story there.

Serendipity, I've already read all the posts regarding "icons".

Re: Folder icons are generic ?!

Posted: 18 Feb 2012 18:52
by admin
chavlji wrote:Yes. In tree, both lists, catalog and address bar.
I've unpacked clean zip portable version and same story there.

Serendipity, I've already read all the posts regarding "icons".
OK, that means I have done a good job in making all plain folders icons generic -- of course for performance reasons.
To get viola icons instead of xp yellow ones I've modified registry values in
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons\3 and 4.
In what way did you modify them?

Re: Folder icons are generic ?!

Posted: 18 Feb 2012 20:32
by chavlji
OK, that means I have done a good job in making all plain folders icons generic -- of course for performance reasons.
If so, why drawing icons at all? Performance would have been better without them. :roll:
I've disabled "use generic icons" everywhere in configuration.

In fact it displays generic icons (from shell32.dll) for all items: files of unknown type, folders, desktop. But it correctly displays icons for my computer, recycle bin, network places.

Here's printscreen of this registry keys:

Image

Re: Folder icons are generic ?!

Posted: 19 Feb 2012 10:31
by admin
What OS? I see no key "Shell Icons" neither in XP nor Win7.

Re: Folder icons are generic ?!

Posted: 20 Feb 2012 11:27
by chavlji
Hm. I've checked it at work where I have a comp with win7 x64. I haven't altered icons on this comp and also don't have "shell icons" folder anywhere inside the registry.
I've searched for "%SystemRoot%\System32\shell32.dll,3" while icon with index 3 is closed shell folder and there are 4 entries with this value.

If you're using system's native sysimagelist than this might be a problem. I've used it in some Delphi program of mine and folder icons were also generic there.

But I've tried "speed commander" and it displays all the icons right. So it can be done.

I've also asked here:
http://www.xyplorer.com/xyfc/viewtopic.php?f=3&t=7623

... and got some interesting response although i haven't solved the matter.

Re: Folder icons are generic ?!

Posted: 21 Feb 2012 10:05
by admin
Basically XY relies on the shell for the folder icons. That means if you patch the registry in the right places, you can have XY display any icon you like for folders.

Re: Folder icons are generic ?!

Posted: 23 Feb 2012 19:05
by chavlji
Which are those right places? I've already replaced every instance of "%SystemRoot%\System32\shell32.dll,3" and "%SystemRoot%\System32\shell32.dll,4"...

Explorer and SpeedCommander are both showing the correct icons.

Re: Folder icons are generic ?!

Posted: 23 Feb 2012 19:39
by admin
chavlji wrote:Which are those right places? I've already replaced every instance of "%SystemRoot%\System32\shell32.dll,3" and "%SystemRoot%\System32\shell32.dll,4"...

Explorer and SpeedCommander are both showing the correct icons.
In that case it's the speed optimation (which indeed has to do with generic icons) that makes the difference. I won't do anything about this ATM.

Re: Folder icons are generic ?!

Posted: 23 Feb 2012 20:09
by chavlji
But under settings I don't have checked generic icons for anything !?
Is this some forced optimization?

And how can that even be speed optimization? Purple icon takes no longer to be drawn than the yellow one... If it's about obtaining them they both has to be obtained only and just once in the whole application run. It's not like that now you'd have to get a special icon for each folder...

Re: Folder icons are generic ?!

Posted: 23 Feb 2012 20:40
by admin
chavlji wrote:But under settings I don't have checked generic icons for anything !?
Is this some forced optimization?

And how can that even be speed optimization? Purple icon takes no longer to be drawn than the yellow one... If it's about obtaining them they both has to be obtained only and just once in the whole application run. It's not like that now you'd have to get a special icon for each folder...
I know. The question is why the shell gives me the yellow one. Sorry, but I cannot investigate this now.

Re: Folder icons are generic ?!

Posted: 24 Feb 2012 10:30
by eil
@chavlji, just a suggestion: try this program. in drop menu > Desktop Icons, in side menu > Folders -see if your folders icons are really changed. if not, you can change them with this little app. :wink: