long file name support in searches

Discussion of bugs and problems found in Altap Salamander. In your reports, please be as descriptive as possible, and report one incident per report. Do not post crash reports here, send us the generated bug report by email instead, please.
rollhigh
Posts: 38
Joined: 19 Aug 2009, 22:26

long file name support in searches

Post by rollhigh » 13 Apr 2014, 20:16

Hi Jan

please see below:
as1.PNG
as1.PNG (25.56 KiB) Viewed 2858 times
as2.PNG
as2.PNG (53 KiB) Viewed 2858 times
Characters in one of the affected paths was approx 270 (including the file name).

actual file name is 100 characters.


AS 3.0 final version 64bit

Thanks

Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5196
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: long file name support in searches

Post by Jan Rysavy » 13 Apr 2014, 20:34

AS 3.0 doesn't support such long paths because there are several problems with Win32 API and such paths are simply not supported enough. Rename / simplify your directory structure.

therube
Posts: 628
Joined: 14 Dec 2006, 06:22

Re: long file name support in searches

Post by therube » 13 Apr 2014, 21:31

enough
Enough, being that the API's are trash?
Or enough, that "people" don't typically use such long paths?

Because I certainly run into long path issues "enough" ;-).
(Though not from searches as I typically use Everything for searching. But certainly when attempting to access, move files. Suppose most typical reasons for me for such long paths are from extracting archives that are that way, or from saving files, when I may have my download manager set to recreate directory structure locally when saving files.)

Naming Files, Paths, and Namespaces
WinXP Pro SP3 or Win7 x86 | SS 2.54

Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1110
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: long file name support in searches

Post by Petr Solin » 14 Apr 2014, 08:41

We have thought about adding support for extended-length paths (maximum total path length of 32,767 characters) some time ago. All these paths must be prefixed with "\\?\" when passing to Windows API. But we have found out that most of applications and also Windows API calls does not support it, so we have decide not to support it too. I think that neither Windows Explorer support these paths. Maybe we should add some support for them to allow shortening of such paths which is the only reasonable thing to do with them if you don't want to run into troubles.

User avatar
SelfMan
Posts: 961
Joined: 05 Apr 2006, 20:51
Contact:

Re: long file name support in searches

Post by SelfMan » 14 Apr 2014, 23:44

Peter you have my +1 from my side

Post Reply