Page 1 of 1

Portable File Icons bug

Posted: 15 Dec 2015 19:55
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

Re: Portable File Icons bug

Posted: 15 Dec 2015 20:51
by admin
Seems to work here. :?

Re: Portable File Icons bug

Posted: 16 Dec 2015 00:15
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.

Re: Portable File Icons bug

Posted: 16 Dec 2015 00:28
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

Re: Portable File Icons bug

Posted: 16 Dec 2015 08:46
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

Re: Portable File Icons bug

Posted: 16 Dec 2015 08:46
by admin
OK, thanks for the info then. I don't see anything in my code that I could do now to change this.

Re: Portable File Icons bug

Posted: 16 Dec 2015 17:03
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.

Re: Portable File Icons bug

Posted: 17 Dec 2015 06:24
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.

Re: Portable File Icons bug

Posted: 17 Dec 2015 11:54
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.