solved [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

solved [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *petermad »

history.txt wrote:04.10.22 Added: New option wincmd.ini [Configuration] IconsOnNetReadOnly=0 Set to 1 to show folder icons on network shares even for folders with read only attribute. Warning: very slow for shared CD/DVD drives! (32/64)
I can not see that IconsOnNetReadOnly=1 works in neither 32bit nor 64bit TC 10.52rc1
Last edited by petermad on 2022-10-10, 20:21 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *Usher »

Confirmed not working in TC-32 bit.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *petermad »

Usher wrote: 2022-10-04, 19:32 UTC Confirmed not working in TC-32 bit.
Does that mean that it does work in 64bit TC for you - or that you have only tested in 32bit TC?
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *ghisler(Author) »

Works fine here, I have just tried it again. Maybe you have the following option disabled?
Configuration - Options - Icons - Show icons for special folders:Virtual folders (e.g. network)
When I uncheck this, I don't get any icons in UNC paths either.
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *Usher »

All "Show icons" checked. "EXE/LNK not on net" and "Show !" unchecked.
Doesn't work in TC 32-bit, 64-bit not tested yet.
Setting system attribute works as in old versions.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *petermad »

Maybe you have the following option disabled?
Configuration - Options - Icons - Show icons for special folders:Virtual folders (e.g. network)
No, I have that enabled. https://madsenworld.dk/tcmd/iconoptions.png

I have also tried with "Show default folder/file icons from Explorer" enabled.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *ghisler(Author) »

What does the desktop.ini contain? Does it point to a valid icon on YOUR computer too?
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *Usher »

2ghisler(Author)
It doesn't matter. I did tests with icons from system resources and with favicon.ico located in the folder. I tested absolute path, path with environment variable and no path at all (for favicon.ico). All paths and icons were correct and available in both systems.
The same desktop.ini files work for mapped drives.
Tested with TC 32-bit and clean wincmd.ini in Windows XP
Last edited by Usher on 2022-10-07, 11:31 UTC, edited 1 time in total.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *petermad »

ghisler(Author) wrote: 2022-10-05, 08:05 UTC What does the desktop.ini contain? Does it point to a valid icon on YOUR computer too?
Yes, one of my test desktop.ini's is this:

Code: Select all

[.ShellClassInfo]
IconFile=C:\PM\Start\PHSM.dll
IconIndex=0
and C:\PM\Start\PHSM.dll exists on shared computer and local computer.

Also all Microsofts icons for special folders in the %USERPROFILE% are not shown

For example: %USERPROFILE%\Pictures\desktop.ini is the same on the two computers:

Code: Select all

[.ShellClassInfo]
LocalizedResourceName=@%SystemRoot%\system32\shell32.dll,-21779
InfoTip=@%SystemRoot%\system32\shell32.dll,-12688
IconResource=%SystemRoot%\system32\imageres.dll,-113
IconFile=%SystemRoot%\system32\shell32.dll
IconIndex=-236
Testet between Windows 10 and Windows 7 - both ways.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *ghisler(Author) »

Could you test with a fresh wincmd.ini? I don't get why it works here but not for you.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14791
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *petermad »

I tested with a fresh ini for both 32bit and 64bit TC 10.52rc1 on Windows XP, 7, 8.1 and 10 - it is the same - no diricons from Desktop.ini
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
yanch
Junior Member
Junior Member
Posts: 30
Joined: 2015-06-06, 21:17 UTC

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *yanch »

ghisler(Author) wrote: 2022-10-06, 07:13 UTC Could you test with a fresh wincmd.ini? I don't get why it works here but not for you.
Also have tested with three different installers (x32+x64) and clean profiles. Icons are not displayed with IconsOnNetReadOnly=1 setting in wicmd.ini.
Looks as it should in explorer. Windows 8.1x64.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48075
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *ghisler(Author) »

I don't undestand. I created a fresh ini file containing just two lines:
[Configuration]
IconsOnNetReadOnly=1

and then started TC 32-bit and TC 64-bit with it, and both show the folder icons in UNC paths just fine.
I think the only way out will be to remove this function altogether, sorry. :(
Author of Total Commander
https://www.ghisler.com
User avatar
Usher
Power Member
Power Member
Posts: 1675
Joined: 2011-03-11, 10:11 UTC

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *Usher »

2ghisler(Author)
Try to work in a normal way.
1. Run TC without ini, accept proposed settings with no change and close TC.
2. Add IconsOnNetReadOnly=1to wincmd.ini and save the change.
3. Restart TC and watch results.
Andrzej P. Wozniak
Polish subforum moderator
User avatar
Dalai
Power Member
Power Member
Posts: 9386
Joined: 2005-01-28, 22:17 UTC
Location: Meiningen (Südthüringen)

Re: [TC 10.52rc1] IconsOnNetReadOnly=1 does not seem to work

Post by *Dalai »

It also doesn't work for me. For the test I've used the wincmd.ini of my portable TC, which rarely changes (my portable TC is a password-protected SFX, so the contents only change if I intentionally do so). I've added IconsOnNetReadOnly=1 to that wincmd.ini, and then repacked the portable TC and launched it. Still no icons for such read-only directories on UNC shares, though they do show on mapped network drives. In other words: no difference to previous TC versions.

When searching TC's files I can't find the string IconsOnNetReadOnly in totalcmd.exe or totalcmd64.exe, only IconsOnNet can be found. That's why it can't work.

Regards
Dalai
#101164 Personal licence
Ryzen 5 2600, 16 GiB RAM, ASUS Prime X370-A, Win7 x64

Plugins: Services2, Startups, CertificateInfo, SignatureInfo, LineBreakInfo - Download-Mirror
Post Reply