This is with v14.20.0100 under Windows 7 32-bit. I have searched the forum and the Help but find no references to the subject. I'm posting it as a bug rather than a suggestion because it's possible that the progarm isn't working as intended.
--> If I start up Find Files, enter *.* and choose "All types", I want and expect to be searching all the files, regardless of their extension. Currently, that's not what happens.
With the current defaults, Find Files using Content will only work if a file extension is .txt or .log or some others in a small set. If it isn't one of these, nothing is returned. Because of this hidden file extension filtering, I only get the truly general search I want if I remember to set Type = Text & Binary under Contents. However, that's not intuitive (to me) and is not the default.
I suggest: Don't limit the set of files searched when "All types" is selected. Or maybe change the default Type to "Text & Binary", but there could be some argument against that.
Thanks
Find Files scope is confusing re Text vs All Types
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Find Files scope is confusing re Text vs All Types
The argument is that searching for text content inside non-plaintext files by default will make all content searches take close to eternity by default.
By the way, when "text" is selected on Contents tab, exactly which file extensions are searched is determined by "config->previewed formats->text"
By the way, when "text" is selected on Contents tab, exactly which file extensions are searched is determined by "config->previewed formats->text"
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Find Files scope is confusing re Text vs All Types
Thanks for the info about where the file type subset is defined.
However, my original point still stands: If I start up Find Files, enter *.* and choose "All types", I want and expect to be searching all files, regardless of their extension.
If I want to limit the search to certain extensions there are several ways to do that. I don't want it to be invisibly done for me. Currently, it appears that XY is ignoring my request for "All Types" and instead acting as if I had specified "Text files", which I specifically did not.
Am I missing something? This seems like clearly wrong behavior.
However, my original point still stands: If I start up Find Files, enter *.* and choose "All types", I want and expect to be searching all files, regardless of their extension.
If I want to limit the search to certain extensions there are several ways to do that. I don't want it to be invisibly done for me. Currently, it appears that XY is ignoring my request for "All Types" and instead acting as if I had specified "Text files", which I specifically did not.
Am I missing something? This seems like clearly wrong behavior.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Find Files scope is confusing re Text vs All Types
Maybe you have some other search filters activated. (other than just Name&Location)
For example, if "Contents" is enabled and "text and binary" is selected there, then you can face the situation posted above.
To see the attached files, you need to log into the forum.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Find Files scope is confusing re Text vs All Types
Thanks for trying to help. I see now that I wasn't clear in my original post! Having 'Contents' selected *is* the case I'm trying to address. So to restate the case:
I want to find all occurrences of the word "overflow" in a folder full of files. These all happen to be text files, but many have odd extensions such as "records.log OLD". So I start up Find Files. In Contents I enter "overflow" and leave the rest at defaults. In Name & Location I enter *.* and take the default "All types". With these settings I want and expect to be searching all the files, regardless of their extension.
Currently, that's not what happens. Evidently, if in Contents I leave the default Type as "Text", then XY will (over in Name & Location) ignore my request for "All types". It will only search files it thinks might have plain text. In other words, even with "All types" selected, XY will act as if I had chosen "Text files" - a different choice altogether and specifically not what I wanted.
To put it another way, it seems that choices in the "Contents" pane are invisibly overriding choices in "Name & Location".
Yes, I can get around this by specifying "Text and Binary" under Contents - but I was only searching for text, had no interest in binary, and had no idea that the windows interacted.
So - I think XY should not perform this override. If I specify "All types", search all types.
EDIT: I see that another thread got started by this; evidently new in 14.10. http://www.xyplorer.com/xyfc/viewtopic. ... 06#p107100
I want to find all occurrences of the word "overflow" in a folder full of files. These all happen to be text files, but many have odd extensions such as "records.log OLD". So I start up Find Files. In Contents I enter "overflow" and leave the rest at defaults. In Name & Location I enter *.* and take the default "All types". With these settings I want and expect to be searching all the files, regardless of their extension.
Currently, that's not what happens. Evidently, if in Contents I leave the default Type as "Text", then XY will (over in Name & Location) ignore my request for "All types". It will only search files it thinks might have plain text. In other words, even with "All types" selected, XY will act as if I had chosen "Text files" - a different choice altogether and specifically not what I wanted.
To put it another way, it seems that choices in the "Contents" pane are invisibly overriding choices in "Name & Location".
Yes, I can get around this by specifying "Text and Binary" under Contents - but I was only searching for text, had no interest in binary, and had no idea that the windows interacted.
So - I think XY should not perform this override. If I specify "All types", search all types.
EDIT: I see that another thread got started by this; evidently new in 14.10. http://www.xyplorer.com/xyfc/viewtopic. ... 06#p107100
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Find Files scope is confusing re Text vs All Types
XY is performing fine. You have two filters: first "All Types", then in Contents just "Text". Only the exts common to both will be found. The common item here is text extensions.
It's true if you set even more filters.
It's true if you set even more filters.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
-
Papoulka
- Posts: 455
- Joined: 13 Jul 2013 23:41
Re: Find Files scope is confusing re Text vs All Types
.
Thanks; I understand now and I'll try to remember how it works. It can be confusing, but I have no suggestions now on what to do differently.
Thanks; I understand now and I'll try to remember how it works. It can be confusing, but I have no suggestions now on what to do differently.
-
bdeshi
- Posts: 4256
- Joined: 12 Mar 2014 17:27
- Location: Asteroid B-612
- Contact:
Re: Find Files scope is confusing re Text vs All Types
just choose "text and binary" in Contents to make sure all extensions are searched for content.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]
[ this user is asleep ]
XYplorer Beta Club