Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search delay #1677

Closed
wants to merge 14 commits into from
Closed
2 changes: 1 addition & 1 deletion Flow.Launcher.Core/Plugin/PluginManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public static ICollection<PluginPair> ValidPluginsForQuery(Query query)
return Array.Empty<PluginPair>();

if (!NonGlobalPlugins.ContainsKey(query.ActionKeyword))
return GlobalPlugins;
return GlobalPlugins.Where(x=>!x.Metadata.Disabled).ToList();


var plugin = NonGlobalPlugins[query.ActionKeyword];
Expand Down
2 changes: 1 addition & 1 deletion Flow.Launcher.Infrastructure/UserSettings/Settings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ public string Theme
public string DateFormat { get; set; } = "MM'/'dd ddd";
public bool FirstLaunch { get; set; } = true;

public int SearchDelay { get; set; } = 50;
public int GlobalSearchDelay { get; set; } = 50;

public double SettingWindowWidth { get; set; } = 1000;
public double SettingWindowHeight { get; set; } = 700;
Expand Down
2 changes: 1 addition & 1 deletion Flow.Launcher/Languages/en.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
<system:String x:Key="hideOnStartup">Hide Flow Launcher on startup</system:String>
<system:String x:Key="hideNotifyIcon">Hide tray icon</system:String>
<system:String x:Key="hideNotifyIconToolTip">When the icon is hidden from the tray, the Settings menu can be opened by right-clicking on the search window.</system:String>
<system:String x:Key="querySearchDelay">Search Delay</system:String>
<system:String x:Key="querySearchDelay">Global Search Delay</system:String>
<system:String x:Key="querySearchDelayToolTip">Sets the speed at which search results appear when typing is stopped. Default is 50ms.</system:String>
<system:String x:Key="querySearchPrecision">Query Search Precision</system:String>
<system:String x:Key="querySearchPrecisionToolTip">Changes minimum match score required for results.</system:String>
Expand Down
2 changes: 1 addition & 1 deletion Flow.Launcher/SettingWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@
DisplayMemberPath="Display"
FontSize="14"
ItemsSource="{Binding SearchDelays}"
SelectedValue="{Binding Settings.SearchDelay}"
SelectedValue="{Binding Settings.GlobalSearchDelay}"
SelectedValuePath="Value" />
<TextBlock Style="{StaticResource Glyph}">
&#xe916;
Expand Down
Loading