This forum uses cookies. Click X button to hide this message. What is stored? / Privacy
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 

Inconsistent archive handling

 
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed Printable version
View previous topic :: View next topic  
Author Message
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 763
Location: Poland

PostPosted: Thu May 17, 2018 1:33 pm    Post subject: Inconsistent archive handling Reply with quote

Initial step: create c:\test\test.zip - it should contain file1.txt and file2.txt (with any contents).

Test 1:
1) go to c:\test
2) press Alt+F7 and search for *.txt files, with "Search archives" option enabled
3) start search - you will see file1.txt and file2.txt in the search results
4) select file1.txt, press F4, edit it and save changes
5) TC asks if repack changed file - choose Yes - file is repacked
6) select file2.txt, press F4, edit it and save changes
7) TC asks if repack changed file - choose Yes - file is repacked

Test 2:
1) as above
2) as above
3) as above
4) press "Feed to listbox" button
5) select file1.txt, press F4 - TC asks if you want to unpack file to temp directory - please note that there was no such question in same situation in Test 1
6) choose Yes, edit the file and save changes
7) TC asks if repack changed file - choose Yes - file is repacked
8) select file2.txt, press F4 - TC says that the operation cannot be performed, because the archive has been modified

I don't know which behavior is right, but there should be no differences between Test 1 and Test 2, since these are identical cases (in sense of archive processing).

Regards
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35473
Location: Switzerland

PostPosted: Fri May 18, 2018 4:27 am    Post subject: Reply with quote

Sorry, cannot be changed.
This happens because TC cannot reload the zip contents in Test 2 after feed to listbox - it would have to repeat the search for that.
_________________
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
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 763
Location: Poland

PostPosted: Fri May 18, 2018 4:31 am    Post subject: Reply with quote

Ok, sounds reasonable. But why don't you need to repeat search in Test 1?
Back to top
View user's profile Send private message Send e-mail
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 763
Location: Poland

PostPosted: Tue May 22, 2018 4:14 am    Post subject: Reply with quote

Om more note: when TC asks if you want to unpack file to temp directory - is this question in practice helpful?

If yes, it should appear also in Test 1.

If not, maybe it could be just removed?

Regards
Back to top
View user's profile Send private message Send e-mail
ghisler(Author)
Site Admin
Site Admin


Joined: 04 Feb 2003
Posts: 35473
Location: Switzerland

PostPosted: Tue May 22, 2018 8:35 am    Post subject: Reply with quote

I prefer to keep it as it is now, sorry.
_________________
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
MarcinW
Power Member
Power Member


Joined: 23 Jan 2012
Posts: 763
Location: Poland

PostPosted: Tue May 22, 2018 5:15 pm    Post subject: Reply with quote

:(
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Total Commander Forum Index -> TC Behaviour which will not be changed 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


Imprint/Impressum: This site is maintained by Ghisler Software GmbH
Privacy Policy | Datenschutzerklärung | Politique de Confidentialité

Using phpBB © phpBB Group