[11.55RC5] Strange behavior with Everything (auto folder sizes)

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

Moderators: Hacker, petermad, Stefan2, white

siealex
Senior Member
Senior Member
Posts: 315
Joined: 2009-03-22, 16:36 UTC

[11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *siealex »

Today I noticed a strange bug with interaction of TC with Everything.
1. Install Everything and configure it to index folder sizes (according to the TC help file).
2. In TC configure:
Calculate space occupied by subdirectories
[ON] when selecting with the space bar
[OFF] before copying/deleting (possibly irrelevant)
[OFF] 'Everything'
[Automatic, only with 'Everything']
Check that the folder sizes are displayed automatically on every folder change.
3. Exit Everything (by explicitly selecting File - Exit or Exit in its tray icon menu), but do NOT exit TC.
4. Change the current folder in TC. The folder sizes disappear.
5. Start Everything again, return to TC and try changing folders. Folder sizes are NOT displayed until TC is also restarted.
We are not so S.M.A.R.T. as we imagine...
User avatar
tuska
Power Member
Power Member
Posts: 4111
Joined: 2007-05-21, 12:17 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *tuska »

I don't understand why you're reporting a bug for Everything 1.4

1. ... if you've disabled Everything 1.4 in the TC settings -> "[OFF] 'Everything'"
2. ... if you've exited Everything 1.4. -> "3. Exit Everything (by explicitly selecting File - Exit or Exit in its tray icon menu) ..."

If you set Total Commander correctly and do NOT close Everything,
then the problems described should not occur.

PS:
You could have included the exact 'Everything' version number in your bug report.


[11.55RC5] TC does not see Everything 1.5 alpha - by siealex
siealex
Senior Member
Senior Member
Posts: 315
Joined: 2009-03-22, 16:36 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *siealex »

This happens with any version of Everything (both 1.4 and 1.5).
1. ... if you've disabled Everything 1.4 in the settings -> "[OFF] 'Everything'"
With this exact combination of settings, automatic calculation uses Everything, but manual one (Alt-Shift-Enter or pressing spacebar) uses the built-in method.
2. ... if you've exited Everything 1.4. -> "3. Exit Everything (by explicitly selecting File - Exit or Exit in its tray icon menu) ..."
The problem is that TC immediately detects that Everything is stopped, BUT does NOT detect that it is running again. For example, this can occur if Everything is updated while TC is running.
We are not so S.M.A.R.T. as we imagine...
siealex
Senior Member
Senior Member
Posts: 315
Joined: 2009-03-22, 16:36 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *siealex »

Additional information: in this situation, searching in TC via Everything works fine, the problem is only with folder sizes.
We are not so S.M.A.R.T. as we imagine...
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *ghisler(Author) »

This is intentional: Total Commander doesn't check every time you change directories whether Everything is enabled or not. It does this the first time, and then continues to use Everything until it's not responding any more. Why would anyone turn off Everything just for fun?
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4111
Joined: 2007-05-21, 12:17 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *tuska »

ghisler(Author) wrote: 2025-06-08, 08:06 UTC This is intentional: Total Commander doesn't check every time you change directories whether Everything is enabled or not.
It does this the first time, and then continues to use Everything until it's not responding any more.
Just out of interest:

Calculate space occupied by subdirectories
🔲 'Everything'

If this option is UNCHECKED, won't only the TC internal size calculation be performed?
User avatar
tuska
Power Member
Power Member
Posts: 4111
Joined: 2007-05-21, 12:17 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *tuska »

siealex wrote: 2025-06-07, 22:18 UTC The problem is that TC immediately detects that Everything is stopped, BUT does NOT detect that it is running again.
For example, this can occur if Everything is updated while TC is running.
Upgrade/Update Everything 1.5a (portable) - Duration: <1 minute - ENGLISH - only example!
  1. Settings
    1. Settings in Everything
      • Option and example path only(!): C:\Everything\NO_ALPHA_INSTANCE
        File “NO_ALPHA_INSTANCE” without file extension and file contents in the Everything program directory.
        This removes the suffix -1.5a from the file names and the Everything Service!
      • Everything Options - 1.5.0.1393a (x64) > Keyboard > Toggle window Hotkey: Pause ("Pause"-Taste) - pls see Tooltip...
      • Everything Options - 1.5.0.1393a (x64) > General > ✅ Start Everything on system startup
      • Everything Options - 1.5.0.1393a (x64) > General > ✅ Everything Service
      • Everything.ini
        stop_service_on_exit=1
        Can I avoid killing the Everything Service every time I...?
        The Everything Service will be (after exiting Everything 1.5a)
        - only be paused - Status: Stopped.
        - NOT be uninstalled!
        - restarted when Everything is restarted.
        _______________
        Alternative option with a bookmark:
        Upgrading Portable Version Successfully,
        Everything 1.5.0.1384a adds a stop-service search command
        ... Everything will automatically restart the Everything Service after 30 seconds.
    2. Settings in Total Commander
      • wincmd.ini - section [Configuration]
        UseEverything=1
        Everything=C:\Everything\Everything64.exe -startup
        Everything=Path\to\Everything64.exe -startup -> OPTIONAL (recommended)!
        See: Point 13.1.a.
      • Directory hotlist (Ctrl+D)
        • Title: C:\Everything\Downloads <=> C:\Everything
        • Command: cd C:\Everything\Downloads\
          Target path: C:\Everything\
          (After calling it, the target path in my 'Directory hotlist' - configuration is shown as: cd C:\Everything\).
    3. Option: AHK-Tool 'QuickSwitch' (Save as... > Ctrl+Q: QuickSwitch Menu)
      To quickly access the directory previously called up via the Directory hotlist (Ctrl+D) in Total Commander
      during a download, I use this tool (Version 0.5dw9a).
      QuickSwitch - short summary
      cd %$STARTUP% (Pseudo environment variables)
      C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\___STARTUP_CTRL-Q_QuickSwitch.exe.lnk
      See also: QuickSwitch and JumpToFolder AHK scripts
  2. Executing the upgrade/update

    - 'Everything' was started automatically based on the settings after PC startup and is located in the system tray.
    - Total Commander has already been started.
    - The “Textify” tool has already been launched due to a “Startup” entry. (cd %$STARTUP%)
    1. Pressing the "Pause" key or clicking on the Everything icon in the system tray brings Everything to the foreground.
    2. Keyboard: File | Exit: ALT+F4 (Global), F10 (Global) ... or Alt+X (self-created bookmark) ...
      - completely exit Everything, i.e. the icon in the system tray has also been removed
      - terminate the Everything Service (status: stopped), but do NOT uninstall the Everything Service
      - remove the Everything Service from the Task Manager under “Processes”
    3. Switch to Total Commander to open the download directory of Everything using the Directory hotlist (Ctrl+D), e.g.
      Left: C:\Everything\Downloads\ ... Right: C:\Everything
    4. Click on the download link.
    5. Right-click on the file “Everything-1.5.0.1393a.x64.zip”, then click on the menu item “Save link as”.
      The window with the title “Save as” will appear.
    6. Option: Press Ctrl+Q to open the “QuickSwitch Menu” (-> compiled AHK script: QuickSwitch.exe).
      This lists the most recently used paths in Total Commander (or Windows Explorer).
      Either click on the path C:\Everything\Downloads or press the corresponding number, e.g. 1, to select it.
      The path has been selected in the window titled “Save as” -> press the “Save” button.
    7. The download has been completed.
      Right-click on the file “Everything-1.5.0.1393a.x64.zip” and then select the menu item: “Scan with Microsoft Defender...”
    8. Position the cursor on the file “Everything-1.5.0.1393a.x64.zip” and press Ctrl+Page Down keys
      to display the file “Everything64.exe”.
    9. Copy the file “Everything64.exe” to C:\Everything and overwrite the existing file.
      The “Backspace” key closes the .zip file.
    10. Start 'Everything'
      The Everything Service will also start and the status will change
      FROM: Stopped
      TO:     Running
      The Everything Service will reappear in the Task Manager under “Processes”.
  3. Duration: <1 minute (about 30 - 40 seconds)
Upgrade/Update Everything 1.5a (portabel) - Dauer: <1 Minute - DEUTSCH - nur Beispiel!
  1. Einstellungen
    1. Einstellungen in Everything
      • Nur Option und Beispielpfad(!): C:\Everything\NO_ALPHA_INSTANCE
        Datei "NO_ALPHA_INSTANCE" ohne Dateierweiterung und Dateiinhalt im Everything Programmverzeichnis.
        Hiemit wird das Suffix -1.5a aus den Dateinamen und dem Everything Service entfernt!
      • Everything Options - 1.5.0.1393a (x64) > Keyboard > Toggle window Hotkey: Pause ("Pause"-Taste) - siehe Tooltip...
      • Everything Options - 1.5.0.1393a (x64) > General > ✅ Start Everything on system startup
      • Everything Options - 1.5.0.1393a (x64) > General > ✅ Everything Service
      • Everything.ini
        stop_service_on_exit=1
        Can I avoid killing the Everything Service every time I...?
        Das Everything Service wird (nach dem Beenden von Everything 1.5a)
        - nur angehalten - Status: Beendet.
        - NICHT deinstalliert!
        - neu gestartet wenn Everything neu gestartet wird.
        _______________
        Alternative Variante mit einem Lesezeichen:
        Upgrading Portable Version Successfully,
        Everything 1.5.0.1384a adds a stop-service search command
        ... Everything will automatically restart the Everything Service after 30 seconds.
    2. Einstellungen in Total Commander
      • wincmd.ini - Abschnitt [Configuration]
        UseEverything=1
        Everything=C:\Everything\Everything64.exe -startup
        Everything=Pfad\zur\Everything64.exe -startup -> OPTIONAL (empfohlen)!
        Siehe: Punkt 13.1.a.
      • Verzeichnisliste (Strg+D)
        • Titel: C:\Everything\Downloads <=> C:\Everything
        • Kommando: cd C:\Everything\Downloads\
          Zielpfad: C:\Everything\
          (Nach Aufruf wird bei mir hinterher in der Verzeichnisliste - Konfiguration als Zielpfad: cd C:\Everything\ angezeigt).
    3. Option: AHK-Tool 'QuickSwitch' (Speichern unter... > Strg+Q: QuickSwitch Menu)
      Um bei einem Download das zuvor per Verzeichnisliste (Strg+D) aufgerufene Verzeichnis in Total Commander
      schnell zu erreichen verwende ich dieses Tool (Version 0.5dw9a).
      QuickSwitch - short summary
      cd %$STARTUP% (Pseudo-Umgebungsvariablen)
      C:\Users\user\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\___STARTUP_CTRL-Q_QuickSwitch.exe.lnk
      Siehe auch: QuickSwitch and JumpToFolder AHK scripts
  2. Ausführung des Upgrades/Updates

    - Everything wurde aufgrund der Einstellungen nach PC-Start automatisch gestartet und befindet sich im Systray
    - Total Commander wurde bereits gestartet
    - Das Tool "Textify" wurde aufgrund eines "Startup"-Eintrages bereits gestartet (cd %$STARTUP%)
    1. "Pause"-Taste drücken oder Klick auf das Everything Icon im Systray bringt Everything in den Vordergrund
    2. Keyboard: File | Exit: ALT+F4 (Global), F10 (Global) ... oder Alt+X (selbst erstelltes Lesezeichen) ...
      - beenden Everything komplett, d.h. auch das Icon im Systray wurde entfernt
      - beenden das Everything Service (Status: Beendet), deinstallieren das Everything Service jedoch NICHT
      - entfernen das Everything Service aus dem Task-Manager unter "Prozesse"
    3. Wechsel zu Total Commander um mit der Verzeichnisliste (Strg+D) das Downloadverzeichnis von Everything aufrufen, zB
      Links: C:\Everything\Downloads\ ... Rechts: C:\Everything
    4. Klick auf den Downloadlink durchführen.
    5. Rechtsklick, zB auf die Datei "Everything-1.5.0.1393a.x64.zip" durchführen, dann den Menüpunkt "Link speichern unter" anklicken.
      Das Fenster mit Titel "Speichern unter" wird angezeigt.
    6. Option: Mit Strg+Q das "QuickSwitch Menu" aufrufen (-> kompiliertes AHK-Skript: QuickSwitch.exe).
      In diesem werden die zuletzt verwendeten Pfade in Total Commander (oder Windows Explorer) aufgelistet.
      Den Pfad C:\Everything\Downloads entweder anklicken oder die entsprechende Ziffer, zB 1 drücken um ihn auszuwählen.
      Der Pfad wurde im Fenster mit Titel "Speichern unter" ausgewählt -> Button "Speichern" drücken.
    7. Der Download wurde durchgeführt.
      Rechtsklick auf die Datei "Everything-1.5.0.1393a.x64.zip" und danach den Menüpunkt: "Mit Microsoft Defender überprüfen..." auswählen.
    8. Cursor auf der Datei "Everything-1.5.0.1393a.x64.zip" positionieren und Strg+Bild-nach-unten Taste drücken
      um die Datei "Everything64.exe" anzuzeigen.
    9. Die Datei "Everything64.exe" nach C:\Everything kopieren und die vorhandene Datei überschreiben.
      Die "Rück"-Taste schließt die .zip Datei.
    10. Everything starten
      Das Everything Service wird ebenfalls gestartet und der Status ändert sich
      VON: Beendet
      AUF: Wird ausgeführt
      Im Task-Manager wird das Everything Service unter "Prozesse" wieder angezeigt.
  3. Dauer: <1 Minute (ca. 30 - 40 Sekunden)
Duration: <1 minute (approx. 30–40 seconds):
This leaves me no time for any other activities in Total Commander other than performing the 'Everything' update!

Try this option in Total Commander - Please see point 13.1.a.!
wincmd.ini - section [Configuration]
Everything=Path\to\Everything64.exe -startup

Tick this option to be sure that 'Everything' is used:
Calculate space occupied by subdirectories
✅ 'Everything'


Windows 11 Pro (x64) Version 24H2 (OS build 26100.4202) - 2025-05-28
TC 11.55RC5 x64/x86 | 'Everything' 1.5.0.1393a (x64)
Last edited by tuska on 2025-06-08, 19:02 UTC, edited 1 time in total.
User avatar
tuska
Power Member
Power Member
Posts: 4111
Joined: 2007-05-21, 12:17 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *tuska »

I did NOT encounter any errors when testing with indexed drives in 'Everything' and these settings:

1. Everything 1.5.0.1393a (x64) is running and the Everything Service has the status “Running”
2. Everything Options - 1.5.0.1393a (x64) > Indexes > ✅ Index folder size
 
3. Total Commander 11.55RC5 (x64, x86)
    Calculate space occupied by subdirectories
    a)  ✅ when selecting with the space bar     ; <-- *In this case*, this option only has an effect on drives that are NOT indexed in Everything.
    b)  ✅ 'Everything'                                       ;      Reason: 'Everything': Automatic, only with 'Everything' ... already displays the folder sizes!
    c)  Automatic, only with 'Everything'
    d)  wincmd.ini [Configuration] Everything=C:\Everything\Everything64.exe -startup


Windows 11 Pro (x64) Version 24H2 (OS build 26100.4202) - 2025-05-28
TC 11.55RC5 x64/x86 | 'Everything' 1.5.0.1393a (x64)
Last edited by tuska on 2025-06-09, 08:20 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *ghisler(Author) »

Calculate space occupied by subdirectories
🔲 'Everything'
If this option is UNCHECKED, won't only the TC internal size calculation be performed?
Yes, unless you choose "Automatic, only with 'Evetrything'".
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 4111
Joined: 2007-05-21, 12:17 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *tuska »

ghisler(Author) wrote: 2025-06-09, 08:19 UTC
tuska wrote: 2025-06-08, 08:43 UTC Calculate space occupied by subdirectories
🔲 'Everything'

If this option is UNCHECKED, won't only the TC internal size calculation be performed?
Yes, unless you choose "Automatic, only with 'Everything'".
Thanks for the info! :)

This means that when determining folder sizes, the following must be be taken into account(!):
ghisler(Author) wrote: 2025-06-08, 08:06 UTC ... Total Commander doesn't check every time you change directories whether 'Everything' is enabled or not.
It does this the first time, and then continues to use 'Everything' until it's not responding any more.
siealex
Senior Member
Senior Member
Posts: 315
Joined: 2009-03-22, 16:36 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *siealex »

tuska wrote: 2025-06-08, 08:43 UTC Just out of interest:

Calculate space occupied by subdirectories
🔲 'Everything'

If this option is UNCHECKED, won't only the TC internal size calculation be performed?
If this option is UNCHECKED, but in the next field "Automatic, only with Everything" is selected, manual calculation is done internally, but automatic one with Everything (and only if Everything is running).
If this option is checked, ALL calculations are performed via Everything. In this case any issues with Everything will screw up the folder size display.
Last edited by siealex on 2025-06-09, 12:05 UTC, edited 1 time in total.
We are not so S.M.A.R.T. as we imagine...
siealex
Senior Member
Senior Member
Posts: 315
Joined: 2009-03-22, 16:36 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *siealex »

ghisler(Author) wrote: 2025-06-08, 08:06 UTC This is intentional: Total Commander doesn't check every time you change directories whether Everything is enabled or not. It does this the first time, and then continues to use Everything until it's not responding any more. Why would anyone turn off Everything just for fun?
OK, understood.
We are not so S.M.A.R.T. as we imagine...
User avatar
tuska
Power Member
Power Member
Posts: 4111
Joined: 2007-05-21, 12:17 UTC

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *tuska »

siealex wrote: 2025-06-09, 12:02 UTC
tuska wrote: 2025-06-08, 08:43 UTC Just out of interest:

Calculate space occupied by subdirectories
🔲 'Everything'

If this option is UNCHECKED, won't only the TC internal size calculation be performed?
If this option is UNCHECKED, but in the next field "Automatic, only with Everything" is selected, manual calculation is done internally, ...
No, that's not correct.

Please take another look at the author's statement.
ghisler(Author) wrote: 2025-06-09, 08:19 UTC
Calculate space occupied by subdirectories
🔲 'Everything'
If this option is UNCHECKED, won't only the TC internal size calculation be performed?
Yes, unless you choose "Automatic, only with 'Everything'".
To achieve what you have written, the following would have to be present:
If this option is UNCHECKED, but in the next field "Automatic, only with Everything" is selected, AND 'Everything' has been EXITED(!),
manual calculation is done internally, ...

Reasons:
In the case of option “Automatic, only with 'Everything'” manual calculation can only be performed if 'Everything' has been closed,
otherwise the folder sizes will already be displayed by the option: “‘Everything’: Automatic, only with ‘Everything’”
(and in this case, manual calculation would no longer make sense anyway).
siealex wrote: 2025-06-09, 12:02 UTC If this option is checked, ALL calculations are performed via Everything.
In this case any issues with Everything will screw up the folder size display.
In this case, manual calculation is helpful:
1. ALT+SHIFT+ENTER
    The contents of all directories in the current directory are counted.
    The sizes of the directories are then shown in the "full" view instead of the string <DIR>.
    Abort by holding down ESC key.
2. Press the spacebar
    If SPACE is used on an unselected directory under the cursor, the contents in this directory are counted
    and the size is shown in the "full" view instead of the string <DIR>.
[The command "cm_rereadsource 1" helps to hide the folder sizes again in this case].

This brings us back to the topic of “Exiting Everything”...
For me, this matter is now closed.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 50817
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *ghisler(Author) »

I found a better solution for RC6: I don't turn off the function to check the presence of Everything, I just turn off the function which tries to start the Everything executable if that fails once. This way it should work again when the user restarts Everything.
11.06.25 Fixed: Multi-rename tool/Synchronize dirs: Clicking below the last item in the list was putting the focus on the last item (32/64)
Author of Total Commander
https://www.ghisler.com
User avatar
petermad
Power Member
Power Member
Posts: 16098
Joined: 2003-02-05, 20:24 UTC
Location: Denmark
Contact:

Re: [11.55RC5] Strange behavior with Everything (auto folder sizes)

Post by *petermad »

2ghisler(Author)

The quote from the history here above (11.06.25 Fixed: Multi-rename tool...) is unrelated to the topic.

I guess you wanted to use this quote:
history.txt wrote:11.06.25 Fixed: When using the tool 'Everything' to get directory sizes, do not disable when 'Everything' not running. Instead, just stop trying to restart 'Everything' (32/64)
License #524 (1994)
Danish Total Commander Translator
TC 11.55rc4 32+64bit on Win XP 32bit & Win 7, 8.1 & 10 (22H2) 64bit, 'Everything' 1.5.0.1393a
TC 3.60b4 on Android 6, 13, 14
TC Extended Menus | TC Languagebar | TC Dark Help | PHSM-Calendar
Post Reply