[solved] TC 9.5b3 - Path not set to path in active panel for several functions

Bug reports will be moved here when the described bug has been fixed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] TC 9.5b3 - Path not set to path in active panel for several functions

Post by *petermad »

Path is now set to the path of the active file panel for:
Configuration - Plugins - Add (File system plugins, Lister plugins, Content plugins)
SAVESELECTION and SAVEDETAILS
see: viewtopic.php?p=361296#p361296

But it would be nice if the path was also set to path for active panel in the Windows' "Open" dialog for:
Configuration - Edit/View - External viewer - Default:
Configuration - Edit/View - Editor for F4
Configuration - FTP - Create log file
Configuration - Ignore list - Save in:
Configuration - Packer - 5 instances
Configuration - Zip packer - 2 instances
Associate - New type
Associate - Edit type - Open / New - Command (program)
Internal associations - Add - Edit file type - Open / New - Command (program)
Internal associations - Edit - Open / New - Command (program)
Lister - Configure - Multimedia - Use IrfanView... - Path:

SAVETABS
SAVETABSL
SAVETABSR
SAVETABS2
SAVETABS2L
SAVETABS2R

The SAVETABS commands does not work without a full path - so SAVETABS mytabs.tab does not work, whereas for exampel SAVESELECTION myselection.txt works.
Last edited by petermad on 2019-11-12, 21:11 UTC, edited 2 times in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *ghisler(Author) »

That's what I meant that I can't set the path everywhere - there are simply too many functions. I'm sure you still missed a lot of others.
Author of Total Commander
https://www.ghisler.com
User avatar
Hacker
Moderator
Moderator
Posts: 13052
Joined: 2003-02-06, 14:56 UTC
Location: Bratislava, Slovakia

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *Hacker »

Christian,
Well, better to miss a few than to miss all?
My 2 cents.

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
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *petermad »

Well, better to miss a few than to miss all?
My 2 cents.
I totally agree.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
MVV
Power Member
Power Member
Posts: 8702
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *MVV »

There is no need to set current directory in all these places, it should only be set in a single place - before displaying Browse dialog. So perhaps a helper function should be used that sets path from current panel and then shows Browse dialog. And yes, if there is no such helper function for now, it should be called in all these places, but this should be done only once.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *ghisler(Author) »

It's not that easy - the user may want to add several plugins from a _different_ directory. With your suggestion, he would have to go back to that directory every time he opened the browse dialog.

I will therefore set the current directory when opening the main settings dialog (and other dialogs calling the browse dialog). But this way I will probably not catch all cases...
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *petermad »

04.11.19 Fixed: Configuration - Options: Set current directory to left path when opening configuration dialog (also in associate, internal associations, multi-rename, compare by content, user menu), for various file open dialogs (32/64)
Should'nt it say:
04.11.19 Fixed: Configuration - Options: Set current directory to path of active panel when opening configuration dialog (also in associate, internal associations, multi-rename, compare by content, user menu), for various file open dialogs (32/64)
That seems to be what it is done.

Not yet implemented for for example:
Configuration - Edit/View - External viewer - Default:
Configuration - Edit/View - Editor for F4
Configuration - Ignore list - Save in:
Configuration - Packer - 5 instances
Configuration - Zip packer - 2 instances
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *ghisler(Author) »

Not yet implemented for for example:
Configuration - Edit/View - External viewer - Default:
Configuration - Edit/View - Editor for F4
Configuration - Ignore list - Save in:
Configuration - Packer - 5 instances
Configuration - Zip packer - 2 instances
Can you re-check this, please? The behaviour may be different from what you expect:
Total Commander sets the current directory to the active panel directory when you open the Configuration dialog. Then when you use multiple file open dialogs, and change directory inside of them, the current directory will stay where you went. The idea is that you don't need to go to the same directory manually again and again each time you open the dialog.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *petermad »

Aha - I see - that works as described :-) - except for one place:

In all places except for "FTP" -> "Create log file", the path from the current active panel is used, even if the current path in the field is different, but for the FTP setting the path currently in the field is used, if "Create log file" was already activated.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *ghisler(Author) »

"Create log file" should use the currently defined directory if you have set a log file directory.
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: TC 9.5b3 - Path not set to path in active panel for several functions

Post by *petermad »

"Create log file" should use the currently defined directory if you have set a log file directory.
OK - if that is by design, I consider this topic solved.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48021
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [solved] TC 9.5b3 - Path not set to path in active panel for several functions

Post by *ghisler(Author) »

It should still use the active directory when you clear the edit box before opening the file picker (and didn't open another file picker since you opened the settings).
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [solved] TC 9.5b3 - Path not set to path in active panel for several functions

Post by *petermad »

It should still use the active directory when you clear the edit box before opening the file picker
It sure does - great :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
petermad
Power Member
Power Member
Posts: 14739
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [solved] TC 9.5b3 - Path not set to path in active panel for several functions

Post by *petermad »

This topic should be placed in "Fixed bugs" not in "TC Behaviour which will not be changed"
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50b4 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply