Order of precedence for folder thumbnails

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Order of precedence for folder thumbnails

Post by kiwichick »

I'm a bit confused as to how XY decides the order of precedence for folder thumbnails.

The Help file says desktop.ini is first but I've found that, even with a file defined there, XY will display the first in alphabetical order if it 'trumps' the file in desktop.ini. For example, if desktop.ini defines a file starting with G, and a file in the folder starts with B, the folder thumbnail displays the B file. Am I misunderstanding something?

Also, is there any way to exclude folders from showing a thumbnail? I have lots of folders with custom folder icons and I'd like to see those in thumbnail views rather than a folder thumbnail.
Windows 10 Pro 22H2

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

Re: Order of precedence for folder thumbnails

Post by admin »

Not here. Are you sure your desktop.ini is formatted correctly?

For example:

Code: Select all

[ViewState]
Mode=
Vid=
FolderType=Pictures
Logo=E:\Test\thumbs\folderthumbs\Desktop.ini Sources\Magazine.jpg

jupe
Posts: 3446
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Order of precedence for folder thumbnails

Post by jupe »


kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: Order of precedence for folder thumbnails

Post by kiwichick »

admin wrote: 18 Aug 2023 08:23 Not here. Are you sure your desktop.ini is formatted correctly?

For example:

Code: Select all

[ViewState]
Mode=
Vid=
FolderType=Pictures
Logo=E:\Test\thumbs\folderthumbs\Desktop.ini Sources\Magazine.jpg
Thanks Don, I see what's happening now. The desktop.ini file isn't formatted like that because I'm looking at folders where a custom icon has been applied and that changes the contents of the ini file which, in turn, ignores it in the order of precedence. I've done a test folder with one formatted as you've suggested and it works to the order of precedence.

And am I to assume your 'not here' comment is in regards to me asking about excluding folders from displaying a thumbnail?
Windows 10 Pro 22H2

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

Re: Order of precedence for folder thumbnails

Post by admin »

"Not here" meant "I could not reproduce it here".

On excluding folders from displaying a thumbnail, see viewtopic.php?p=213453#p213453

kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: Order of precedence for folder thumbnails

Post by kiwichick »

admin wrote: 19 Aug 2023 08:26 On excluding folders from displaying a thumbnail, see viewtopic.php?p=213453#p213453
To quote the page you referenced, "You can place a valid desktop.ini file in such a folder that defines a folder thumbnail but uses a dead link." That doesn't apply to my scenario. I still want to be able to have a custom icon set for a folder but exclude the folder from displaying the thumbnail of any other image in the folder. I guess it isn't possible to do that.
Windows 10 Pro 22H2

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

Re: Order of precedence for folder thumbnails

Post by admin »

That's what it does. :?

kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: Order of precedence for folder thumbnails

Post by kiwichick »

admin wrote: 20 Aug 2023 08:38 That's what it does. :?
Again I'm assuming what you mean because your answer is a little vague. If you mean that the information in the post you linked does what I have said I want to happen, it doesn't. Defining an image for a folder thumbnail is not the same as defining a custom icon for a folder. They're different things - one is an image displayed as a thumbnail - the other is the folder icon itself. As I've said, if a custom icon is defined in the ini file, it's ignored if there is also an image in the folder, and the folder thumbnail displays that instead.

Folder 1: custom icon defined, no other image in folder.
Folder 2: custom icon defined, another image in folder.
2023-08-21_110146.png
I understand that Folder 2 is exactly what's meant to happen when folder thumbnails are turned on but that's why I'd like to be able to exclude certain folders from the displaying the thumbnail - so I can continue to see Folder 1.
To see the attached files, you need to log into the forum.
Windows 10 Pro 22H2

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

Re: Order of precedence for folder thumbnails

Post by admin »

Show the contents of your desktop.ini file.

kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: Order of precedence for folder thumbnails

Post by kiwichick »

admin wrote: 21 Aug 2023 14:16 Show the contents of your desktop.ini file.
For which folder?

Edited to add: Never mind, I got it sorted. Once I defined a custom icon, then added a logo path using a dead link, and refreshed the folder thumbnails, they display the folder icon not matter what other images are in the folder. It seems the thumbnail refresh is what was needed. Sorry it took me so long to figure it out but thanks for your patience and the link to the page that had the tip for using a dead link.
Windows 10 Pro 22H2

kiwichick
Posts: 675
Joined: 08 Aug 2012 04:14
Location: Windows 10 Pro 22H2, 150% scaling

Re: Order of precedence for folder thumbnails

Post by kiwichick »

admin wrote: 18 Aug 2023 08:23

Code: Select all

[ViewState]
Mode=
Vid=
FolderType=Pictures
Logo=E:\Test\thumbs\folderthumbs\Desktop.ini Sources\Magazine.jpg
I've discovered that Mode, Vid and FolderType are not required. So the desktop.ini file only needs this:

Code: Select all

[.ShellClassInfo]
IconResource=c:\path_to_icon\folder-icon.ico,0
[ViewState]
Logo=C:\path_to_logo\dead-link.jpg
Windows 10 Pro 22H2

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

Re: Order of precedence for folder thumbnails

Post by admin »

Alright, cool. :tup:

Post Reply