Page 1 of 1
The display of custom icons seems incorrect
Posted: 17 Apr 2023 07:32
by ykw_cc

- 01.png (5.86 KiB) Viewed 931 times

- 02.png (35.67 KiB) Viewed 931 times

- 03.png (25.2 KiB) Viewed 931 times
Question 1:
The above is my custom icon settings.
I have encrypted the folder.
(I'm using the Win10 OS.)
The folder on the left displays my customized icons, while the folder on the right displays the system default icons. This seems incorrect.

- 11.png (29.81 KiB) Viewed 931 times

- 12.png (15.1 KiB) Viewed 931 times
Question 2:
I have removed the selection in the settings. As shown in the above figure.
(I'm using the Win10 OS.)
There is a small lock image on the icon of the encrypted file. Can you help me remove this small lock image?
(I set the font color of the file name to green to indicate that the file is encrypted, so I don't want this small lock image. Thank you very much for your help.)

- 21.png (25.38 KiB) Viewed 931 times
Question 3:
I have customized the icon for the folder. I created a shortcut to the folder, and the icon for the shortcut remains the system icon. This seems incorrect.
.
Re: The display of custom icons seems incorrect
Posted: 20 Apr 2023 12:08
by admin
1) I cannot reproduce the issue. Works fine here (Win 8.1).
Can somebody with Win10 reproduce it?
2) This tiny lock seems to be part of the icon. It's not a normal overlay. I cannot do anything about it.
3) Yes, this looks like a bug. I'll fix it.

Re: The display of custom icons seems incorrect
Posted: 20 Apr 2023 13:30
by ykw_cc
Thank you very much.
Question 1:
There is no problem with Win8.1, there is a problem with Win10. I just tried Win11 and there is also a problem.
I installed Win11 in a VMware virtual machine.
(I am currently using the Win8.1 system. In January of this year, Microsoft stopped security support for Win8.1, and in February of this year, Chrome stopped support for Win8.1, so I had to update the system.)
This is a screenshot of Win11.

- 02.png (22.37 KiB) Viewed 802 times
Question 2:
If the icon is 16 pixels x 16 pixels, adding this small lock will make the icon unclear.
There are 2 screenshots below. If the file is encrypted, there will be a small lock on the icon, while if the file is not encrypted, there will be no small lock. This small lock is similar to the arrow on the shortcut.
There is no problem with Win8.1, Win10 and Win11 have this problem.
Thank you very much.

- 11.png (40 KiB) Viewed 802 times

- 12.png (25.83 KiB) Viewed 802 times
Re: The display of custom icons seems incorrect
Posted: 20 Apr 2023 15:38
by admin
1) Maybe another of your CFI definitions matches your encrypted folders before your general folder icon definition? (The first matching definition wins, from top to bottom.)
2) I cannot control those locks on the icons of encrypted files, they are imposed by the system. At least I don't know of any way to do it.
Re: The display of custom icons seems incorrect
Posted: 21 Apr 2023 11:52
by ykw_cc
By modifying the registry, I resolved question 1 and 2.
Step 1: Install a new Win10
Step 2: Copy the icons to the path: C:\Users\Public\Pictures\ICO\, transparent.ico is a transparent icon from the website:
https://www.tenforums.com/tutorials/358 ... -10-a.html
Step 3: Import Registry
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
;Remove Lock Icon on Encrypted Files and Folders in Windows 10
"178"="C:\\Users\\Public\\Pictures\\ICO\\transparent.ico"
;Explorer Closed Folder
"3"="C:\\Users\\Public\\Pictures\\ICO\\MyFolder.ico"
;Explorer Open Folder
"4"="C:\\Users\\Public\\Pictures\\ICO\\MyFolder.ico"
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons]
;Remove Lock Icon on Encrypted Files and Folders in Windows 10
"178"="C:\\Users\\Public\\Pictures\\ICO\\transparent.ico"
;Explorer Closed Folder
"3"="C:\\Users\\Public\\Pictures\\ICO\\MyFolder.ico"
;Explorer Open Folder
"4"="C:\\Users\\Public\\Pictures\\ICO\\MyFolder.ico"
Step 4: Restart the computer
The following are three screenshots of restarting the computer.

- 01.png (16.69 KiB) Viewed 737 times

- 02.png (17.73 KiB) Viewed 737 times

- 03.png (24.44 KiB) Viewed 737 times
I referred to the following two websites:
https://www.tenforums.com/tutorials/358 ... -10-a.html
https://superuser.com/questions/1406594 ... on-numbers
XYplorer is my favorite software that I use every day, so I hope to solve question 1 and 2 without modifying the registry.
Thank you very much.
Re: The display of custom icons seems incorrect
Posted: 21 Apr 2023 16:52
by admin
Good news:
1) I could fix the Custom File Icons bug.
2) I learned how to suppress that "Lock" overlay. But for now I did not implement it. I think it is a valid piece of information.
Re: The display of custom icons seems incorrect
Posted: 22 Apr 2023 11:54
by ykw_cc
.
Thank you very much for helping me solve these problems.
Step 1: Unzip the file xyplorer_24.30.0112_beta_noinstall.zip
Step 2: Set not to display hidden files
Step 3: Set the font color of the encrypted file to green
Step 4: Set custom icons
Step 5: All 3 folders in the screenshot are encrypted folders
Step 6: Create Shortcut
Step 7: In the screenshot, both folder icons are the system default icons
Step 8: Open the folder AAAAAA, and the icon of the folder is the system default icon
Step 9: Open the folder BBBBBB, and the icon of the folder is the system default icon
Do you have the same icon displayed there?

- Step 2__Set not to display hidden files.png (95.69 KiB) Viewed 647 times

- Step 3__Set the font color of the encrypted file to green.png (120.94 KiB) Viewed 647 times

- Step 4__Set custom icons.png (81.5 KiB) Viewed 647 times

- Step 5__All 3 folders in the screenshot are encrypted folders.png (55.93 KiB) Viewed 647 times

- Step 6__Create Shortcut.png (88.94 KiB) Viewed 647 times

- Step 7__In the screenshot, both folder icons are the system default icons.png (70.44 KiB) Viewed 647 times

- Step 8__Open the folder AAAAAA, and the icon of the folder is the system default icon.png (57.83 KiB) Viewed 647 times

- Step 9__Open the folder BBBBBB, and the icon of the folder is the system default icon.png (60.31 KiB) Viewed 647 times
Re: The display of custom icons seems incorrect
Posted: 22 Apr 2023 17:33
by admin
Indeed, all issues confirmed. The next beta will work better.
