Locked Tab behavior: Bug or By Design

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
robinsiebler
Senior Member
Senior Member
Posts: 460
Joined: 2003-03-05, 21:04 UTC

Locked Tab behavior: Bug or By Design

Post by *robinsiebler »

1. Open 2 tabs in the same panel.
2. In tab A, Navigate in to c:\foo.
3. Lock tab A with directory changes allowed.
4. In tab A navigate to c:\foo\bar.
Bug 1 - The tab title does not reflect the current dir.
5. Switch to tab B.
6. Switch back to tab A.
Bug 2 - The path in tab A is now c:\foo.
Robin L. Siebler
Personal License #13949
------------------------------
"Bother", said Pooh, as he deleted Windows
j
Member
Member
Posts: 124
Joined: 2009-04-13, 19:49 UTC

Post by *j »

From the documentation:
- Locked, but directory changes allowed Locks a tab. Reverts to the saved dir when switching to a different tab and back, or when clicking the root button. Useful e.g. to save the root of a project

So, this is by design :-).
User avatar
StickyNomad
Power Member
Power Member
Posts: 1933
Joined: 2004-01-10, 00:15 UTC
Location: Germany

Post by *StickyNomad »

2j
So, this is by design
Indeed. But unfortunately this renders locked tabs with dirchange allowed completely useless for me (I'd like them to stay in the changed dir, and not return to the tab root on every tab change).
This was already discussed quite a while ago (see my suggestions here: http://www.ghisler.ch/board/viewtopic.php?p=48145#48145), but so far, without success. Maybe Christian could consider one of my proposals in a later release...

If the behaviour of locked tabs isn't going to be changed, maybe my suggestion #2 from the linked post could be considered:
StickyNomad wrote:2. The possibility to assign a root Dir to a regular Tab, e.g. an entry like 'set actual directory as tab-root' in the Tabs right Click menu.
This would save me much time and be very comfortable for me...
User avatar
Yuta
Member
Member
Posts: 145
Joined: 2007-03-27, 16:52 UTC
Location: Argentina

Post by *Yuta »

Bug1
Confirmed, but I like it this way, so I can always see the locked tab root.

Bug2
Support++
The same with me. I'd like it to remember in case I leave. I can always press Ctrl-< to go to the locked tab root.
User avatar
Balderstrom
Power Member
Power Member
Posts: 2148
Joined: 2005-10-11, 10:10 UTC

Post by *Balderstrom »

Or just an additional Locked Folder Type,
From Rename/Lock Tab:
[ ] Lock this tab
[ ] Locked, directory changes allowed (Keep Root)
[ ] Locked, directory changes allowed

Functionality of the current "directory changes allowed", would remain the same, just be re-descripted to (Keep Root) and the new type of Locked Tab would not auto change back to the directory (root) it was locked at.
*BLINK* TC9 Added WM_COPYDATA and WM_USER queries for scripting.
neuNet
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-06, 04:19 UTC
Location: China

Post by *neuNet »

Balderstrom wrote:Or just an additional Locked Folder Type,
From Rename/Lock Tab:
[ ] Lock this tab
[ ] Locked, directory changes allowed (Keep Root)
[ ] Locked, directory changes allowed

Functionality of the current "directory changes allowed", would remain the same, just be re-descripted to (Keep Root) and the new type of Locked Tab would not auto change back to the directory (root) it was locked at.
I think the second option to lock the tab could be extremely useful!
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

neuNet, if you're talking about 'Locked, directory changes allowed (Keep Root)' as second option, it is already exists and is called just 'Locked, directory changes allowed'.
neuNet
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-06, 04:19 UTC
Location: China

Post by *neuNet »

MVV wrote:neuNet, if you're talking about 'Locked, directory changes allowed (Keep Root)' as second option, it is already exists and is called just 'Locked, directory changes allowed'.
Hi MVV, actually what I mean is that when you choose 'Locked, directory changes allowed', then the current directory is your ROOT directory, and you can switch between sub-directories BUT when you try to switch to the level upper than the ROOT, it will be forbidden.

this could be useful, for instance, I have two root directories ..branch/ and ..trunk/, they have exactly the same sub-directories, and I have to do some modifications to files in either branch/ or trunk/, since they have the same sub-directories, I always have to check if i'm working with the right one. if it's not allowed to switch to the directory upper than the root, then this problem could be solved, what do you think?
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think you can use subst command from batch file that will mount your directories as two separate drives. E.g. following button will remove old mounts and mount currently active left and right folders R: and S: and then open them in new tabs:

Code: Select all

Command: cmd.exe
Parameters: /c "subst R: /d & subst S: /D & subst R: "%X%P." & subst S: "%X%T." & start "" %%COMMANDER_EXE%% /O /T /L=R:\ /R=S:\"
Minimized: true
neuNet
Junior Member
Junior Member
Posts: 3
Joined: 2013-02-06, 04:19 UTC
Location: China

Post by *neuNet »

MVV wrote:I think you can use subst command from batch file that will mount your directories as two separate drives. E.g. following button will remove old mounts and mount currently active left and right folders R: and S: and then open them in new tabs:

Code: Select all

Command: cmd.exe
Parameters: /c "subst R: /d & subst S: /D & subst R: "%X%P." & subst S: "%X%T." & start "" %%COMMANDER_EXE%% /O /T /L=R:\ /R=S:"
Minimized: true
hello MVV, your idea is just brilliant! 'SUBST' command is easy and handy to use, thanks! :D
Post Reply