TC hangs on F3 from the inside of big archives

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

TC hangs on F3 from the inside of big archives

Post by *MaxX »

Do to reproduce:
1. Pack any big solid archive. Let it be 10GB 7z for example.
2. Then go inside, find the last file (the last in archive pack order!) and F3 on it.
3. As it is expected, TC reads archive to find that file, BUT it hangs until reading is finished. Then Lister is shown.

There is no "Wait..." or "Reading..." message or anything like that. TC just looks hanged. And no cancel available.

Could you add some "Wait..." or "Reading..." splash with "Cancel" button for operations longer than 5 sec? Just something similar to "Connecting..." when accessing slow disk or network shares.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC hangs on F3 from the inside of big archives

Post by *ghisler(Author) »

Strange, I get an unpack progress dialog there. I didn't try with a large archive yet, though, so I don't know whether the cancel button works or not.

Do you get an unpack progress dialog?
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: TC hangs on F3 from the inside of big archives

Post by *MaxX »

Yes. But there's no movement on progress bar.
Reproduceable on 7z archives (big files inside) with 7zip.wcx 0.766.
It looks like there's shown only fully read files, but not real bytes processed.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6482
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: TC hangs on F3 from the inside of big archives

Post by *Horst.Epp »

MaxX wrote: 2019-12-16, 13:00 UTC Yes. But there's no movement on progress bar.
Reproduceable on 7z archives (big files inside) with 7zip.wcx 0.766.
It looks like there's shown only fully read files, but not real bytes processed.
Try the Total7zip plugin.
Its much better and you can always use actual 7zip versions and features.
Windows 11 Home x64 Version 23H2 (OS Build 22631.3447)
TC 11.03 x64 / x86
Everything 1.5.0.1372a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC hangs on F3 from the inside of big archives

Post by *ghisler(Author) »

Reproduceable on 7z archives (big files inside) with 7zip.wcx 0.766.
Could you try with disabled 7zip.wcx (using internal unpacking dll)?
Yes. But there's no movement on progress bar.
This happens because of the solid archive: The progress bar only shows the progress of the currently unpacked file. But since you picked the last file in a solid archive, all the files before that file need to be unpacked too so the last one can be unpacked. If the plugin doesn't report any progress, then there is no way to abort the operation.
Author of Total Commander
https://www.ghisler.com
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: TC hangs on F3 from the inside of big archives

Post by *MaxX »

2Horst.Epp
Thanks, but no. Total7zip plugin is very slow, because it unpacks all files to %temp% in groups until needed file is read. This works much slower than any another 7z plugins.

2ghisler(Author)
I understand. Is it possible to prevent TC from hang when TC is waiting for plugin's response?
For example, TC could just refresh window with no changes every 5 or 10 sec to have ability to cancel unpacking.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC hangs on F3 from the inside of big archives

Post by *ghisler(Author) »

Unfortunately the unpack function is called from a foreground thread, so the only way to cancel unpacking would be when the plugin calls back to the progress function (which it apparently doesn't do while skipping files). You can try to contact the plugin developer about it.
Author of Total Commander
https://www.ghisler.com
User avatar
dindog
Senior Member
Senior Member
Posts: 315
Joined: 2010-10-18, 07:41 UTC

Re: TC hangs on F3 from the inside of big archives

Post by *dindog »

MaxX wrote: 2019-12-17, 17:07 UTC Thanks, but no. Total7zip plugin is very slow, because it unpacks all files to %temp% in groups until needed file is read. This works much slower than any another 7z plugins.
I believe that is exactly what "solid archive" mean, and I don't think any 7z plugin can do anything about it, probably just when you was testing with the file with total7zip IS at the end. Or I am having big wrong knowledge about solid... correct me if I do get it wrong.

P.S.
I think total7zip is superb to other 7z plugins too. Multiarc is good too, it uses 7z.exe, which enable users using -x for exclude list and some other parameter is not support yet in 7zG, but multiarc can handle unicode.
User avatar
MaxX
Power Member
Power Member
Posts: 1029
Joined: 2012-03-23, 18:15 UTC
Location: UA

Re: TC hangs on F3 from the inside of big archives

Post by *MaxX »

2dindog
7zip.wcx is the best for 7z files, no speed loss, no unwanted files in %temp% folder.
Total7zip.wcx is goor for another formats that 7z.exe supports.
Just use both of them with separated extensions, e.g. 7z & 7zip.
Ukrainian Total Commander Translator. Feedback and discuss.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48079
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: TC hangs on F3 from the inside of big archives

Post by *ghisler(Author) »

I'm moving this to "will not be changed" because only the plugin author could change it.
Author of Total Commander
https://www.ghisler.com
Post Reply