| View previous topic :: View next topic |
| Author |
Message |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Mon Apr 16, 2012 10:22 am Post subject: [8.0ß25] Switching tab while deleting - tab changed |
|
|
0. Prepare some directory with unneeded files to be deleted, large enough so that deleting took some significant time (several seconds at least). Make sure there are no read-only, hidden or system files, so that deleting went without interruptions.
1. Start TC with clean INI.
2. In the left panel open two tabs with different paths in them. In the second tab navigate to the directory from the step 0 and set cursor on it.
3. Press Shift+Del, agree to all the confirmations, send deleting progress to the background.
4. While data are being deleted, press Ctrl+Tab to switch to the first tab, but do not release Ctrl, so that tab switch did not actually occur. Keep holding Ctrl until the background deleting finishes.
5. When deleting finishes, the path in the first tab (which is being hold by you) suddenly changes and becomes equal to that of the second tab. So does the tab title.
Tested in TC 8.0β25 x32 and x64, Win7 x64 SP1. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Wed Apr 18, 2012 8:33 am Post subject: |
|
|
Well, that's multitasking - I doubt that I can do much about it... _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Wed Apr 18, 2012 9:52 am Post subject: |
|
|
ghisler(Author)
Sorry, I didn't get you. Multitasking usually means running multiple tasks which do not interfere each other. But in this case a backgroung operation (the one usually sent into background and forgotten about) suddenly changed my foreground working environment. I was lucky to notice that, because the lists of files/dirs were too different. Otherwise I might end in a different directory and do some unwanted actions there, for example, delete some more files, thinking they are old backup copies, while being actually in the directory with the newest versions of my files… _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Fri Apr 20, 2012 10:43 am Post subject: |
|
|
Well, what should I do? Halt all background threads while the user does Ctrl+Tab? I don't think that this is feasible. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Fri Apr 20, 2012 11:35 am Post subject: |
|
|
ghisler(Author)
It's not obvious to me why a background thread should change the current tab's directory in the main TC window. I understand that it probably sends some signal so that TC refreshed the original tab contents after the operation is finished (to display the changed contents), but is it really completely impossible to prevent this action when TC is in the "tab-switching" state? Even more, TC could simply block all the re-reading signals while in this state, because they are just useless then — it might be easier to implement it that way. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Mon Apr 23, 2012 6:54 am Post subject: |
|
|
OK, I will try that. However, there are many other states which should be handled like this - it's just not feasible to handle them all, sorry. _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Mon Apr 23, 2012 7:20 am Post subject: |
|
|
| ghisler(Author) wrote: | | OK, I will try that. |
Thank you, that's all I ask for. _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
umbra Power Member

Joined: 14 Jan 2012 Posts: 662
|
Posted: Sat Apr 28, 2012 4:25 am Post subject: |
|
|
I can confirm that TC8 rc1 fixes this issue. _________________ Windows 7 Pro x64, Windows 8 Pro x64 |
|
| Back to top |
|
 |
Flint Power Member


Joined: 27 Oct 2003 Posts: 2867 Location: Moscow, Russia
|
Posted: Sat Apr 28, 2012 5:08 am Post subject: |
|
|
Fixed in 8.0rc1. Thanks very much!  _________________ Flint's Homepage: Full TC Russification Package, VirtualDisk, NTFS Links, NoClose Replacer, other stuff!
Using TC 8.01 / Win7 x64 SP1 |
|
| Back to top |
|
 |
ghisler(Author) Site Admin


Joined: 04 Feb 2003 Posts: 24602 Location: Switzerland
|
Posted: Mon Apr 30, 2012 7:38 am Post subject: |
|
|
Thanks! _________________ Author of Total Commander
http://www.ghisler.com |
|
| Back to top |
|
 |
|