srwi / EverythingToolbar

Everything integration for the Windows taskbar.
Other
9.49k stars 412 forks source link

EverythingToolbar is unable to find filters-1.5a.csv for users of Everything 1.5a, even if instance name is set to 1.5a #367

Closed shodanx2 closed 1 year ago

shodanx2 commented 1 year ago

Preflight Checklist

EverythingToolbar Version

1.0.3.0 please allow version copy and paste from About dialog

Windows Version

Win10

Steps to reproduce

Preference -> Use everything filter

Search for %USERPROFILE%\AppData\Roaming\Everything\Filters-1.5a.csv however the file cannot be found due to filter allowing only files with the exact name "filters.csv"

Expected Behavior

If instance name has been set to 1.5a

Program should look for the file

%USERPROFILE%\AppData\Roaming\Everything\Filters-1.5a.csv

by default and filename filter should be something like filters.csv or filters-1.5a.csv or simply .csv

Actual Behavior

Program unable to find filters-1.5.csv

Screenshots

No response

Log output

Unable to provide as it does not ask again once provided

I am also now unable to update my filters after changing them in everything

Additional Information

No response

Horst12 commented 1 year ago

What worked in previous versions: Disable Using Everything filters. Logout and Login again. Reenable Using Everything filters. It will search for filters.csv and if not found you will be asked for the path of your filters. Point it to the correct file and it should work.

I prefer to work without the Alpha file extensions and not using the Alpha instance. Makes life much easier and Everything Alpha version compatible with all tools using it.


Windows 11 Home x64 Version 22H2 (OS Build 22621.1495) Everything 1.5.0.1342a (x64) Everything Toolbar 1.0.4.0

srwi commented 1 year ago

The file can be selected by changing the filter. I will not update the filters because the name 'filters-1.5a.csv' is only a temporary name while version 1.5 is in alpha.

grafik

shodanx2 commented 1 year ago

Could you make the filter search filters.csv, or even .csv ?

Is there a way to restart EverythingToolbar other than logout/login ?

I tried removing toolbar/ re-adding it, but it doesn't reload the toolbar.

I tried disable and re-enable "use everything filters" but it had no effect, it would be great if that action caused the toolbar to re-read the filters.csv file

Horst12 commented 1 year ago

Whats the problem to logout/login once to get the question where the filters are stored ? You only have to do this once after an update. Using *.csv is a strange idea as Everything has many csv files in the same place than filters.csv

srwi commented 1 year ago

@shodanx2 You can locate your user settings file at %LOCALAPPDATA%\Microsoft_Corporation\DefaultDomain_Path_letvcrhmovxkwhkcw5vzjcoa5azw22uj\<Explorer version number>\user.config and either remove the file entirely to reset EverythingToolbar settings or change/remove the filtersPath setting in there directly.

shodanx2 commented 1 year ago

@srwi Thank you

I did find a file called

C:\Users\shodan\AppData\Local\Microsoft_Corporation\DefaultDomain_Path_letvcrhmovxkwhkcw5vzjcoa5azw22uj\10.0.19041.2311\user.config

It contained the following

While setting it up I was a little confused and pointed it to a copy of the file .old I was wondering why I was not able to update the filters no matter what I did, even restarts

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <configSections>
        <sectionGroup name="userSettings" type="System.Configuration.UserSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" >
            <section name="EverythingToolbar.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" allowExeDefinition="MachineToLocalUser" requirePermission="false" />
        </sectionGroup>
    </configSections>
    <userSettings>
        <EverythingToolbar.Properties.Settings>
            <setting name="filtersPath" serializeAs="String">
                <value>C:\Users\shodan\AppData\Roaming\Everything\Filters-1.5a.csv.old</value>
            </setting>
            <setting name="isUpgradeRequired" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="instanceName" serializeAs="String">
                <value>1.5a</value>
            </setting>
            <setting name="popupSize" serializeAs="String">
                <value>947,680</value>
            </setting>
            <setting name="isReplaceStartMenuSearch" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="isRememberFilter" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="isShowResultsCount" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="isShowQuickToggles" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="isThumbnailsEnabled" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="isImportFilters" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="isHideEmptySearchResults" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="isEnableHistory" serializeAs="String">
                <value>True</value>
            </setting>
            <setting name="isMatchCase" serializeAs="String">
                <value>False</value>
            </setting>
            <setting name="itemTemplate" serializeAs="String">
                <value>CompactDetailed</value>
            </setting>
        </EverythingToolbar.Properties.Settings>
    </userSettings>
</configuration>

Here is my latest "Start Everything" filter BTW

Name,Case,Whole Word,Path,Diacritics,Prefix,Suffix,Ignore Punctuation,Ignore Whitespace,Regex,Search,Columns,Sort,Descending,View,Macro,Key "Start Everything",0,0,0,0,0,0,0,0,0,"<""%SystemRoot%""|""%PROGRAMFILES%""|""%PROGRAMFILES(X86)%""|""%PROGRAMDATA%""|""%userprofile%"" .exe|.bat|.vbs|.cmd|.ps1>|<""%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs""|""%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs"" .lnk> !""%userprofile%\AppData\Local\Packages\Microsoft.Windows.Search"" !""C:\Windows\WinSxS\"" !""C:\Windows\servicing\LCU""","","",0,,,

shodanx2 commented 1 year ago

I confirm I can now update filters in everything

In EverythingToolbar I only need to Disable then re-enable "Use Everything Filters" image

Then unset and re-set the filter

image

And the filter gets updated

Here is my latest "Start Everything" filter

<"%SystemRoot%"|"%PROGRAMFILES%"|"%PROGRAMFILES(X86)%"|"%PROGRAMDATA%"|"%userprofile%" .exe|.bat|.vbs|.cmd|.ps1>|<"%userprofile%\AppData\Roaming\Microsoft\Windows\Start Menu\Programs"|"%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs" .lnk> !"%userprofile%\AppData\Local\Packages\Microsoft.Windows.Search" !"C:\Windows\WinSxS" !"C:\Windows\servicing\LCU" !"C:\Windows\System32\DriverStore\" !"%PROGRAMFILES(X86)%\Microsoft Office\Updates\Download" !"%PROGRAMFILES%\Microsoft Office\Updates\Download"