Custom icons don't (always) show

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 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.

: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
jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Custom icons don't (always) show

Post by jacky »

Allright, so this issue has bene discussed here previously, and seems the problem has been resolved.

Yet, I'm not happy with this! :twisted: I still beleive there's a (couple of) (minor) bugs related to this. Same test has described on the other topic, I paste to a new folder the files desktop.ini & file.ico and then set to the folder the attribute System (yeah I used system this time, just in case).

1/ the custom icon do not show up on Tree if the parent folder (of the folder with custom icon) had been previously expanded. I have to move it or do a Rebuild Tree to get it right.

2/ on my current XY session, the custom icon do no show up on List. Ever. And I can't (to my knowledge) fix this. If I start a new session there will be no problem, but I already had that same issue (custom icon not showing up on List during current session) before, so I don't know what/why it doesn't work (anymore) at some point, but there's a problem. (Especially since refreshing List icons cache doesn't help)
Proud XYplorer Fanatic

j_c_hallgren
XY Blog Master
Posts: 5826
Joined: 02 Jan 2006 19:34
Location: So. Chatham MA/Clearwater FL
Contact:

Post by j_c_hallgren »

I'll only comment on item 1 now: When a folder has been expanded in tree, and a new custom icon is applied to a sub-folder of it, why would one expect that to be reflected without a Rebuild? Now that I know a bit about them, and given how the icons work, I don't think I would...

Because as I see it, retrieval of icons is done only when folder is first expanded, while changing of names or adding/deleting folders is done as needed...so for the rare cases when a folder custom icon is modified, requiring user to ask for a rebuild doesn't seem impractical, IMHO.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.

jacky
XYwiki Master
Posts: 3106
Joined: 23 Aug 2005 22:25
Location: France
Contact:

Post by jacky »

j_c_hallgren wrote:I'll only comment on item 1 now: When a folder has been expanded in tree, and a new custom icon is applied to a sub-folder of it, why would one expect that to be reflected without a Rebuild? Now that I know a bit about them, and given how the icons work, I don't think I would...
Well, despite the fact that I don't like Rebuild (as it collapse everyting) it seems weird to me when I create a new folder, set everything up for custom icon, then I expand Tree/go in that folder and... no custom icon.
Especially when this works when I do the exacty same, but I had not expanded the parent before...

Besides, let's assume number 2 is fixed. I create a folder & all, as soon as I set the attibute it shows up right on List. Would too on Catalog, and yet, on Tree & tab header it won't untill I rebuild Tree.
It just seems odd to me that XY isn't consistant with the icon. Shows right on List, Catalog, Panel/Properties Tab, yet not on Tree & tab header under some circonstances, where then an action must be made by the user...
Proud XYplorer Fanatic

Post Reply