minimize cancels copy process

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

Moderators: white, Hacker, petermad, Stefan2

Post Reply
oko
Senior Member
Senior Member
Posts: 201
Joined: 2007-05-03, 16:22 UTC

minimize cancels copy process

Post by *oko »

tc 11.02 x64
copy files in copy manager, during copying the conflict window appears (in my case it was over 259 char name conflict). In this situation if I click minimize tc window, copying is canceled and copy manager window is closed. I did not cancel anything, it automatically closes after tc is minimized.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: minimize cancels copy process

Post by *ghisler(Author) »

I can reproduce it and will check if there is any solution. It probably cannot be prevented: The dialog gets cancelled to prevent a deadlock situation.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: minimize cancels copy process

Post by *ghisler(Author) »

Unfortunately I could not find the reason for this behaviour. It seems to be caused somewhere in the Lazarus library. Therefore I will prevent the user from minimizing Total Commander when a confirmation dialog is up. It doesn't help when the user minimized all windows, but it's better than nothing.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: minimize cancels copy process

Post by *ghisler(Author) »

I could not fully fix this problem:
1. Total Commander 11.03 RC1 will refuse to be minimized via minimize button while the dialog is up.
2. It will still minimize and abort the operation when the user minimizes ALL programs via click on the bottom right corner of the window
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: minimize cancels copy process

Post by *ghisler(Author) »

In RC4 I finally found a solution for this problem! It is now again possible to minimize Total Commander while the background transfer manager shows an overwrite confirmation dialog, or a dialog which warns about long file names. It will be restored when Total Commander gets restored too.

Please test it! Note: This only affected the 64-bit version.
Author of Total Commander
https://www.ghisler.com
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: minimize cancels copy process

Post by *ghisler(Author) »

Can someone test this, please? Here are the instructions:
1. Open Total Commander 64-bit (the 32-bit version isn't affected)
2. Open an empty folder in the right panel (or create one)
3. Copy a single file from the left to the right panel
4. Select the same file again in the left panel
5. Press F5 and then F2 (or click on the "F2 Background" button)
-> The background transfer manager and an overwrite confirmation dialog appear.
6. In Total Commander title bar, click on the minimize button
-> Total Commander and the overwrite confirmation dialog disappear (minimized)
7. Click on the Total Commander icon in the task bar, and then on the Total Commander preview window to restore them
-> In TC 11.02 and older, the overwrite confirmation has been cancelled
-> In TC 11.03RC4, the overwrite confirmation dialog reappears
Author of Total Commander
https://www.ghisler.com
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6495
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: minimize cancels copy process

Post by *Horst.Epp »

Tested.
Works as described :D
Windows 11 Home x64 Version 23H2 (OS Build 22631.3527)
TC 11.03 x64 / x86
Everything 1.5.0.1373a (x64), Everything Toolbar 1.3.3, Listary Pro 6.3.0.73
QAP 11.6.3.2 x64
JBruecher
New Member
New Member
Posts: 1
Joined: 2016-08-14, 08:59 UTC
Location: Göttingen

Re: minimize cancels copy process

Post by *JBruecher »

Tested - and it works perfect!
User avatar
petermad
Power Member
Power Member
Posts: 14808
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: minimize cancels copy process

Post by *petermad »

Moderator message from: petermad » 2024-02-05, 13:55 UTC

Moved to "TC fixed bugs" from "TC11.x bug reports (English)"
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
Post Reply