Cursor Position when returning to parent folder

English support forum

Moderators: sheep, Hacker, Stefan2, white

Post Reply
dekiblue
Junior Member
Junior Member
Posts: 30
Joined: 2010-09-30, 14:39 UTC

Cursor Position when returning to parent folder

Post by *dekiblue »

When I have to go through a folder containing a lot of sub-folders it really annoys me that every time I return to parent folder the cursor is positioned on the fourth row (counting from bottom), when it would be great thing if it can position itself in the middle.

Is there any way around this?

Deki

User avatar
ZoSTeR
Power Member
Power Member
Posts: 920
Joined: 2004-07-29, 11:00 UTC

Post by *ZoSTeR »

Support++
The cursor position should be on the fourth row from the top because your focus was most likely on the first few items you just saw in the subfolder.

Afaik there's no option for this. Move to Suggestions?
It's surprising how many little details one ignores or tolerates until someone brings it up ;)

dekiblue
Junior Member
Junior Member
Posts: 30
Joined: 2010-09-30, 14:39 UTC

Post by *dekiblue »

Thank you for your reply.

Actually, if I'm half way through long list of folders the cursor always comes back to the fourth row from the bottom. If it comes to the fourth row from the top there would be no problem, it would actually be desired feature :wink:

umbra
Power Member
Power Member
Posts: 808
Joined: 2012-01-14, 20:41 UTC

Post by *umbra »

There are a few similar suggestions already, like Scroll position in dirlist or Change number of lines below the cursor at screen bottom. But I don't think anything has changed since then. I would prefer if the scrollbar restored its position to the state before entering a subfolder. But as it's mentioned in one of the linked threads, it's not that simple to implement.
Windows 7 Pro x64, Windows 10 Pro x64

User avatar
MVV
Power Member
Power Member
Posts: 8503
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think it is easy to implement, we just need to store one more number - scrollbar position. Of course I mean during runtime navigation, not via change dir commands.

TimoJ
Junior Member
Junior Member
Posts: 15
Joined: 2016-09-03, 14:13 UTC

Re: Cursor Position when returning to parent folder

Post by *TimoJ »

Was this ever fixed? I just noticed this annoying "feature" when going thru dir with lots of subfolders.

User avatar
Horst.Epp
Power Member
Power Member
Posts: 3792
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Cursor Position when returning to parent folder

Post by *Horst.Epp »

I the current beta the cursor is always positioned on the sub-dir entry in the parent dir
after I come back to the parent dir.
This is for me the only logical way regardless of the screen related position.
Windows 10 Home x64 May 2020 Update, Version 2004 (OS Build 19041.423)
Intel(R) Core(TM) i7-4770 CPU @ 3.40GH, 16GB RAM
TC 9.51 x64 / x86, Everything 1.4.1.988 (x64)

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

Re: Cursor Position when returning to parent folder

Post by *petermad »

I the current beta the cursor is always positioned on the sub-dir entry in the parent dir
after I come back to the parent dir.
This is not the problem dekiblue is adressing - the problem is that the foldername in directories that has more folders than can fit in the file panel is shown as the 4th last.

Try it with for example the c:\windows\system32 directory - scroll down so that for example the folder GroupPolicy is in the top of the file panel, and enter the folder. then exit the folder again. The cursor is now on GroupPolicy (as expected), but the folder is displayed at the 4th last folder (not so expected).
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

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

Re: Cursor Position when returning to parent folder

Post by *petermad »

The GroupPolicy folder returned at the top of the file list, selected, as expected, using either Alt+LArrow or the Back button, on both the right and left panes.
Are you perhaps using Brief view? In Brief view I can confirm your observation, but in Full view it is different.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

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

Re: Cursor Position when returning to parent folder

Post by *petermad »

2alphonse68

Hmm, just to make sure we are looking at the same, I have made a video of the behaviour - this is with a completely fresh ini file:

https://madsenworld.dk/tcmd/fileposition.mp4

TC 9.5b9 under Windows 10 1909.
Last edited by petermad on 2019-12-20, 03:07 UTC, edited 1 time in total.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

TimoJ
Junior Member
Junior Member
Posts: 15
Joined: 2016-09-03, 14:13 UTC

Re: Cursor Position when returning to parent folder

Post by *TimoJ »

alphonse68 wrote:
2019-12-17, 05:53 UTC
No, I use normal view as it installs... Full view, as I just found out. I don't have any bells or whistles installed and I don't use Dark Mode, nor View Mode, nor Custom Columns... I keep TC clean for it suits my needs as it was conceived... daily use, first app to open, last one to close.
What resolution you are using? If you use high res with many lines visible, the problem may no occur. Try with smaller TC window size. In my system the problem happens just like Peter's video shows.

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

Re: Cursor Position when returning to parent folder

Post by *petermad »

2alphonse68
Notice that I wrote:
in directories that has more folders than can fit in the file panel
BTW - it is not always that the folder is put as the 4th last. If I for example in c:\windows\system32 scroll the [drivers] directory up in the top of the file panel, go into the folder and out again, then the [drivers] directory is placed in the middle of the file panel.

This is tested with a clean ini file - hence with the default window size.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

TimoJ
Junior Member
Junior Member
Posts: 15
Joined: 2016-09-03, 14:13 UTC

Re: Cursor Position when returning to parent folder

Post by *TimoJ »

Please post a message to the TC9.5x bug reports forum and add a link to your video (and this thread) there.

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

Re: Cursor Position when returning to parent folder

Post by *petermad »

I can confirm that going back to parent dir with Alt+leftArrow preserves the position of the parent dir.

But going back with Double click on [..], with Enter on [..]. with BackSpace or with Ctrl+PgUp all scrolls the directory down.

Using cd .. on the command line also moves the directory down, whereas cd .. in a button moves to the top ( [..] ) of the parent dir.

Pressing Alt+downArrow and then chosing the previous directory behaves like pressing Alt+arrowLeft (as expected)

So 5 out of 8 ways of going up-dir moves the directory down in the example I described earlier.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

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

Re: Cursor Position when returning to parent folder

Post by *petermad »

I'm sorry if I missed that detail earlier, and since I probably never use that method to exit a directory, I didn't think to test it as well.
You actually wrote earlier:
The GroupPolicy folder returned at the top of the file list, selected, as expected, using either Alt+LArrow or the Back button
And since I mostly use the BackSpace button, that is what I referred to when testing. In the video I double clicked, since that can be seen.
License #524
Danish Total Commander Translator
TC 9.51 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 (1909) 64bit, 'Everything' 1.4.1.987 (x64)
TC 3.01b6 on Android 6.0
Get:
Extended TC Menus | TC Languagebar | TC Dark Help | PHSM-Calendar

Post Reply