Bug: Configuration -> Apply -> OK

English support forum

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Bug: Configuration -> Apply -> OK

Post by *makinero »

Bug: Configuration -> Apply -> OK

Click: OK
Not work!

The application is busy all the time!

https://s13.postimg.org/vzcxisy7r/Screen_Shot_03-29-17_at_01.01_PM.jpg
TW
Senior Member
Senior Member
Posts: 392
Joined: 2005-01-19, 13:35 UTC

Post by *TW »

works fine for me.
licenced and happy TC user since 1994 (#11xx)
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2makinero
Again - without a detailed bug description noone will be able to reproduce this.
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

You can not change an option because another process is busy.
Known issue, the same bug also occurs in Everything.

Caused by: Co najmniej jeden wątek procesu TOTALCMD64.EXE jest w stanie oczekiwania.
At least one thread of the process TOTALCMD64.EXE is waiting.
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2makinero
Read my text below carefully. This is how a report should look like. I'm not quite sure if the behavior is unexpected in all aspects but it's worth to take a closer look.

Tested on Win7 Pro 64, TC 9.0a x64, HDD
  1. Create a large folder with >2^16 files.
  2. Make sure all the refresh stuff is turned off. No refresh on activate or exit for the drive in question and no refresh on file system change.

    Code: Select all

    noreread=ABCDEFGHIJKLMNOPQRSTUVWXYZ/\:
    noreread2=ABCDEFGHIJKLMNOPQRSTUVWXYZ/\:
    WatchDirs=50
    
  3. Open the created folder on both sides.
  4. On the left create a file 'bla.txt' and go on folder up.
  5. Open settings dialog and toggle 'show function key' switch.
  6. Click OK
  7. Now TC is busy in the foreground for some time. This time is definitely related to the size of the folder. But we don't know what happended.
  8. The right pane now displays the newly created file --> the folder has been reread.
1. It must be clarified why a folder refresh is necessary in this case.
2. The behavior observed by makinero opens the question why the foreground thread is blocked in this case. With ThreadFindFirst=1 we expect the actual refresh to be performed in a background thread. The refresh of the user interface is expected to be instantly even for very large folders.
Last edited by Lefteous on 2017-03-29, 13:50 UTC, edited 1 time in total.
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

Too many TOTALCMD.exe threads (many PID processes)
Reads all the folders on the main partition.

T:\Folder1
T:\Folder2
T:\Folder3
....
T:\Folder 10000

10000 PID Process!

http://117.imagebam.com/download/zLFIjFjr5Of7b4h6wzmCRA/54075/540743311/Screen%20Shot%2003-29-17%20at%2003.40%20PM%3D%3D%3D%3D%3D.jpg
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

We have had that before :roll: Is the 2nd column the PID? If yes there is only one instance (same PID). Proceses and threads are not the same thing. PID means _process_ ID and says nothing about threads. And what would be too many threads?
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

I open one folder (one path) instead of thousands of folders or 100000 path?
So why read all the paths??? :shock:
Scans the Entire partition. WTF?
User avatar
hlloyge
Member
Member
Posts: 131
Joined: 2006-11-02, 23:14 UTC

Post by *hlloyge »

I don't understand - are you saying that, whenever you open totalcmd, it scans all the partitions and folders?
I am not aware of an option which does that. Eventually Options/Display/Always load complete directory tree.
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

hlloyge wrote:I don't understand - are you saying that, whenever you open totalcmd, it scans all the partitions and folders?
I am not aware of an option which does that. Eventually Options/Display/Always load complete directory tree.
My setting All Default
Source: All file details -> Full
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

2makinero
Scans the Entire partition.
That's just nonsense.
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

Lefteous wrote:
Scans the Entire partition.
That's just nonsense.
Well... I have usb hdd connected to a PC and sometimes if I do something in TC (like navigation, or search) with folders that has nothing todo with external drive hdd, led of external hdd starts blinking. Sometimes it happens when I just click on some menus, and not only in TC but also in other apps. And sometimes doing same things I don't see any reaction of external hdd led (it either has or hasn't the light, but no blinking).
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

Some access to an external HDD is not even close to scanning a whole partition.
User avatar
makinero
Senior Member
Senior Member
Posts: 268
Joined: 2013-10-26, 10:05 UTC

Post by *makinero »

You can see that he reads everything (T partition!)
Reading all decreases disk performance and TC

http://117.imagebam.com/download/zLFIjFjr5Of7b4h6wzmCRA/54075/540743311/Screen%20Shot%2003-29-17%20at%2003.40%20PM%3D%3D%3D%3D%3D.jpg
User avatar
Lefteous
Power Member
Power Member
Posts: 9537
Joined: 2003-02-09, 01:18 UTC
Location: Germany
Contact:

Post by *Lefteous »

You can see that he reads everything (T partition!)
Looks like reading the root folder to me.
Post Reply