This forum uses cookies. Click X button to hide this message. What is stored? 
Total Commander Forum Index Total Commander
Forum - Public Discussion and Support
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

History garbeled when declining to enter FTP-site

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs Printable version
View previous topic :: View next topic  
Author Message
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7322
Location: Valsted, Denmark

PostPosted: Thu Oct 05, 2017 12:30 pm    Post subject: History garbeled when declining to enter FTP-site Reply with quote

Going back and forth in the History with Alt+LeftArrow and Alt+RightArrow often gets corrupted when there is an FTP.site in the history and you decline to enter the password for the site, but press Esc. or the Cancel button.

Several different things might happen:
- The history can get totally flushed.
- The hstory shows that you are in the FTP directory (shown when pressing Alt+Down) even though you are not.
- The history shows that you are in another directory than you actually are.
- Pressing Alt+LeftArrow and Alt+RightArrow don't lead you anywhere (you are stuck) even thoug Alt+down shows more history enrties, that work when clicked on.
- The FTP directory get deleted from the history - after that Alt+LeftArrow and Alt+RightArrow works fine.

I cannot find any reliable way to reproduce these different faults, but playing around with it - ie. open an FTP site and then click on one or more of the local drive buttons and surf a little around - then close the FTP-connection and minimize TC in order to remove the password from memory, resize TC and use Alt+LeftArrow and Alt+RightArrow until TC asks for the password for the FPT site, then click Cancel and use the Alt+LeftArrow and Alt+RightArrow again.
_________________
#524
Danish Total Commander Translator
TC 9.10b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b8 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Fri Oct 06, 2017 3:42 am    Post subject: Reply with quote

Thanks, I can reproduce it. There may not be a good solution because TC cannot go to that entry in the history - maybe I should remove that entry, or add a new entry with the new location etc.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Mon Oct 09, 2017 7:10 am    Post subject: Reply with quote

I think I found a partial solution now - I reset the location in the history to where it was before trying to go back to the FTP directory when login fails.

However, when you then change directory, the entries below that position will be lost (just like in a web browser).
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7322
Location: Valsted, Denmark

PostPosted: Tue Oct 10, 2017 11:57 am    Post subject: Reply with quote

In TC 9.10rc1 if I reach an FTP-site going back in history, and I don't enter the password, TC now stays in the last dir befor that FTP-site - I think that is OK Smile

Now, we just need the same functionality when I Alt+LeftArrow my way back to a network share that is no longer available - If I cancel connecting to the network share and I thereafter cancel the "ERROR! -Drive not found!" dialog, then TC deletes all the previous history!
_________________
#524
Danish Total Commander Translator
TC 9.10b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b8 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Wed Oct 11, 2017 3:29 pm    Post subject: Reply with quote

Thanks for confirming the fix.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Mon Oct 16, 2017 6:51 am    Post subject: Reply with quote

I have changed that now in RC2:
1. If you cannot connect to a network share, and TC returns to the previous directory, the two directories will now switch places in the history.
2. If you cannot connect to a network share, and TC goes to a different drive chosen by the user, TC will now replace the network share in the history with the drive the user has chosen.

Please test it!
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7322
Location: Valsted, Denmark

PostPosted: Mon Oct 16, 2017 11:44 am    Post subject: Reply with quote

Quote:
1. If you cannot connect to a network share, and TC returns to the previous directory, the two directories will now switch places in the history.
2. If you cannot connect to a network share, and TC goes to a different drive chosen by the user, TC will now replace the network share in the history with the drive the user has chosen.


This is perfect, now I only wish it was the same for FTP - that after not connecting to FTP, I could continue going back (or forward) in the history with Alt+Arrow.
_________________
#524
Danish Total Commander Translator
TC 9.10b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b8 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 34715
Location: Switzerland

PostPosted: Tue Oct 17, 2017 3:05 am    Post subject: Reply with quote

Unfortunately I cannot do this with FTP, that's why I had to use the alternate method.
_________________
Author of Total Commander
http://www.ghisler.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
petermad
Power Member
Power Member


Joined: 05 Feb 2003
Posts: 7322
Location: Valsted, Denmark

PostPosted: Tue Oct 17, 2017 7:23 am    Post subject: Reply with quote

OK then
_________________
#524
Danish Total Commander Translator
TC 9.10b1 32+64bit on Win XP 32bit, Win 7, 8.1 & 10 64bit. TC 2.81b8 on Android 6.0

Get Extended Total Commander Menus
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Fixed bugs All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Impressum: This site is maintained by Ghisler Software GmbH

Using phpBB © 2001-2005 phpBB Group