diff --git a/Flow.Launcher/SettingWindow.xaml b/Flow.Launcher/SettingWindow.xaml index 9b12c2d08..d465c45a5 100644 --- a/Flow.Launcher/SettingWindow.xaml +++ b/Flow.Launcher/SettingWindow.xaml @@ -1282,7 +1282,7 @@ - + @@ -1341,7 +1341,7 @@ HorizontalAlignment="Right" DockPanel.Dock="Right" FontSize="14" - KeyDown="PluginFilterTxb_OnKeyDown" + KeyDown="PluginStoreFilterTxb_OnKeyDown" LostFocus="RefreshPluginStoreEventHandler" Text="" TextAlignment="Left"> diff --git a/Flow.Launcher/SettingWindow.xaml.cs b/Flow.Launcher/SettingWindow.xaml.cs index ed49862ea..b92087386 100644 --- a/Flow.Launcher/SettingWindow.xaml.cs +++ b/Flow.Launcher/SettingWindow.xaml.cs @@ -369,7 +369,8 @@ namespace Flow.Launcher return true; if (item is UserPlugin model) { - return StringMatcher.FuzzySearch(pluginStoreFilterTxb.Text, model.Name).IsSearchPrecisionScoreMet(); + return StringMatcher.FuzzySearch(pluginStoreFilterTxb.Text, model.Name).IsSearchPrecisionScoreMet() + || StringMatcher.FuzzySearch(pluginStoreFilterTxb.Text, model.Description).IsSearchPrecisionScoreMet(); } return false; } @@ -397,13 +398,13 @@ namespace Flow.Launcher private void PluginFilterTxb_OnKeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) - RefreshPluginStoreEventHandler(sender, e); + RefreshPluginListEventHandler(sender, e); } private void PluginStoreFilterTxb_OnKeyDown(object sender, KeyEventArgs e) { if (e.Key == Key.Enter) - RefreshPluginListEventHandler(sender, e); + RefreshPluginStoreEventHandler(sender, e); } private void OnPluginSettingKeydown(object sender, KeyEventArgs e) { @@ -420,5 +421,12 @@ namespace Flow.Launcher { } + private void PluginStore_OnKeyDown(object sender, KeyEventArgs e) + { + if (e.Key == Key.F && (Keyboard.Modifiers & ModifierKeys.Control) != 0) + { + pluginStoreFilterTxb.Focus(); + } + } } }