?[TC8.50b11] This PC -> Desktop -> ".." - go

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

Moderators: Hacker, petermad, Stefan2, white

sam5
Junior Member
Junior Member
Posts: 26
Joined: 2011-02-06, 18:22 UTC

?[TC8.50b11] This PC -> Desktop -> ".." - go

Post by *sam5 »

This PC -> Desktop -> ".." - goes to user folder, instead of coming back to This PC. Other folders from This PC (Documents, Downloads, etc.) come back correctly to This PC.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hi, sam5.

As a matter of fact, I am a bit in doubt how to reproduce the reported behaviour.
If I use the Total Commander breadcrumbs to navigate to "ThisPC" (called "Computer" here), then I see all available drive letters in the file panel, but no item "Desktop".
If I use the Total Commander breadcrumbs to navigate to "Desktop", then I see the items "Libraries", "Computer", "Network", "Trashcan", "Control Panel", "<my home folder>".
So what have I got to do in T.C. to navigate to "Computer" and next to "Desktop", as in fact "Computer" can be found on "Desktop", but not vice versa?

Kind regards,
Karl
MX Linux 21.3 64-bit xfce, Total Commander 11.50 64-bit
The people of Alderaan keep on bravely fighting back the clone warriors sent out by the unscrupulous Sith Lord Palpatine.
The Prophet's Song
sam5
Junior Member
Junior Member
Posts: 26
Joined: 2011-02-06, 18:22 UTC

Post by *sam5 »

To navigate to "This PC" panel, press "Alt F1" than press "+".

You should see a list of drive letters together with a list of special folders like Desktop, Documents, Downloads, Music, etc.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I only see a list of drives in Alt+F1 + Plus (as karlchen mentioned)...
When I press Alt+F1 + Asterisk, TC opens regular (non-virtual) documents folder for current user profile, so '..' item expectedly goes one level up - to user profile (with Documents, Downloads, Music, Videos, Desktop etc).

Win7x64, TC 8.50b11x32.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Apparently he is using Windows 8.1. Microsoft has made a huge mess in Windows 8.1, where the desktop suddenly appears under "My PC" instead of the other way round, and other strange changes. I'm not willing to adpt to such idiotic changes.
Author of Total Commander
https://www.ghisler.com
sam5
Junior Member
Junior Member
Posts: 26
Joined: 2011-02-06, 18:22 UTC

Post by *sam5 »

I am using Win81x64, TC 8.50b11x64.
May be this is specific to Win8 or Win81?
sam5
Junior Member
Junior Member
Posts: 26
Joined: 2011-02-06, 18:22 UTC

Post by *sam5 »

ghisler(Author) wrote:Apparently he is using Windows 8.1. Microsoft has made a huge mess in Windows 8.1, where the desktop suddenly appears under "My PC" instead of the other way round, and other strange changes. I'm not willing to adpt to such idiotic changes.
Hi Ghisler,

Couldn't you just extend the navigation handling you already have in place for other special folders under "This PC" (Documents, Downloads, etc.) to Desktop folder too?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

TC does not do special handling - it just gets the virtual folder's item id-list (comparable to a path name, but binary) and gets its parent item. So when the parent item leads to documents, TC simply goes there.
Author of Total Commander
https://www.ghisler.com
sam5
Junior Member
Junior Member
Posts: 26
Joined: 2011-02-06, 18:22 UTC

Post by *sam5 »

ghisler(Author) wrote:TC does not do special handling - it just gets the virtual folder's item id-list (comparable to a path name, but binary) and gets its parent item. So when the parent item leads to documents, TC simply goes there.
So what's the parent item for other special folders like "Downloads"? Is it different from parent item for "Desktop"? Since they both sit inside user folder, I would expect their parent item to be the same, no?
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50865
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Probably yes, because normally "Desktop"is at the top of the hierarchy. But there is also a "Desktop" directory in c:\users\<username> which holds the user's files on the desktop, that's why you probably land in the user directory.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16116
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

This PC -> Desktop -> ".." - goes to user folder,
It only happens if you have entered any folder while you were in the \\Desktop - if you just go to \\Desktop and doubleclick [..] then you go back to \\This PC (Windows 8.1)

Same thing applies if you go to \\My Documents - as long as you dont visit any subfolder doubleclick on [..] brings you back to \\This PC.

Entering any subfolder in \\Desktop or \\My Documents opens the physical folder and not the folder as a subfolder to the virtual parent folder - that's why doubleclick on [..] brings you to the physical parent folder.
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
sam5
Junior Member
Junior Member
Posts: 26
Joined: 2011-02-06, 18:22 UTC

Post by *sam5 »

petermad wrote:It only happens if you have entered any folder while you were in the \\Desktop
No. This is exactly why I reported this as bug. "Desktop" folder behavior is different from other folders listed in "This PC".
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

sam5,
Please look which path TC shows in a panel when you enter This PC -> Desktop. There may be two possible options:
1. Virtual one (\\Desktop): its '..' should change folder back to \\This PC.
2. Physical one (C:\Users\...\Desktop): the only correct behaviour of '..' here is to go to one physical level up. If you're here, you only may ask why TC opens your user's physical desktop directory instead of entering multi-user virtual desktop folder.
sam5
Junior Member
Junior Member
Posts: 26
Joined: 2011-02-06, 18:22 UTC

Post by *sam5 »

MVV wrote:... you only may ask why TC opens your user's physical desktop directory instead of entering multi-user virtual desktop folder.
I think you misunderstand how error reporting process is supposed to work. I describe the perceived wrong behavior (".." leads to wrong location), than developer(s) find out the reason behind it (application enters wrong folder in the first place). Not the other way around.

And yes, it enters "C:\Users\...\Desktop" here, not "\\Desktop". Anyone else sees different results (on Windows 8.1 x64)?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

Please note that current behaviour is not a bug, physical desktop folder is opened by design.

As petermad and I said, when you enter physical directory, '..' item will always go one physical level up (except '..' item in root dir).

So the only possible change in your case would be in entering virtual desktop folder instead of physical one.
Post Reply