Separate tree does not update for network shares anymore

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

Separate tree does not update for network shares anymore

Post by *herbert123 »

Hi,

Total Commander does not update the separate tree anymore when navigating into shares (independent if its an admin share like C$ or a "normal" one). I remember that this worked from time to time in the past (but not reliable).
Currently when I e.g. enter a network path into the path field, the separate tree only highlights the folder "Desktop" but does not follow my navigation.
I'm using tc7 rc1.

Any ideas?
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, Herbert.

I guess you may be reporting the same error that was reported

+ here: Left tree not unfolded when using cm_ToggleSeparateTree2
and
+ here: Bug in cm_ToggleSeparateTree2

and which Christian promised to fix in T.C.7.0rc2.

Ciao,
Karl
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

Post by *herbert123 »

I'm not sure wether this tackles the same bug.
I've already found the links you wrote before, but my problem occurrs in the left AND right tree pane where as the problems described in the links is only valid for one of them.

Anyway we'll see if rc2 fixes my problem too :wink:
User avatar
karlchen
Power Member
Power Member
Posts: 4603
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Good evening, Herbert.

I see the difference. - It might be related, but it need not be. - So we will wait for C.Gh., he will be able to tell.

Karl
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Total Commander does not update the separate tree anymore when navigating into shares
I CANNOT confirm this here, it works perfectly! Do you perhaps use Windows 9x or ME? It never worked with these systems.
Author of Total Commander
https://www.ghisler.com
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

Post by *herbert123 »

I use an english Win XP with SP2. The only difference might be that I work in a really huge network environment with tons of shares and pcs connected to a domain :)

I know that it worked (but not reliable) in the past (meaning tc7 beta4) but stopped sometimes to work at all. Now always when I access shares by putting the name (e.g. \\pc123) in the path field, the tree selects/marks Desktop.

I think this is nothing that can be configured, so that I eventually have misconfigured TC, am I right?
Is there anything else I could provide that might help to track the problem further?
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

Post by *herbert123 »

I think I found the cause for this error by comparing TC to Windows Explorer:

When I manually open the network tree in Windows Explorer it shows the following:

Code: Select all

"My Network Places"
    -> "Microsoft Windows Network"
        -> "some_entry"
        -> "another_entry"
When I now put "\\abc" in the address field of Windows Explorer, it not only shows me the contents of the share in the right pane, but also a new children is added to the "Microsoft Windows Network" Node, so that it now looks like that:

Code: Select all

"My Network Places"
    -> "Microsoft Windows Network"
        -> "some_entry"
        -> "another_entry"
        -> "new_entry"
             -> "\\abc"

Obviously Total Commander cannot or does not automatically add "new_entry" to the tree, thus it cannot find the correct parent in the tree when I enter "\\abc" and thus defaults the tree to "Desktop" ?


Hope this helps :)
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I cannot confirm this. Anyone else having this problem?
Author of Total Commander
https://www.ghisler.com
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

Post by *herbert123 »

What do you mean by "cannot confirm this"?

Did you found a domain in your network that even Windows Explorer does not show initially, but only adds it dynamically to its tree?
Only for this case TC does NOT update its tree opposed to Windows Explorer, which is able to do that.

I think you rather don't face the use case of this dynamic addition of a domain to the tree, right?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I tried both on Windows 2000 and Windows XP, and the cursor was always placed on the correct share in the tree. The only exception is hidden shares like C$, these are currently not shown in the tree because they are not handled by the OLE2 functions to enumerate virtual folders. I haven't yet found a way to integrate them in the tree, sorry.
Author of Total Commander
https://www.ghisler.com
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

Post by *herbert123 »

Just to demonstrate that it does not work :)

Windows Explorer before entering the server into the address field:
http://img182.imageshack.us/img182/2161/explorerbeforear1.jpg

Windows Explorer after entering the server. See how a new domain/workgroup was added dynamically to the tree:
http://img183.imageshack.us/img183/1939/explorerafterxm4.jpg

TC after entering the server into the address field. No new domain was added to the tree, thus it defaults to desktop:
http://img180.imageshack.us/img180/5273/tcrq4.jpg
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

You mean that it's a server which isn't listed when opening "Entire Network" and its subfolders? No, TC does not by itself add any servers to that location, it only enumerates servers with the standard Windows functions. I don't see how I could add servers manually to that location, sorry.

Btw, does the server show up in TC when you close and re-open "Microsoft Windows Network" manually in the tree?
Author of Total Commander
https://www.ghisler.com
herbert123
Junior Member
Junior Member
Posts: 16
Joined: 2007-03-26, 09:33 UTC

Post by *herbert123 »

No, it does not show up when I manually close/open the network node.

As Windows Explorer does also not show all domains/workgroups initially I think Windows Explorer (and not Windows) has implemented some add. functionality to add a new domain to the network node (for the currently open Windows Explorer process).
This might be exactly the functionality that TC misses.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I see - unfortunately I have no idea how Explorer does this, sorry.
Author of Total Commander
https://www.ghisler.com
Post Reply