Lock Tab behaviour

Here you can propose new features, make suggestions etc.

Moderators: white, Hacker, petermad, Stefan2

Post Reply
mohammadsj
Junior Member
Junior Member
Posts: 7
Joined: 2018-03-11, 00:06 UTC

Lock Tab behaviour

Post by *mohammadsj »

When I lock a tab using "Locked, but directory change allowed", my expected/desired behavior is being allowed to go to the sub-folders but NOT the parent folder. Currently, TC, allows to change to both sub-folders and parent directory, so what is the point of locking a tab?
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

The point is to set a fixed path always when activating the tab again.

But nothing against additional locked behaviors:
(_) unlocked
(_) locked
(_) locked, but directory change allowed
(_) locked, but directory change to sub folders allowed
(o) locked, but directory change to sub folders allowed +remember last folder during this session
(_) locked, but directory change to sub folders allowed +remember last folder over sessions

Thinking about this, one of the last options would be my personal preferred setting:
- Activating the tab will not change the current path;
- only "\" will go to the locked path root.

I guess it would not even need additional fields in
[left/righttabs] section, only an additional value in subfield F of
n_options=A|B|C|D|E|F|G

BTW: what is the meaning of subfield G (didn't find an explanation so far in help or forum)

Regards
Holger
Make our planet great again
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

HolgerK wrote:(_) unlocked
(_) locked
(_) locked, but directory change allowed
(_) locked, but directory change to sub folders allowed
(o) locked, but directory change to sub folders allowed +remember last folder during this session
(_) locked, but directory change to sub folders allowed +remember last folder over sessions
This could be part of the "Rename/Lock Tab" dialog and resolve a little UI inconvenience by using radio buttons or a combo box instead of the currently used 2 check buttons for a 1 out of 3 selection.

Regards
Holger
Make our planet great again
mohammadsj
Junior Member
Junior Member
Posts: 7
Joined: 2018-03-11, 00:06 UTC

Post by *mohammadsj »

In my opinion, you are over-complicating it.

This is my use case: I have a folder named [download]. I frequently work in it. so I want to keep it always as one of my tabs when I start TC. In addition, I wan to be able to go into sub-folders I have in int. Obviously, when I active/deactive the tab, I want it preserve the current path not to reset to anything.

so below option will be the most useful:

(_) locked, but directory change to sub folders allowed
User avatar
HolgerK
Power Member
Power Member
Posts: 5406
Joined: 2006-01-26, 22:15 UTC
Location: Europe, Aachen

Post by *HolgerK »

mohammadsj wrote:Obviously, when I active/deactive the tab, I want it preserve the current path not to reset to anything.
I may be wrong, but this is one of the following:
(o) locked, but directory change to sub folders allowed +remember last folder during this session
(_) locked, but directory change to sub folders allowed +remember last folder over sessions
Overcomplicated? Or didn't you check the current behavior (activate resets to the root path)?

Regards
Holger
Make our planet great again
mohammadsj
Junior Member
Junior Member
Posts: 7
Joined: 2018-03-11, 00:06 UTC

Post by *mohammadsj »

I'm okay with anything you suggest as long as my requirement is satisfied. hope the developer consider this request.

Thanks for participation :)
ducmans
Junior Member
Junior Member
Posts: 3
Joined: 2018-12-21, 11:53 UTC

Re:

Post by *ducmans »

mohammadsj wrote: 2018-03-13, 20:57 UTC
so below option will be the most useful:

(_) locked, but directory change ONLY to sub folders allowed
I second that, have been looking for a way to do that as well.

By the way a workaround is to use the 'subst' command to map a drive to the top of that folder.

Thanks for a great program, Jean
----------------------------------------------
Happy user since 1996 (License #5977)
Post Reply