Page 1 of 1

CFA menu showing full path

Posted: 04 Mar 2023 05:46
by jupe
I noticed something strange in the CFA menu that has started happening recently. For certain executable files that don't contain exe Description metadata field (usually cli apps - ffmpeg binary for example) the bottom entry in CFA menu has started showing the full path for the exe, and if the "Show full paths in 'Open WIth...' Menu" config option is enabled it even shows the full path twice eg.

2023-03-04_153122.png
2023-03-04_153122.png (8.29 KiB) Viewed 697 times

I need to emphasize this only happens for certain exe apps. Bizarrely sometimes if the exe has a longer filename, it even shows like this "C:\full\path\FILENA~1.EXE" with the filename shown in 8.3 format and capitalized, and in this case if "Show Full Paths..." setting is enabled it only shows like that on the left hand side the RHS shows using long filenames.

I can supply an exe if you don't notice it on any you have.

Re: CFA menu showing full path

Posted: 04 Mar 2023 09:37
by admin
Could not repro the "C:\full\path\FILENA~1.EXE" case, but the other issue should be fixed in next beta.

Re: CFA menu showing full path

Posted: 05 Mar 2023 03:51
by jupe
Full path issue looks resolved, I still see the 8.3 format filenames though in some cases, here is an example:

2023-03-05_134417.png
2023-03-05_134417.png (6.84 KiB) Viewed 653 times


cfa_longfilename.zip
I'll attach an exe that I see the issue on.
(9.83 KiB) Downloaded 20 times

Re: CFA menu showing full path

Posted: 05 Mar 2023 17:42
by admin
Looks totally normal here:

Re: CFA menu showing full path

Posted: 05 Mar 2023 21:37
by jupe
Hmm... strange :veryconfused:

I rolled back to a random version 23.80.0004 and I don't see the issue, which makes me think it is definitely some change that was made rather than an OS hiccup, would it help if I narrowed it down to an exact version where the issue arises?

edit: Narrowed it down to first occurring in 23.90.0001, the previous build 23.90.0000 is fine, changelog gives me no hint to a cause.

Re: CFA menu showing full path

Posted: 06 Mar 2023 09:04
by admin
Check this key:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\NtfsDisable8dot3NameCreation

In my system it is set to 2.

Code: Select all

Value and Meaning

0 NTFS creates short file names. This setting enables applications that cannot process long file names and computers that use differentcode pages to find the files.

1 NTFS does not create short file names. Although this setting increases file performance, applications that cannot process long file names, and computers that use different code pages, might not be able to find the files.

2 NTFS sets the 8.3 naming convention creation on a per volume basis.

3 NTFS disables 8dot3 name creation on all volumes except the system volume.

Re: CFA menu showing full path

Posted: 06 Mar 2023 09:08
by admin
Turns out I could not see your issue on volume E:, but I can see it now on volume C:. Fix on the way...

Re: CFA menu showing full path

Posted: 06 Mar 2023 23:14
by jupe
Confirmed fixed in 24.20.0011. I had no idea how that reg key was going to have an affect on the issue that appeared between different XY builds, so I am glad you were able to repro it.

PS: I don't want to needlessly bump the other topic, so I'll say thanks here, for adding CFA icon index.

Re: CFA menu showing full path

Posted: 07 Mar 2023 09:44
by admin
jupe wrote: 06 Mar 2023 23:14 I had no idea how that reg key was going to have an affect on the issue that appeared between different XY builds, so I am glad you were able to repro it.
I had made some minor changes then that made that reg key have an effect.

Re: CFA menu showing full path

Posted: 15 Mar 2023 04:36
by jupe
I am still seeing the 8.3 filenames with bat/com/cmd/scf/scr files, maybe others I have forgotten to try.

Re: CFA menu showing full path

Posted: 15 Mar 2023 10:06
by admin
Should be better soon.

Re: CFA menu showing full path

Posted: 18 Mar 2023 00:49
by jupe
Using .0211 I still see 8.3 names.

Re: CFA menu showing full path

Posted: 18 Mar 2023 08:34
by admin
Side-effect of the v24.20.0209 fix. All will be good in the next beta.