Wrong selection restored after deleting from archive (RAR)

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Wrong selection restored after deleting from archive (RAR)

Post by *StatusQuo »

EDIT: This seems to only occur using an external packer (like WinRAR), not with internal ZIP.
The changed archive on the right has to be in the same dir that is displayed on the left.

To reproduce:
  • left panel: go to a normal directory
  • right panel: enter a (RAR) archive (located in the same dir that is displayed in the left panel)
  • copy (add) a single file into the opened archive (left to right)
  • left panel: select some files (in the normal directory)
  • right panel: delete a file from the archive
    (the selection on the left is removed)
  • try to restore the selection on the left with key "/" on the num block
:arrow: The wrong selection is restored, consisting of the 1 file that was previously copied into the archive.
The selection on the left before the file operation (delete from archive) is gone.
Last edited by StatusQuo on 2008-04-27, 11:41 UTC, edited 1 time in total.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
icfu
Power Member
Power Member
Posts: 6052
Joined: 2003-09-10, 18:33 UTC

Post by *icfu »

Confirmed.

Precondition: Archive is located in the same directory as the selected files. In this case, after time stamp of archive changes, TC refreshes the file panel and selection is lost.

Icfu
This account is for sale
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Not changed in TC 7.03.
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 »

StatusQuo wrote:right panel: delete a file from the archive
(the selection on the left is removed)
Cannot reproduce this step in 7.03.
Selection on left panel still present...
Rar packer: WinRAR 3.71.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

All fixed bugs have been moved to the "Confirmed bugs" section. This problem was too risky to be fixed, it could have dozens of side effects with partial names etc. Therefore I have postponed it to TC 7.5.
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 »

2DrShark
Cannot reproduce this step in 7.03.
I still get this with TC 7.03/WinRAR 3.71.
Did you consider the added precondition (now added in the OP)?
icfu wrote:Precondition: Archive is located in the same directory as the selected files.
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 »

Precondition: Archive is located in the same directory as the selected files.
Confirmed now. Looks like TC doesn't remember selection in this case.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Wrong selection restored after deleting from archive (RAR)

Post by *DrShark »

ghisler(Author) wrote: 2008-04-27, 07:37 UTCThis problem was too risky to be fixed, it could have dozens of side effects with partial names etc. Therefore I have postponed it to TC 7.5.
As of TC 9.50 beta 5 the bug is still not fixed.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48005
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Wrong selection restored after deleting from archive (RAR)

Post by *ghisler(Author) »

This should be fixed in beta 6, please check!
Author of Total Commander
https://www.ghisler.com
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Re: Wrong selection restored after deleting from archive (RAR)

Post by *DrShark »

history950.txt wrote:20.11.19 Fixed: Delete file(s) from archive: Preserve selection in opposite window (32/64)
Seems to be fixed in TC 9.50 beta 6, now after selecting files in first panel, deleting file from archive in second panel, switching to first panel and executing cm_RestoreSelection there the selection of files/dirs there is restored as expected, checked on Vista 32-bit.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Re: Wrong selection restored after deleting from archive (RAR)

Post by *StatusQuo »

I consider it fixed (although already since 9.22a):
TC 9.21a: reproducible
TC 9.22a: fixed/not reproducible
TC 9.50b9: fixed/not reproducible
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
Post Reply