Page 1 of 1

Find files doesn't find long extensions

Posted: 22 Dec 2020 13:50
by MBaas
I just did a search for a "*.dyalogbuild"-file containing some text. Got no matches - though I was sure there were some. After changing the extension of a testfile to ".db" . it was found. So...there seems to be some constraint on the length of extensions?

Re: Find files doesn't find long extensions

Posted: 22 Dec 2020 14:05
by highend
I have no problems to search (and find) e.g. *.sublime-completions files.

So your problem must be elsewhere...

Re: Find files doesn't find long extensions

Posted: 22 Dec 2020 14:57
by MBaas
:oops: Right - the problem was "Include subfolders" not being checked. Somehow that setting was changed without me noticing it :(

Re: Find files doesn't find long extensions

Posted: 23 Dec 2020 10:43
by Lexus
highend wrote: ↑22 Dec 2020 14:05 I have no problems to search (and find) e.g. *.sublime-completions files.

So your problem must be elsewhere...
Speaking of long extensions - do your *sublime-completions files have its associated program (I assume SublimeText) icon in Xyplorer? I'm asking because my .code-workspace files (VSCode) have blank page white icons. I've been doing some testing (creating and associating files with different ext length) and it seems that any file with extension longer than 9 characters loses its associated or default icon and is replaced with generic blank page icon? I'm on Windows 10.

Icon is normal in the status bar, or when I make a shortcut. Even when I create symbolic link which retains original extension length - the file icon works. But the original .code-workspace (or any other 10+ character extension files) won't show VSCode icon no matter what. (Hard links also don't show original icons, just tried it while writing)

I'm using the custom file icons as a workaround - but I'd prefer not to in this case.

Any idea?

Re: Find files doesn't find long extensions

Posted: 23 Dec 2020 11:03
by MBaas
No idea - but at least a confirmation that I see this problem, too ;)

Re: Find files doesn't find long extensions

Posted: 23 Dec 2020 11:06
by highend
I'm using the portable version of ST so by default I don't have any such long extension registered.

If I register the three following ones (with ST):
.eight_aa
.nine_aaaa
.ten_aaaaaa

The the first two have the correct extension icon but the third doesn't...

It works in Windows Explorer so it really seems like a bug or at least a limitation of XYplorer here...

Re: Find files doesn't find long extensions

Posted: 23 Dec 2020 11:32
by Lexus
Ok, so I'm not crazy :) Thank you for testing and confirming. I guess I should mention it in Bug Reports...

Re: Find files doesn't find long extensions

Posted: 23 Dec 2020 12:14
by admin
What you see is a side-effect of some optimization. It stems from a time where extensions longer than 4 characters were unseen. :)

Next version you will see those icons.

Re: Find files doesn't find long extensions

Posted: 23 Dec 2020 13:25
by Lexus
I understand, I don't know why developers of VSCode thought 10-character long extension for project file was cool idea. Very uncommon indeed. Thank you!