[solved] TC7.50 pb6 and pb7 Error when unpacking locked files

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
User avatar
petermad
Power Member
Power Member
Posts: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

[solved] TC7.50 pb6 and pb7 Error when unpacking locked files

Post by *petermad »

TC fails to continue when unpacking files from a zip archive where the destination file already exists and is locked.

Steps to reproduce:
1. View a file with a Lister plugin (to get the plugin loaded into memory).
2. Open the plugin directory in one panel, and a zip file containing the .wlx file of the same plugin in the other panel.
3. Try to copy the .wlx file from the zip file into the plugin directory.
4. As expected you get an "Access denied on file:" dialog.
5. But it is neither possible to Skip, Cancel or Rename.
6. You get an Error dialog (hidden behind the main TC window!) that says: "Control deleted from background thread!" (always in English despite of using other .lng)
7. If you press OK in the Error dialog 4 times TC regains control.

This bug was not present in TC 7.50 pb5 or older.
Last edited by petermad on 2021-05-30, 17:46 UTC, edited 1 time in total.
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
StatusQuo
Power Member
Power Member
Posts: 1524
Joined: 2007-01-17, 21:36 UTC
Location: Germany

Post by *StatusQuo »

Confirmed for TC 7.5pb7 (XP SP3).
5. But it is neither possible to Skip, Cancel or Rename.
Addition: Skip/Cancel/Rename are processed like expected after TC regains control in step 7.
Who the hell is General Failure, and why is he reading my disk?
-- TC starter menu: Fast yet descriptive command access!
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Indeed it's a known error, it happens because that dialog is (by mistake) directly created from within a background thread. It will be fixed in the next beta (in fact, I have already fixed it).
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 14806
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Post by *petermad »

Fixed in TC 7.50pb8 :-)
License #524 (1994)
Danish Total Commander Translator
TC 11.03 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1371a
TC 3.50 on Android 6 & 13
Try: TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48083
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Post by *ghisler(Author) »

Thanks!
Author of Total Commander
https://www.ghisler.com
Post Reply