Locked, but with directory changes allowed tabs

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

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

Locked, but with directory changes allowed tabs

Post by *MVV »

This is a good thing but there some inconvenience. When I press '\' button (or use Ctrl+\), TC revert tab to saved dir. But sometimes I want just to go to root folder of drive. So, in such tab I can't do this. Maybe it is better to go to root dir on single Ctrl+\ and to home tab dir on double Ctrl+\?
User avatar
sqa_wizard
Power Member
Power Member
Posts: 3896
Joined: 2003-02-06, 11:41 UTC
Location: Germany

Post by *sqa_wizard »

When I press '\' button (or use Ctrl+\), TC revert tab to saved dir
Well, this is the main reason for locking a tab.

If you want to change dirs most flexible, just unlock the tab
#5767 Personal license
User avatar
fenix_productions
Power Member
Power Member
Posts: 1979
Joined: 2005-08-07, 13:23 UTC
Location: Poland
Contact:

Post by *fenix_productions »

I have to agree with sqa_wizard.

If locked tabs would behave like standard ones then locking would be useless in many cases.
"When we created the poke, we thought it would be cool to have a feature without any specific purpose." Facebook...

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

Post by *MVV »

I know that locking is useful thing, and that go to home dir too. But sometimes it is sad that we get one feature instead of another. I know that I can create another tab and press Ctrl+\ there, but it will be good if locked tab also has feature 'go to root directory'.
BTW, I didn't suggest to remove 'go to home dir' feature of locked tab. And, if I unlock tab, I lost its home dir.
VadiMGP
Power Member
Power Member
Posts: 672
Joined: 2003-04-05, 12:11 UTC
Location: Israel

Post by *VadiMGP »

2MVV
You have to add LockedGoToDriveRoot=1 to wincmd.ini file.
After this you can use both command to reach drive root and base dir of locked tab. Sorry, i dont remember exact names.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

VadiMGP wrote:2MVV
You have to add LockedGoToDriveRoot=1 to wincmd.ini file.
After this you can use both command to reach drive root and base dir of locked tab. Sorry, i dont remember exact names.
Thanks, I've missed this option. :)
Now I can use Ctrl+\ as usually and cm_GoToLockedDir for returning to home directory. I've assigned cm_GoToLockedDir to Ctrl+Shift+\. :D
User avatar
Hacker
Moderator
Moderator
Posts: 13144
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Post by *Hacker »

MVV,
Maybe it is better to go to root dir on single Ctrl+\ and to home tab dir on double Ctrl+\?
I suggest the other way around:
one Ctrl-\ - go to tab home dir
two Ctrl-\ - go to drive root

Roman
Mal angenommen, du drückst Strg+F, wählst die FTP-Verbindung (mit gespeichertem Passwort), klickst aber nicht auf Verbinden, sondern fällst tot um.
User avatar
karlchen
Power Member
Power Member
Posts: 4605
Joined: 2003-02-06, 22:23 UTC
Location: Germany

Post by *karlchen »

Hacker wrote:I suggest the other way around:
one Ctrl-\ - go to tab home dir
two Ctrl-\ - go to drive root
Roman
Support.

The primary goal of locking a tab is to be able to go back to the root folder of the tab. And the root folder of the tab is the folder which I selected as its root.
Being able to go to the root folder of the drive is secondary in this case.

Hm, maybe the order of going to "tab home dir" and "drive root" could be made dependant on the parameter "LockedGoToDriveRoot":

LockedGoToDriveRoot=0:
1st ctrl+\ goes to tab home dir
2nd ctrl+\ goes to drive root dir

LockedGoToDriveRoot=1:
1st ctrl+\ goes to drive root dir
2nd ctrl+\ goes to tab home dir

Wouldn't this make everybody happy?

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

Post by *MVV »

Hacker wrote:MVV,
Maybe it is better to go to root dir on single Ctrl+\ and to home tab dir on double Ctrl+\?
I suggest the other way around:
one Ctrl-\ - go to tab home dir
two Ctrl-\ - go to drive root
This will be at least strange. For example, I have locked tab at F:\111. I have current path C:\Windows. So, at first, I go to F:\111, and then to C:\ as root folder of another drive? My suggestion was logical.
karlchen wrote:The primary goal of locking a tab is to be able to go back to the root folder of the tab. And the root folder of the tab is the folder which I selected as its root.
Being able to go to the root folder of the drive is secondary in this case.
I think it is enough to go to home by TC restart/tab switch/cm_GoToLockedDir. I don't think this folder is really needed every minute.
MVV wrote:Now I can use Ctrl+\ as usually and cm_GoToLockedDir for returning to home directory. I've assigned cm_GoToLockedDir to Ctrl+Shift+\. :D
This fully satisfies me.
User avatar
ND
Member
Member
Posts: 150
Joined: 2006-04-10, 16:24 UTC
Location: Sibiu, RO

Post by *ND »

How about Ctrl+\ goes to root of Tab, Alt+\ goes to root of Drive:

Code: Select all

[Configuration]
LockedGoToDriveRoot=1
[Shortcuts]
C+OEM_US\|=cm_GoToLockedDir
A+OEM_US\|=cm_GoToRoot
aNDreas Bolotă
The truth always carries the ambiguity of the words used to express it. (Frank Herbert, God Emperor of Dune)
timjobar
New Member
New Member
Posts: 1
Joined: 2009-09-11, 14:00 UTC

Post by *timjobar »

VadiMGP wrote:2MVV
You have to add LockedGoToDriveRoot=1 to wincmd.ini file.
After this you can use both command to reach drive root and base dir of locked tab. Sorry, i dont remember exact names.
Thank you VadiMGP, this is what I was looking for !

I suggest this could be done somewhere in the menus.

PS I was puzzled at first with "" behaving differently after a "Locked, but directory changes allowed".
sphere22
Junior Member
Junior Member
Posts: 2
Joined: 2013-11-19, 18:57 UTC

Post by *sphere22 »

Besides using a shortcut wouldn't it be useful to assign cm_GoToLockedDir to the tab itself? The activated tab has no left-click mouse function yet...
For me at least that would be a big improvement.
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

sphere22,
You can add buttonbar button with cm_GoToLockedDir so it will be available by mouse click.
sphere22
Junior Member
Junior Member
Posts: 2
Joined: 2013-11-19, 18:57 UTC

Post by *sphere22 »

MVV wrote:sphere22,
You can add buttonbar button with cm_GoToLockedDir so it will be available by mouse click.
I'm aware of the obvious methods. I already have a button.
The question remains whether it's possible to assign GoToLockedDir to the tabs.
Can it be done and wouldn't it be a useful addition?
Post Reply