can't add to tar archive using drag and drop in same panel

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

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
Dark One
Junior Member
Junior Member
Posts: 40
Joined: 2003-05-19, 10:48 UTC
Location: Serbia

can't add to tar archive using drag and drop in same panel

Post by *Dark One »

(i don't know if this belongs here as tc6.54 behaves the same way. if it doesn't sorry. feel free to move the thread.)


steps to reproduce:
1) enter a directory with couple of files. see that the same dir is in the other panel as well.
2) select three or four files and zip them to the same directory (no need to delete on pack)
3) select three or four files and tar them to the same directory
4) select one or more files and use mouse to drag them (don't drop!) over the zip archive in the same dir. you get a visual indication that commander is ready to add the files into the archive.
5) move the files (which you are still holding) over the tar archive. commander refuses to add them inside...

tv7rc5 (tc6 also) on winxpsp1
is see no use for a screenshot, but if you want it, il make one
tar archive is fine; if i send it to other panel, i can add files normally.

same goes for gz. other formats are fine. strangely, bz2 also allows me to drag files onto it, which is good as it allows me to overwrite the file within.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

select one or more files and use mouse to drag them (don't drop!) ... you get a visual indication that commander is ready to add the files into the archive.
You means the packing dialog or what?
Can you give a screenshot for this? I can't reproduce.
move the files (which you are still holding) over the tar archive. commander refuses to add them inside...
I can modify TAR archive both via F5 & Shift+F5 and Drag&Drop (either with Shift). Maybe the reason of your error is no enough space on disk with %TEMP% - TC repacking all files when modifying TAR archives.
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Confirmed (TC7rc5, W2k SP4).

2DrShark:
Here dragging files over the ZIP archive (or RAR, ARJ, UC2, LZH, ACE) shows a box around the target archive name, but not over TAR, TGZ, GZ.
Accordingly dragging a file over a TAR, TGZ, GZ archive calls the "Copy" dialog, instead of the "Pack" dialog, as it should.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Here dragging files over the ZIP archive (or RAR, ARJ, UC2, LZH, ACE) shows a box around the target archive name, but not over TAR, TGZ, GZ.
Accordingly dragging a file over a TAR, TGZ, GZ archive calls the "Copy" dialog, instead of the "Pack" dialog, as it should.
Yes, confirmed too.
But note this, from Help, §Working with archives (ZIP, ARJ, LZH, RAR, UC2, CAB, ACE):
... Files with extension .TAR come from the UNIX world - they are usually packed into a GZIP file (ending with .GZ). They can now also be modified with Total Commander...
...Repacking will NOT work to TGZ, GZ and CAB archives!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50390
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

I will check that after the release of TC7, thanks.
Author of Total Commander
https://www.ghisler.com
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

DrShark wrote:Yes, confirmed too.
But note this, from Help, §Working with archives (ZIP, ARJ, LZH, RAR, UC2, CAB, ACE):
... Files with extension .TAR come from the UNIX world - they are usually packed into a GZIP file (ending with .GZ). They can now also be modified with Total Commander...
...Repacking will NOT work to TGZ, GZ and CAB archives!
Thanks for the info. I would consider the help as outdated here, because when entering the archives you can copy new files into them and overwrite files with new versions (TC7 final).
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
Flint
Power Member
Power Member
Posts: 3501
Joined: 2003-10-27, 09:25 UTC
Location: Belgrade, Serbia
Contact:

Post by *Flint »

Fixed in 7.01.
Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, and other stuff!
 
Using TC 11.03 / Win10 x64
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Confirm fixed in 7.01:
- pack dialog for target .tar
- no dialog (no drop target) for target .gz and .tgz

But: The help text is still outdated:
TOTALCMD.HLP, section 3e (last paragraphs) wrote:Edit files from an archive
To edit a file with the editor of your choice, just press F4. The file is then automatically unpacked and will be repacked into the archive if it was changed with the editor. Repacking will NOT work to TGZ, GZ and CAB archives! Instead, the modified file will not be deleted and remain in the temporary directory.
This is not true anymore. Repacking will also work with at least TGZ and GZ (just tested here - worked), the temp file is deleted after repacking.
(I couldn't test CAB behaviour here.)
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply