text stringlengths 19 585k | label stringclasses 2
values | category stringclasses 2
values | language stringclasses 14
values | repo stringclasses 932
values | sha stringlengths 40 40 |
|---|---|---|---|---|---|
@@ -104,19 +74,50 @@ private static string GetHttpPreference()
public bool IsURL(string raw)
{
- raw = raw.ToLower();
+ if (string.IsNullOrWhiteSpace(raw))
+ return false;
- if (UrlRegex.Match(raw).Value == raw) return true;
+ var input = ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
diff --git a/Plugins/Flow.Launcher.Plugin.Url/Main.cs b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
index c40b278e596..60a6eec92f1 100644
--- a/Plugins/Flow.Launcher.Plugin.Url/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
@@ -1,6 +1,7 @@
-using System;
+using System;
using System.Collections.Generic;
-using Sy... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
@@ -104,19 +74,50 @@ private static string GetHttpPreference()
public bool IsURL(string raw)
{
- raw = raw.ToLower();
+ if (string.IsNullOrWhiteSpace(raw))
+ return false;
- if (UrlRegex.Match(raw).Value == raw) return true;
+ var input = ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
diff --git a/Plugins/Flow.Launcher.Plugin.Url/Main.cs b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
index c40b278e596..60a6eec92f1 100644
--- a/Plugins/Flow.Launcher.Plugin.Url/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
@@ -1,6 +1,7 @@
-using System;
+using System;
using System.Collections.Generic;
-using Sy... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
@@ -104,19 +74,50 @@ private static string GetHttpPreference()
public bool IsURL(string raw)
{
- raw = raw.ToLower();
+ if (string.IsNullOrWhiteSpace(raw))
+ return false;
- if (UrlRegex.Match(raw).Value == raw) return true;
+ var input = ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
diff --git a/Plugins/Flow.Launcher.Plugin.Url/Main.cs b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
index c40b278e596..60a6eec92f1 100644
--- a/Plugins/Flow.Launcher.Plugin.Url/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
@@ -1,6 +1,7 @@
-using System;
+using System;
using System.Collections.Generic;
-using Sy... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
@@ -1,56 +1,37 @@
-using System;
+using System;
using System.Collections.Generic;
-using System.Text.RegularExpressions;
+using System.Linq;
+using System.Net;
using System.Windows.Controls;
using Flow.Launcher.Plugin.SharedCommands;
namespace Flow.Launcher.Plugin.Url
{
public class Main : IPlugin, IPlugin... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
diff --git a/Plugins/Flow.Launcher.Plugin.Url/Main.cs b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
index c40b278e596..60a6eec92f1 100644
--- a/Plugins/Flow.Launcher.Plugin.Url/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
@@ -1,6 +1,7 @@
-using System;
+using System;
using System.Collections.Generic;
-using Sy... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
@@ -104,19 +83,68 @@ private static string GetHttpPreference()
public bool IsURL(string raw)
{
- raw = raw.ToLower();
+ if (string.IsNullOrWhiteSpace(raw))
+ return false;
- if (UrlRegex.Match(raw).Value == raw) return true;
+ var input = ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
diff --git a/Plugins/Flow.Launcher.Plugin.Url/Main.cs b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
index c40b278e596..60a6eec92f1 100644
--- a/Plugins/Flow.Launcher.Plugin.Url/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.Url/Main.cs
@@ -1,6 +1,7 @@
-using System;
+using System;
using System.Collections.Generic;
-using Sy... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 80d4e30af6a1eb92ae8106ebac620f312274fab6 |
@@ -368,21 +380,19 @@ public static ICollection<PluginPair> ValidPluginsForQuery(Query query, bool dia
if (query is null)
return Array.Empty<PluginPair>();
- if (!_nonGlobalPlugins.TryGetValue(query.ActionKeyword, out var plugin))
+ if (!_nonGlobalPlugins.TryGetValu... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -576,7 +586,7 @@ private static List<PluginPair> GetGlobalPlugins()
return [.. _globalPlugins.Values];
}
- public static Dictionary<string, PluginPair> GetNonGlobalPlugins()
+ public static Dictionary<string, List<PluginPair>> GetNonGlobalPlugins()
{
return... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -774,7 +800,13 @@ public static void RemoveActionKeyword(string id, string oldActionkeyword)
if (oldActionkeyword != Query.GlobalPluginWildcardSign)
{
- _nonGlobalPlugins.TryRemove(oldActionkeyword, out _);
+ if (_nonGlobalPlugins.TryGetValue(oldActionkeyword... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -1032,10 +1064,13 @@ internal static async Task<bool> UninstallPluginAsync(PluginMetadata plugin, boo
{
_globalPlugins.TryRemove(plugin.ID, out var _);
}
- var keysToRemove = _nonGlobalPlugins.Where(p => p.Value.Metadata.ID == plugin.ID).Select(p ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -293,6 +293,10 @@ public interface IPublicAPI
/// </summary>
/// <param name="actionKeyword">The actionkeyword for checking</param>
/// <returns>True if the actionkeyword is already assigned, False otherwise</returns>
+ /// <remarks>
+ /// Flow now supports to one action keyw... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
index 62ed58930e5..304f4d5c00e 100644
--- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
+++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
@@ -302,6 +302,11 @@ public interface IPublicAPI
/// </summary... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -1,12 +1,13 @@
using System;
using System.Collections.Generic;
+using System.Linq;
using Flow.Launcher.Plugin;
namespace Flow.Launcher.Core.Plugin
{
public static class QueryBuilder
{ | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/QueryBuilder.cs b/Flow.Launcher.Core/Plugin/QueryBuilder.cs
index aac620cce64..c9b8b134134 100644
--- a/Flow.Launcher.Core/Plugin/QueryBuilder.cs
+++ b/Flow.Launcher.Core/Plugin/QueryBuilder.cs
@@ -1,12 +1,13 @@
using System;
using System.Collections.Generic;
+using System.Linq... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -34,7 +35,8 @@ public static Query Build(string originalQuery, string trimmedQuery, Dictionary<
string possibleActionKeyword = terms[0];
string[] searchTerms;
- if (nonGlobalPlugins.TryGetValue(possibleActionKeyword, out var pluginPair) && !pluginPair.Metadata.Disabled)
+ ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/QueryBuilder.cs b/Flow.Launcher.Core/Plugin/QueryBuilder.cs
index aac620cce64..c9b8b134134 100644
--- a/Flow.Launcher.Core/Plugin/QueryBuilder.cs
+++ b/Flow.Launcher.Core/Plugin/QueryBuilder.cs
@@ -1,12 +1,13 @@
using System;
using System.Collections.Generic;
+using System.Linq... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -368,21 +380,19 @@ public static ICollection<PluginPair> ValidPluginsForQuery(Query query, bool dia
if (query is null)
return Array.Empty<PluginPair>();
- if (!_nonGlobalPlugins.TryGetValue(query.ActionKeyword, out var plugin))
+ if (!_nonGlobalPlugins.TryGetValu... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -368,21 +380,19 @@ public static ICollection<PluginPair> ValidPluginsForQuery(Query query, bool dia
if (query is null)
return Array.Empty<PluginPair>();
- if (!_nonGlobalPlugins.TryGetValue(query.ActionKeyword, out var plugin))
+ if (!_nonGlobalPlugins.TryGetValu... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -576,7 +586,7 @@ private static List<PluginPair> GetGlobalPlugins()
return [.. _globalPlugins.Values];
}
- public static Dictionary<string, PluginPair> GetNonGlobalPlugins()
+ public static Dictionary<string, List<PluginPair>> GetNonGlobalPlugins()
{
return... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -736,13 +746,27 @@ public static bool ActionKeywordRegistered(string actionKeyword)
public static void AddActionKeyword(string id, string newActionKeyword)
{
var plugin = GetPluginForId(id);
+ if (plugin == null) return;
+
if (newActionKeyword == Query.GlobalPlu... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -293,6 +293,10 @@ public interface IPublicAPI
/// </summary>
/// <param name="actionKeyword">The actionkeyword for checking</param>
/// <returns>True if the actionkeyword is already assigned, False otherwise</returns>
+ /// <remarks>
+ /// Flow now supports to one action keyw... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
index 62ed58930e5..304f4d5c00e 100644
--- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
+++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
@@ -302,6 +302,11 @@ public interface IPublicAPI
/// </summary... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -59,5 +60,13 @@ public static Query Build(string originalQuery, string trimmedQuery, Dictionary<
IsHomeQuery = false
};
}
+
+ private static bool CheckPlugin(List<PluginPair> pluginPairs)
+ {
+ lock (pluginPairs)
+ {
+ return p... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/QueryBuilder.cs b/Flow.Launcher.Core/Plugin/QueryBuilder.cs
index aac620cce64..c9b8b134134 100644
--- a/Flow.Launcher.Core/Plugin/QueryBuilder.cs
+++ b/Flow.Launcher.Core/Plugin/QueryBuilder.cs
@@ -1,12 +1,13 @@
using System;
using System.Collections.Generic;
+using System.Linq... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -34,9 +34,9 @@ public void ExclusivePluginQueryTest()
[Test]
public void ExclusivePluginQueryIgnoreDisabledTest()
{
- var nonGlobalPlugins = new Dictionary<string, PluginPair>
+ var nonGlobalPlugins = new Dictionary<string, List<PluginPair>>
{
- ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Test/QueryBuilderTest.cs b/Flow.Launcher.Test/QueryBuilderTest.cs
index 0ede781f8ab..3a708ea5690 100644
--- a/Flow.Launcher.Test/QueryBuilderTest.cs
+++ b/Flow.Launcher.Test/QueryBuilderTest.cs
@@ -11,9 +11,9 @@ public class QueryBuilderTest
[Test]
public void ExclusivePlugi... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -1032,10 +1080,18 @@ internal static async Task<bool> UninstallPluginAsync(PluginMetadata plugin, boo
{
_globalPlugins.TryRemove(plugin.ID, out var _);
}
- var keysToRemove = _nonGlobalPlugins.Where(p => p.Value.Metadata.ID == plugin.ID).Select(p ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -293,6 +293,10 @@ public interface IPublicAPI
/// </summary>
/// <param name="actionKeyword">The actionkeyword for checking</param>
/// <returns>True if the actionkeyword is already assigned, False otherwise</returns>
+ /// <remarks>
+ /// Flow now supports assigning one acti... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
index 62ed58930e5..304f4d5c00e 100644
--- a/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
+++ b/Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
@@ -302,6 +302,11 @@ public interface IPublicAPI
/// </summary... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -368,21 +380,19 @@ public static ICollection<PluginPair> ValidPluginsForQuery(Query query, bool dia
if (query is null)
return Array.Empty<PluginPair>();
- if (!_nonGlobalPlugins.TryGetValue(query.ActionKeyword, out var plugin))
+ if (!GetNonGlobalPlugins().TryGet... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -368,21 +380,33 @@ public static ICollection<PluginPair> ValidPluginsForQuery(Query query, bool dia
if (query is null)
return Array.Empty<PluginPair>();
- if (!_nonGlobalPlugins.TryGetValue(query.ActionKeyword, out var plugin))
+ if (TryGetNonGlobalPlugins(query.... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Flow.Launcher.Core/Plugin/PluginManager.cs b/Flow.Launcher.Core/Plugin/PluginManager.cs
index 78464ddc9ba..56abfb251e1 100644
--- a/Flow.Launcher.Core/Plugin/PluginManager.cs
+++ b/Flow.Launcher.Core/Plugin/PluginManager.cs
@@ -30,7 +30,7 @@ public static class PluginManager
private static readonl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -47,20 +48,22 @@ from keyword in nonGlobalPlugins.Keys
return [.. results];
}
- private static Dictionary<string, PluginPair> GetNonGlobalPlugins()
+ private static Dictionary<string, List<PluginPair>> GetNonGlobalPlugins()
{
- var nonGlobalPlugins = new Dict... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
diff --git a/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs b/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs
index 503d82cc30a..631d3daee49 100644
--- a/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.PluginIndicator/Main.cs
@@ -24,7 +24,8 @@ private static List<Resul... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 0865fa6a34a9b5cc5762f4b42f158a8f5520a675 |
@@ -296,6 +296,10 @@ public static unsafe bool IsForegroundWindowFullscreen()
if (windowClass is WINDOW_CLASS_PROGMAN or WINDOW_CLASS_WORKERW)
{
var hWndDesktop = PInvoke.FindWindowEx(hWnd, HWND.Null, "SHELLDLL_DefView", null);
+ if (hWndDesktop == HWND.Null)
+ ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 82a37427603af7ec1b268e0c7a84d8284e553a3a |
diff --git a/Flow.Launcher.Infrastructure/Win32Helper.cs b/Flow.Launcher.Infrastructure/Win32Helper.cs
index feafcfcdaa0..8993caf5266 100644
--- a/Flow.Launcher.Infrastructure/Win32Helper.cs
+++ b/Flow.Launcher.Infrastructure/Win32Helper.cs
@@ -292,18 +292,27 @@ public static unsafe bool IsForegroundWindowFullscreen()
... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 82a37427603af7ec1b268e0c7a84d8284e553a3a |
@@ -304,6 +308,10 @@ public static unsafe bool IsForegroundWindowFullscreen()
}
var monitorInfo = MonitorInfo.GetNearestDisplayMonitor(hWnd);
+ if (monitorInfo == null)
+ {
+ return false;
+ } | bad | review | csharp | Flow-Launcher/Flow.Launcher | 82a37427603af7ec1b268e0c7a84d8284e553a3a |
diff --git a/Flow.Launcher.Infrastructure/Win32Helper.cs b/Flow.Launcher.Infrastructure/Win32Helper.cs
index feafcfcdaa0..8993caf5266 100644
--- a/Flow.Launcher.Infrastructure/Win32Helper.cs
+++ b/Flow.Launcher.Infrastructure/Win32Helper.cs
@@ -292,18 +292,27 @@ public static unsafe bool IsForegroundWindowFullscreen()
... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 82a37427603af7ec1b268e0c7a84d8284e553a3a |
@@ -296,6 +296,10 @@ public static unsafe bool IsForegroundWindowFullscreen()
if (windowClass is WINDOW_CLASS_PROGMAN or WINDOW_CLASS_WORKERW)
{
var hWndDesktop = PInvoke.FindWindowEx(hWnd, HWND.Null, "SHELLDLL_DefView", null);
+ if (hWndDesktop == HWND.Null) | bad | review | csharp | Flow-Launcher/Flow.Launcher | 82a37427603af7ec1b268e0c7a84d8284e553a3a |
diff --git a/Flow.Launcher.Infrastructure/Win32Helper.cs b/Flow.Launcher.Infrastructure/Win32Helper.cs
index feafcfcdaa0..8993caf5266 100644
--- a/Flow.Launcher.Infrastructure/Win32Helper.cs
+++ b/Flow.Launcher.Infrastructure/Win32Helper.cs
@@ -292,18 +292,27 @@ public static unsafe bool IsForegroundWindowFullscreen()
... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 82a37427603af7ec1b268e0c7a84d8284e553a3a |
@@ -59,6 +59,7 @@ public static void InitSystemLanguageCode()
string.Equals(languageCode, fullName, StringComparison.OrdinalIgnoreCase))
{
SystemLanguageCode = languageCode;
+ return; | bad | review | csharp | Flow-Launcher/Flow.Launcher | 97218046a1d7ad214534173fa3ec2740c396f0d6 |
diff --git a/Flow.Launcher.Core/Resource/Internationalization.cs b/Flow.Launcher.Core/Resource/Internationalization.cs
index c13fb5c0be7..48543c9c6f2 100644
--- a/Flow.Launcher.Core/Resource/Internationalization.cs
+++ b/Flow.Launcher.Core/Resource/Internationalization.cs
@@ -59,6 +59,7 @@ public static void InitSystem... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 97218046a1d7ad214534173fa3ec2740c396f0d6 |
@@ -50,131 +48,17 @@
<Border Style="{StaticResource WindowMainPanelStyle}">
<Grid Background="{DynamicResource Color01B}">
- <Grid.ColumnDefinitions>
- <ColumnDefinition Width="Auto" />
- <ColumnDefinition Width="*" />
- <ColumnDefinition Width="Au... | bad | review | Flow-Launcher/Flow.Launcher | 65aee3c02ac7c29c0fdd34c433aa833b439541ed | |
diff --git a/Flow.Launcher/PluginSettingsWindow.xaml b/Flow.Launcher/PluginSettingsWindow.xaml
index ac1abd9e2c8..a14a2ea77e0 100644
--- a/Flow.Launcher/PluginSettingsWindow.xaml
+++ b/Flow.Launcher/PluginSettingsWindow.xaml
@@ -2,16 +2,14 @@
x:Class="Flow.Launcher.PluginSettingsWindow"
xmlns="http://schemas.... | good | review_fixed | Flow-Launcher/Flow.Launcher | 65aee3c02ac7c29c0fdd34c433aa833b439541ed | |
@@ -0,0 +1,126 @@
+<UserControl
+ x:Class="Flow.Launcher.Resources.Controls.CustomWindowTitleBar"
+ xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:local="clr-namespace:Flow.Launcher.Resources.Controls"
+ Height="32"
+ ... | bad | review | Flow-Launcher/Flow.Launcher | 65aee3c02ac7c29c0fdd34c433aa833b439541ed | |
diff --git a/Flow.Launcher/Resources/Controls/CustomWindowTitleBar.xaml b/Flow.Launcher/Resources/Controls/CustomWindowTitleBar.xaml
new file mode 100644
index 00000000000..fe4e0b338a7
--- /dev/null
+++ b/Flow.Launcher/Resources/Controls/CustomWindowTitleBar.xaml
@@ -0,0 +1,78 @@
+<UserControl
+ x:Class="Flow.Launch... | good | review_fixed | Flow-Launcher/Flow.Launcher | 65aee3c02ac7c29c0fdd34c433aa833b439541ed | |
@@ -195,83 +197,135 @@ private static async Task<BitmapImage> LoadRemoteImageAsync(bool loadFullImage,
return image;
}
- private static ImageResult GetThumbnailResult(ref string path, bool loadFullImage = false)
+ private static ImageResult GetThumbnailResult(string path, bool load... | bad | review | csharp | Flow-Launcher/Flow.Launcher | ccda60af809ac7873db839ffd595e79112f47e6a |
diff --git a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
index 598347fd21f..83501b16fe2 100644
--- a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
+++ b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
@@ -5,6 +5,8 @@
using System.Linq;
using System.Threa... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | ccda60af809ac7873db839ffd595e79112f47e6a |
@@ -327,40 +404,45 @@ public static async ValueTask<ImageSource> LoadAsync(string path, bool loadFullI
return img;
}
- private static BitmapImage LoadFullImage(string path)
+ private static BitmapImage LoadBitmapImageScaleToFitWithin(string path, int maxSize)
+ {
+ ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | ccda60af809ac7873db839ffd595e79112f47e6a |
diff --git a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
index 598347fd21f..83501b16fe2 100644
--- a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
+++ b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
@@ -5,6 +5,8 @@
using System.Linq;
using System.Threa... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | ccda60af809ac7873db839ffd595e79112f47e6a |
@@ -149,19 +151,19 @@ private static async ValueTask<ImageResult> LoadInternalAsync(string path, bool
return new ImageResult(imageSource, ImageType.Data);
}
- imageResult = await Task.Run(() => GetThumbnailResult(ref path, loadFullImage));
+ imageRes... | bad | review | csharp | Flow-Launcher/Flow.Launcher | ccda60af809ac7873db839ffd595e79112f47e6a |
diff --git a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
index 598347fd21f..83501b16fe2 100644
--- a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
+++ b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs
@@ -5,6 +5,8 @@
using System.Linq;
using System.Threa... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | ccda60af809ac7873db839ffd595e79112f47e6a |
@@ -61,6 +62,15 @@ public static unsafe bool DWMSetBackdropForWindow(Window window, BackdropTypes b
_ => DWM_SYSTEMBACKDROP_TYPE.DWMSBT_AUTO
};
+ // The backdrop renders in the non-client frame area. WindowStyle=None
+ // removes that area, so we extend it across th... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 7cf0b9772ba59f9316ede96adaec4ec7928f79c2 |
diff --git a/Flow.Launcher.Infrastructure/Win32Helper.cs b/Flow.Launcher.Infrastructure/Win32Helper.cs
index 67d0edb7888..feafcfcdaa0 100644
--- a/Flow.Launcher.Infrastructure/Win32Helper.cs
+++ b/Flow.Launcher.Infrastructure/Win32Helper.cs
@@ -21,6 +21,7 @@
using Windows.Win32.Graphics.Dwm;
using Windows.Win32.Syste... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 7cf0b9772ba59f9316ede96adaec4ec7928f79c2 |
@@ -742,10 +738,11 @@ private void AutoDropShadow(bool useDropShadowEffect)
{
if (BlurEnabled && Win32Helper.IsBackdropSupported())
{
- // For themes with blur enabled, the window border is rendered by the system,
- // so we set corner... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 7cf0b9772ba59f9316ede96adaec4ec7928f79c2 |
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs
index ed9677cff2c..45758a0042b 100644
--- a/Flow.Launcher.Core/Resource/Theme.cs
+++ b/Flow.Launcher.Core/Resource/Theme.cs
@@ -554,6 +554,11 @@ public void RemoveDropShadowEffectFromCurrentTheme()
ThemeHelper.CopyStyl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 7cf0b9772ba59f9316ede96adaec4ec7928f79c2 |
@@ -742,10 +738,11 @@ private void AutoDropShadow(bool useDropShadowEffect)
{
if (BlurEnabled && Win32Helper.IsBackdropSupported())
{
- // For themes with blur enabled, the window border is rendered by the system,
- // so we set corner... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 7cf0b9772ba59f9316ede96adaec4ec7928f79c2 |
diff --git a/Flow.Launcher.Core/Resource/Theme.cs b/Flow.Launcher.Core/Resource/Theme.cs
index ed9677cff2c..45758a0042b 100644
--- a/Flow.Launcher.Core/Resource/Theme.cs
+++ b/Flow.Launcher.Core/Resource/Theme.cs
@@ -554,6 +554,11 @@ public void RemoveDropShadowEffectFromCurrentTheme()
ThemeHelper.CopyStyl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 7cf0b9772ba59f9316ede96adaec4ec7928f79c2 |
@@ -80,51 +80,43 @@ public class Main : ISettingProvider, IAsyncPlugin, IPluginI18n, IContextMenu, I
public async Task<List<Result>> QueryAsync(Query query, CancellationToken token)
{
- var result = await cache.GetOrCreateAsync(query.Search, async entry =>
+ try
{
... | bad | review | csharp | Flow-Launcher/Flow.Launcher | bce09b0cad61f2bb3ac891e92bbebf75c9405660 |
diff --git a/Plugins/Flow.Launcher.Plugin.Program/Main.cs b/Plugins/Flow.Launcher.Plugin.Program/Main.cs
index aeec9f702d7..28eeab6fc65 100644
--- a/Plugins/Flow.Launcher.Plugin.Program/Main.cs
+++ b/Plugins/Flow.Launcher.Plugin.Program/Main.cs
@@ -80,51 +80,43 @@ public class Main : ISettingProvider, IAsyncPlugin, IPl... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | bce09b0cad61f2bb3ac891e92bbebf75c9405660 |
@@ -1120,49 +1121,58 @@ private double VerticalTop(MonitorInfo screen)
private void InitProgressbarAnimation()
{
- var progressBarStoryBoard = new Storyboard();
+ _progressBarStoryboard = new Storyboard();
- var da = new DoubleAnimation(ProgressBar.X2, ActualWidth ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 238162a365afc2add330c1d214aff95d79b8f3cc |
diff --git a/Flow.Launcher/MainWindow.xaml.cs b/Flow.Launcher/MainWindow.xaml.cs
index 70273d616c3..4866c0deae6 100644
--- a/Flow.Launcher/MainWindow.xaml.cs
+++ b/Flow.Launcher/MainWindow.xaml.cs
@@ -75,6 +75,7 @@ public partial class MainWindow : IDisposable
// Window Animation
private const double ... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 238162a365afc2add330c1d214aff95d79b8f3cc |
@@ -0,0 +1,36 @@
+using System;
+using System.Reflection;
+using System.Windows;
+using System.Windows.Input;
+using System.Windows.Interop;
+using Flow.Launcher.Resources.Controls;
+using NUnit.Framework;
+
+namespace Flow.Launcher.Test;
+
+[TestFixture]
+public class MouseWheelTest
+{
+ [Test]
+ [RequiresThrea... | bad | review | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
diff --git a/Flow.Launcher.Test/MouseWheelTest.cs b/Flow.Launcher.Test/MouseWheelTest.cs
new file mode 100644
index 00000000000..eb827293bb6
--- /dev/null
+++ b/Flow.Launcher.Test/MouseWheelTest.cs
@@ -0,0 +1,36 @@
+using System;
+using System.Reflection;
+using System.Windows;
+using System.Windows.Input;
+using Syst... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
@@ -126,6 +130,9 @@ protected override void OnMouseWheel(MouseWheelEventArgs e)
e.Handled = true;
}
+ if (ActualHeight <= 0)
+ return;
+
var WheelChange = e.Delta * (ViewportWidth / 1.5) / ActualWidth; | bad | review | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
diff --git a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
index 78985108ce2..fbc85e223cb 100644
--- a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
+++ b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
@@ -44,8 +44,7 @@ public Or... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
@@ -96,6 +97,9 @@ protected override void OnMouseWheel(MouseWheelEventArgs e)
e.Handled = true;
}
+ if (ActualHeight <= 0) | bad | review | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
diff --git a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
index 78985108ce2..fbc85e223cb 100644
--- a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
+++ b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
@@ -44,8 +44,7 @@ public Or... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
@@ -126,6 +130,9 @@ protected override void OnMouseWheel(MouseWheelEventArgs e)
e.Handled = true;
}
+ if (ActualWidth <= 0)
+ return; | bad | review | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
diff --git a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
index 78985108ce2..fbc85e223cb 100644
--- a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
+++ b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
@@ -44,8 +44,7 @@ public Or... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
@@ -126,6 +130,9 @@ protected override void OnMouseWheel(MouseWheelEventArgs e)
e.Handled = true;
}
+ if (ActualWidth <= 0)
+ return; | bad | review | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
diff --git a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
index 78985108ce2..fbc85e223cb 100644
--- a/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
+++ b/Flow.Launcher/Resources/Controls/CustomScrollViewerEx.cs
@@ -44,8 +44,7 @@ public Or... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | a372971bcd799bcefd320ae2fcec46dbf4ef14c3 |
@@ -0,0 +1,118 @@
+using System;
+using System.Runtime.InteropServices;
+using System.Runtime.InteropServices.ComTypes;
+using Flow.Launcher.Plugin.Program.Logger;
+using Windows.Win32;
+using Windows.Win32.Foundation;
+using Windows.Win32.System.Com;
+using Windows.Win32.System.Com.StructuredStorage;
+using Windows.W... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 1de6d751e681421b4f7617a3fb84932bfc04110e |
diff --git a/Plugins/Flow.Launcher.Plugin.Program/Programs/ShellLinkReader.cs b/Plugins/Flow.Launcher.Plugin.Program/Programs/ShellLinkReader.cs
new file mode 100644
index 00000000000..2680e6ea918
--- /dev/null
+++ b/Plugins/Flow.Launcher.Plugin.Program/Programs/ShellLinkReader.cs
@@ -0,0 +1,131 @@
+using System;
+usi... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 1de6d751e681421b4f7617a3fb84932bfc04110e |
@@ -17,8 +17,16 @@ private static string GetDefaultBrowserPath()
var name = string.Empty;
try
{
- using var regDefault = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice", false);
- ... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 48c9d85b3b6d6dbfdfe1793d0ebce3deb4c15d65 |
diff --git a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs
index 1b4f780a372..944b6f5b56f 100644
--- a/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs
+++ b/Flow.Launcher.Plugin/SharedCommands/SearchWeb.cs
@@ -17,8 +17,16 @@ private static string GetDefaultBrowserP... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 48c9d85b3b6d6dbfdfe1793d0ebce3deb4c15d65 |
@@ -10,27 +9,70 @@ public interface IImageHashGenerator
{
string GetHashFromImage(ImageSource image);
}
+
public class ImageHashGenerator : IImageHashGenerator
{
+ private const int HashSize = 64; // Deterministic size for hashing to avoid DPI/stride variability
+
public str... | bad | review | csharp | Flow-Launcher/Flow.Launcher | e436287492da51b8b575f332de53dd80d6ea08a9 |
diff --git a/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs b/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
index 2611e99e865..d0fb592f4d3 100644
--- a/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
+++ b/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
@@ -1,5 +1,5 @@
using Sys... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | e436287492da51b8b575f332de53dd80d6ea08a9 |
@@ -10,27 +9,46 @@ public interface IImageHashGenerator
{
string GetHashFromImage(ImageSource image);
}
+
public class ImageHashGenerator : IImageHashGenerator
{
+ private const int HashSize = 64; // Deterministic size for hashing to avoid DPI/stride variability
+
public str... | bad | review | csharp | Flow-Launcher/Flow.Launcher | e436287492da51b8b575f332de53dd80d6ea08a9 |
diff --git a/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs b/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
index 2611e99e865..d0fb592f4d3 100644
--- a/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
+++ b/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
@@ -1,5 +1,5 @@
using Sys... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | e436287492da51b8b575f332de53dd80d6ea08a9 |
@@ -10,27 +9,46 @@ public interface IImageHashGenerator
{
string GetHashFromImage(ImageSource image);
}
+
public class ImageHashGenerator : IImageHashGenerator
{
+ private const int HashSize = 64; // Deterministic size for hashing to avoid DPI/stride variability
+
public str... | bad | review | csharp | Flow-Launcher/Flow.Launcher | e436287492da51b8b575f332de53dd80d6ea08a9 |
diff --git a/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs b/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
index 2611e99e865..d0fb592f4d3 100644
--- a/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
+++ b/Flow.Launcher.Infrastructure/Image/ImageHashGenerator.cs
@@ -1,5 +1,5 @@
using Sys... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | e436287492da51b8b575f332de53dd80d6ea08a9 |
@@ -531,26 +534,30 @@ private async Task OpenResultAsync(string index)
// For query mode, we execute the result
else
{
- var hideWindow = await result.ExecuteAsync(new ActionContext
+ hideWindow = await result.ExecuteAsync(new ActionContext
... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 654026e66308bf833b0a152abc0ebe3527f963c7 |
diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs
index 333ac3652f4..6a4d54f27ab 100644
--- a/Flow.Launcher/ViewModel/MainViewModel.cs
+++ b/Flow.Launcher/ViewModel/MainViewModel.cs
@@ -515,8 +515,11 @@ private async Task OpenResultAsync(string index)
retu... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 654026e66308bf833b0a152abc0ebe3527f963c7 |
@@ -531,26 +534,30 @@ private async Task OpenResultAsync(string index)
// For query mode, we execute the result
else
{
- var hideWindow = await result.ExecuteAsync(new ActionContext
+ hideWindow = await result.ExecuteAsync(new ActionContext
... | bad | review | csharp | Flow-Launcher/Flow.Launcher | 654026e66308bf833b0a152abc0ebe3527f963c7 |
diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs
index 333ac3652f4..6a4d54f27ab 100644
--- a/Flow.Launcher/ViewModel/MainViewModel.cs
+++ b/Flow.Launcher/ViewModel/MainViewModel.cs
@@ -515,8 +515,11 @@ private async Task OpenResultAsync(string index)
retu... | good | review_fixed | csharp | Flow-Launcher/Flow.Launcher | 654026e66308bf833b0a152abc0ebe3527f963c7 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.