'Find hidden' on Search should have search results that don't even consider the Ghost Filter
Posted: 26 Aug 2022 02:11
I think there's something not quite right when doing a search with the 'Find hidden' option checked (which, by my understanding will find things that would normally be invisible due to the Ghost Filter and other options like Hide Protected Operation System Files).
For my examples below, I'll be doing a search on a folder that contains a single file that has the HIDDEN attribute (the desktop.ini file). No other files in the folder I'm searching have the hidden attribute.
First, I'll do a search with 'Find hidden' unchecked on the 'Name & Location' tab, and the option 'Hidden' checked on the 'Attributes' tab.
This finds 0 items, but I'm told in the List that '1 item is hidden', which makes sense I guess, since even though I'm searching for hidden files, the single file that would normally be found, desktop.ini, is being hidden in the Search Results tab by the setting Hide Protected Operation System Files. But if I look at the tooltip for the found items in the status bar, I see this:
Now this is where things are starting to look wrong to me. I understand that 1 item is hidden. But 92 items hidden by Ghost Filter? No, surely it should be telling me only about files that matched what I was searching for, but aren't being displayed. Maybe those 92 items are other things in the entire folder structure I'm searching that match the Ghost Filter, but in this case I'm searching only for files with the hidden attribute set. Therefore there should be only 1 file being taken into consideration. The way that tooltip makes it sound, it's like it's saying there were 92 search hits that are being filtered from view. Wrong. So that's the first thing that's wrong.
Second, I'll do a search with 'Find hidden' checked on the 'Name & Location' tab, and the option 'Hidden' checked on the 'Attributes' tab. Now I'll be expecting neither the Ghost Filter nor the Hide Protected Operation System Files to have any effect on the Search Results.
This finds the 1 item as expected, desktop.ini, and shows it to me in the Search Results tab. But if I look at the tooltip for the found items in the status bar, I see this:
This makes it sounds like 1 of the search hits is currently displayed, but that there are 92 other search hits that can't be displayed because of the Ghost Filter. Again, this is wrong. Not only are there not 92 search hits being affected by the Ghost Filter, but because the 'Find hidden' option was checked, the Ghost Filter shouldn't even be being considered. So that's the second thing that's wrong.
For my examples below, I'll be doing a search on a folder that contains a single file that has the HIDDEN attribute (the desktop.ini file). No other files in the folder I'm searching have the hidden attribute.
First, I'll do a search with 'Find hidden' unchecked on the 'Name & Location' tab, and the option 'Hidden' checked on the 'Attributes' tab.
This finds 0 items, but I'm told in the List that '1 item is hidden', which makes sense I guess, since even though I'm searching for hidden files, the single file that would normally be found, desktop.ini, is being hidden in the Search Results tab by the setting Hide Protected Operation System Files. But if I look at the tooltip for the found items in the status bar, I see this:
Now this is where things are starting to look wrong to me. I understand that 1 item is hidden. But 92 items hidden by Ghost Filter? No, surely it should be telling me only about files that matched what I was searching for, but aren't being displayed. Maybe those 92 items are other things in the entire folder structure I'm searching that match the Ghost Filter, but in this case I'm searching only for files with the hidden attribute set. Therefore there should be only 1 file being taken into consideration. The way that tooltip makes it sound, it's like it's saying there were 92 search hits that are being filtered from view. Wrong. So that's the first thing that's wrong.
Second, I'll do a search with 'Find hidden' checked on the 'Name & Location' tab, and the option 'Hidden' checked on the 'Attributes' tab. Now I'll be expecting neither the Ghost Filter nor the Hide Protected Operation System Files to have any effect on the Search Results.
This finds the 1 item as expected, desktop.ini, and shows it to me in the Search Results tab. But if I look at the tooltip for the found items in the status bar, I see this:
This makes it sounds like 1 of the search hits is currently displayed, but that there are 92 other search hits that can't be displayed because of the Ghost Filter. Again, this is wrong. Not only are there not 92 search hits being affected by the Ghost Filter, but because the 'Find hidden' option was checked, the Ghost Filter shouldn't even be being considered. So that's the second thing that's wrong.