Following a link sub-folder sizes are not derived from Everything

The behaviour described in the bug report is either by design, or would be far too complex/time-consuming to be changed

Moderators: white, Hacker, petermad, Stefan2

User avatar
Horst.Epp
Power Member
Power Member
Posts: 6495
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Following a link sub-folder sizes are not derived from Everything

Post by *Horst.Epp »

If I click on a link, the target dir is displayed
but the size of sub-folders in this are not automatically retrieved from Everything as configured.
Going directly to the target dir of such a link the sizes are displayed.
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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Following a link sub-folder sizes are not derived from Everything

Post by *ghisler(Author) »

Do you mean file system links (junctions, reparse points)? Everything does NOT support them, so it will not find any files in them.
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: Following a link sub-folder sizes are not derived from Everything

Post by *Horst.Epp »

ghisler(Author) wrote: 2023-09-01, 11:04 UTC Do you mean file system links (junctions, reparse points)? Everything does NOT support them, so it will not find any files in them.
Everything 1.5 supports them
but here it is a simple .lnk to a local dir which TC follows.
The target is already in the Everything index.
As I said, going directly to the target dir TC shows the sizes.
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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Following a link sub-folder sizes are not derived from Everything

Post by *ghisler(Author) »

but here it is a simple .lnk to a local dir which TC follows.
That works just fine here. Maybe the link contains something unusual like the \\?\ prefix?
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Following a link sub-folder sizes are not derived from Everything

Post by *tuska »

2Horst.Epp

For me, (only) the option "Automatic, only with 'Everything'" under
Configuration > Operation > Calculate space occupied by subdirectories
has no effect.

wincmd.ini [Configuration] GetDirSize=3
Is this the option you mean?


Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.2215)| TC 11.01 x64/x86
'Everything' 1.4.1.1024 (x64) | 'Everything' 1.5.0.1355a (x64)
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6495
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Following a link sub-folder sizes are not derived from Everything

Post by *Horst.Epp »

I have installed the x64 version of 7-zip.
In the Total7zip plugin I have replaced the 64 sub-dir with a lnk to the z-zip entry under program files.
The link is junction.
It must be a junction because a normal shortcut will not work.
This may explain the TC behaviour.
But TC follows the junction and should then ask Everything for the sizes in the target.
Last edited by Horst.Epp on 2023-09-01, 12:55 UTC, edited 3 times in total.
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
User avatar
Horst.Epp
Power Member
Power Member
Posts: 6495
Joined: 2003-02-06, 17:36 UTC
Location: Germany

Re: Following a link sub-folder sizes are not derived from Everything

Post by *Horst.Epp »

tuska wrote: 2023-09-01, 12:08 UTC 2Horst.Epp

For me, (only) the option "Automatic, only with 'Everything'" under
Configuration > Operation > Calculate space occupied by subdirectories
has no effect.

wincmd.ini [Configuration] GetDirSize=3
Is this the option you mean?


Windows 11 Pro (x64) Version 22H2 (OS build Build 22621.2215)| TC 11.01 x64/x86
'Everything' 1.4.1.1024 (x64) | 'Everything' 1.5.0.1355a (x64)
What do you mean with "has no effect" ?
It works perfect here, in any dir I visit the sub-dir sizes are immediately displayed.
Only after following a lnk TC doesn't do it.
And yes, GetDirSize=3 is set.
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
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Following a link sub-folder sizes are not derived from Everything

Post by *ghisler(Author) »

I'm using GetDirSize=3 too, and the directory sizes are shown after following lnk files. I don't see any reason why it shouldn't work, it's just like any other regular directory change. Could you try with a fresh wincmd.ini where you just add GetDirSize=3 under [Configuration]? That works here too.
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: Following a link sub-folder sizes are not derived from Everything

Post by *Horst.Epp »

ghisler(Author) wrote: 2023-09-01, 12:47 UTC I'm using GetDirSize=3 too, and the directory sizes are shown after following lnk files. I don't see any reason why it shouldn't work, it's just like any other regular directory change. Could you try with a fresh wincmd.ini where you just add GetDirSize=3 under [Configuration]? That works here too.
The link is a junction, shown as <LNK> in TC.
It must be a junction because a normal shortcut will not work.
It still doesn't work with a fresh wincmd.ini.
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
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Following a link sub-folder sizes are not derived from Everything

Post by *tuska »

Horst.Epp wrote: 2023-09-01, 13:01 UTC It must be a junction because a normal shortcut will not work.
Thank you!
For me it was a normal link (.lnk) - created with Ctrl+Shift+F5 - that didn't work.
I just wonder why this option doesn't work like the other two options with "automatic".
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Following a link sub-folder sizes are not derived from Everything

Post by *ghisler(Author) »

2Horst.Epp
Sorry but your posts are very confusing. Previously you wrote:
but here it is a simple .lnk to a local dir which TC follows.
But now you write:
It must be a junction because a normal shortcut will not work.
As I wrote above, junctions do not work with "Everything", at least with the regular non-beta release 1.4.1.
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: Following a link sub-folder sizes are not derived from Everything

Post by *Horst.Epp »

ghisler(Author) wrote: 2023-09-01, 13:09 UTC 2Horst.Epp
Sorry but your posts are very confusing. Previously you wrote:
but here it is a simple .lnk to a local dir which TC follows.
But now you write:
It must be a junction because a normal shortcut will not work.
As I wrote above, junctions do not work with "Everything", at least with the regular non-beta release 1.4.1.
Sorry, it's a long time since I made that setup, and TC only shows <LNK> for the link.
So I didn't remember that I had to make it junction to work.
Nevertheless, why doesn't it work in TC ?
Only after following the junction, TC should ask Everything for the sizes.
There is no need at this place for Everything junction support.
The target and now current working dir in TC is a normal local dir which is in the index.
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
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Following a link sub-folder sizes are not derived from Everything

Post by *tuska »

With a junction <LINK> - or - <LNK> *) I have exactly the same behaviour (as with a normal link <.lnk>) as described above.

I have tested (.lnk) normal link files with various TC versions - all with the same result.
With a junction (<LNK>) I also had the same result with a TC_clean_x64.ini.

*) <LINK> - or - <LNK> depends on which option you select in ✅ 'Everything' - Calculate space occupied by subdirectories
    and then press the "Apply" button(?). I don't know, but the view changed for me at some point.

✅ 'Everything' - Calculate space occupied by subdirectories
OK: Automatic, local drives only
OK: Automatic, also on network
NA: Automatic, only with 'Everything'
 
Junction - Button
(Make Junction in Opposite Panel to FOLDER Under Cursor (Not on Network))

*)

Code: Select all

Name/Erw.	Größe	Datum			Attr.
WINWORD\	<LINK>	01.09.2023 15:25	----
- OR -

Code: Select all

Name/Ext	Size	Date			Attr
WINWORD\	<LNK>	01.09.2023 15:25	----
Last edited by tuska on 2023-09-01, 14:03 UTC, edited 1 time in total.
User avatar
ghisler(Author)
Site Admin
Site Admin
Posts: 48088
Joined: 2003-02-04, 09:46 UTC
Location: Switzerland
Contact:

Re: Following a link sub-folder sizes are not derived from Everything

Post by *ghisler(Author) »

Only after following the junction, TC should ask Everything for the sizes.
It does, but the junction does not cause TC to change path.
Example 1:
c:\test\linkfile.lnk pointing to c:\othertest\target
User double clicks on linkfile.lnk
-> Total Commander shows path c:\othertest\target, from which Everything 1.4.1 can read the sizes.

Example 2:
c:\test\junction pointing to c:\othertest\target
User double clicks on "junction"
-> Total Commander shows path c:\test\junction which shows content of c:\othertest\target.
Everything 1.4.1 doesn't support junctions, so it doesn't see the content of c:\othertest\target in c:\test\junction.
Author of Total Commander
https://www.ghisler.com
User avatar
tuska
Power Member
Power Member
Posts: 3760
Joined: 2007-05-21, 12:17 UTC

Re: Following a link sub-folder sizes are not derived from Everything

Post by *tuska »

tuska wrote: 2023-09-01, 13:34 UTC With a junction <LINK> - or - <LNK> *) I have exactly the same behaviour (as with a normal link <.lnk>) as described above.

I have tested (.lnk) normal link files with various TC versions - all with the same result.
With a junction (<LNK>) I also had the same result with a TC_clean_x64.ini.
I have to correct myself, but I accidentally created a junction for a folder on drive I:, which I had excluded from indexing
in Everything (because of Everything file content indexing and the resulting RAM consumption, I had to make this setting).

This gives me these results in Everything 1.4.1.1024 (x64) and Everything 1.5.0.1355a (x64) || ✅ Everything Service ticked(!):
  1. GetDirSize=3 works for normal links (.lnk); Automatic, only with 'Everything'
  2. GetDirSize=3 does NOT work for me with Junctions (<LNK> or <LINK>); Automatic, only with 'Everything'
  3. GetDirSize=0 works for me with Junctions - file sizes of folders are displayed; Manual: Alt+Shift+Enter
  4. GetDirSize=1 works for me with Junctions - file sizes of folders are displayed; Automatic, local drives only
  5. GetDirSize=2 works for me with Junctions - file sizes of folders are displayed; Automatic, also on network
I am very sorry for my oversight. :oops:
Post Reply