Portable File Icons bug

Things you’d like to miss in the future...
Forum rules
You might want to read this if you're looking for priority service

: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: Use Your Profile Or Signature
We strongly 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, and we won't have to search for that vital information.

:info: How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
Post Reply
bozo
Posts: 4
Joined: 15 Dec 2015 19:43

Portable File Icons bug

Post by bozo »

Using Portable File Icons with this line:
*\>Folder.ico|Folder Open.ico

It will not work if the folder in root directory is NTFS compressed. I noticed this problem began after the Windows 10 november update

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

Re: Portable File Icons bug

Post by admin »

Seems to work here. :?

bozo
Posts: 4
Joined: 15 Dec 2015 19:43

Re: Portable File Icons bug

Post by bozo »

For me it will work regardless of the folder having a compressed attribute if I do not use the asterisk, but if I add the /d switch the problem occurs again, however in my case it might be useful to use the /d switch.

My tests:

Code: Select all

\>Folder.ico|Folder Open.ico
Makes all folders regardless of a desktop.ini file present inside to show the specified icon

Code: Select all

\ /d>Folder.ico|Folder Open.ico
Makes all folders to show the specified icon except folders with a desktop.ini file present inside or folders at the root of the drive with a compressed attribute

Code: Select all

*\>Folder.ico|Folder Open.ico
Same as the code above, and in this case I didn’t have to use the /d switch to customize using desktop.ini


I also tried removing the compressed attribute of a single folder and it shows the correct icon. The problems does not occur in compressed subfolders.

bozo
Posts: 4
Joined: 15 Dec 2015 19:43

Re: Portable File Icons bug

Post by bozo »

As I stated before, the problem only started after the Windows 10 1511 update which interestingly added a special overlay icon to compressed files and folders

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Portable File Icons bug

Post by bdeshi »

Windows 10 with the Nov Update here.
Everything's okay here. :veryconfused:

Code: Select all

\>Folder.ico|Folder Open.ico
Makes all folders regardless of a desktop.ini file present inside to show the specified icon

Code: Select all

\ /d>Folder.ico|Folder Open.ico
Makes all folders to show the specified icon except folders with a desktop.ini file present inside or folders at the root of the drive with a compressed attribute
:arrow: (yes this also works for me with compressed folders)

Code: Select all

*\>Folder.ico|Folder Open.ico
Same as the code above, and in this case I didn’t have to use the /d switch to customize using desktop.ini
:arrow: (still works for me with compressed folders)

by the way, regarding those annoying blue arrow overlays: http://superuser.com/questions/1004536/ ... on-overlay
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Portable File Icons bug

Post by admin »

OK, thanks for the info then. I don't see anything in my code that I could do now to change this.

bozo
Posts: 4
Joined: 15 Dec 2015 19:43

Re: Portable File Icons bug

Post by bozo »

SammaySarkar wrote:Windows 10 with the Nov Update here.
Everything's okay here. :veryconfused:
Hi,
Could you, please, also try marking a folder as compressed and read-only or system attribute? And see if still okay? Messing with the attributes here makes the icon change for me.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Portable File Icons bug

Post by bdeshi »

bozo wrote:Hi,
Could you, please, also try marking a folder as compressed and read-only or system attribute? And see if still okay? Messing with the attributes here makes the icon change for me.
Ah. New results have arrived:

Code: Select all

\>Folder.ico|Folder Open.ico
all folders show the specified icon

Code: Select all

*\>Folder.ico|Folder Open.ico
all folders show the specified icon, except folders with desktop.ini or folders at the root of the drive with both compressed and system attribute. :bug: x2

Code: Select all

\ /d>Folder.ico|Folder Open.ico
Same as the code above. Skipping desktop.ini-fied folders now is correct. :bug: x1

Code: Select all

*\ /d>Folder.ico|Folder Open.ico
Same as the code above. Skipping desktop.ini-fied folders now is correct. :bug: x1

Bugs exist for single-state CFIs too.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

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

Re: Portable File Icons bug

Post by admin »

SammaySarkar wrote:

Code: Select all

*\>Folder.ico|Folder Open.ico
all folders show the specified icon, except folders with desktop.ini or folders at the root of the drive with both compressed and system attribute. :bug: x2
Not in Win8.1. Cannot explain what happens in Win10 from here.

Post Reply