Description
Checks
-
I have checked that this issue has not already been reported.
-
I am using the latest version of Flow Launcher.
-
I am using the prerelease version of Flow Launcher.
Problem Description
Flow Launcher version
1.20.1
OS version
Windows 10 22H2 (Build 19045.5965)
Architecture
- IntPtr Length: 8
- x64: ✅
Paths
-
Python Path:
D:\TotalCMD\Launching\Soft\Utilities\FlowLauncher\app-1.20.1\UserData\Environments\Python\PythonEmbeddable-v3.11.4\pythonw.exe
-
NodeJS Path:
E:\Site-Building\Useful Programs\NodeJS\node.exe
Date and Time
06/22/2025 23:21:28
Exception Details
System.Runtime.InteropServices.COMException (0x800401D0): Ошибка при вызове OpenClipboard (0x800401D0 (CLIPBRD_E_CANT_OPEN))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode, IntPtr errorInfo)
at System.Windows.Clipboard.Flush()
at Flow.Launcher.Plugin.StringUtils.QueryHandler.<>c__DisplayClass1_0.b__0(ActionContext )
at Flow.Launcher.Plugin.Result.ExecuteAsync(ActionContext context) in //Flow.Launcher.Plugin/Result.cs:line 267
at Flow.Launcher.ViewModel.MainViewModel.OpenResultAsync(String index) in C:\projects\flow-launcher\Flow.Launcher\ViewModel\MainViewModel.cs:line 459
at CommunityToolkit.Mvvm.Input.AsyncRelayCommand.AwaitAndThrowIfFailed(Task executionTask)
at System.Threading.Tasks.Task.<>c.b__128_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Additional Info
- It seems this error happens when the clipboard is being accessed (likely copy to clipboard).
- This can happen if another application locks the clipboard (e.g., remote desktop sessions, clipboard managers).
- Would be helpful to handle this exception gracefully or retry with delay.
Log file
Attached:
To Reproduce
- Install StringUtils
- Generate 'str uuid'
- Copy any to clipboard
Screenshots
No response
Flow Launcher Version
1.20.1
Windows Build Number
Win10 22H2 1904.5965
Error Log
Replace this line with the important log contents.