rainyl / Flow.Launcher.Plugin.ClipboardR

A Flow Launcher Plugin which saves your clipboard activity.
Apache License 2.0
20 stars 4 forks source link

Debug error at Flow startup - Requested Clipboard operation did not succeed. #1

Closed deefrawley closed 1 year ago

deefrawley commented 1 year ago

Hi,

I'm not 100% sure this is caused by this plugin but the error did start around the same time I installed it, and mentions the clipboard.

System.Runtime.InteropServices.ExternalException (0x800401D0): Requested Clipboard operation did not succeed.
   at System.Windows.Forms.Clipboard.GetDataObject(Int32 retryTimes, Int32 retryDelay)
   at WK.Libraries.SharpClipboardNS.Views.ClipboardHandle.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Some more detail:

It seems to be happening consistently at PC startup so can reproduce if you need any further info. Thanks.

rainyl commented 1 year ago

Thanks for your kind description, I will try to reproduce and fix it.

rainyl commented 1 year ago

I didn't reproduce it but I have tried to fix it by stopping get clipboard data at start, could you please test whether it has been fixed by upgrading clipboardR to v0.1.6? If it still exist, you can try to set ClipboardR with lower priority, e.g., set to -1 if all other plugins' priority is 0.

If all above approaches doesn't work, you can leave a new comment :)

deefrawley commented 1 year ago

I installed the update, did a full shutdown restart and no error dialog and the plugin is working so I think this is solved. Thanks for the quick update!