CrossCopy / tauri-plugin-clipboard

A Tauri clipboard plugin with text, files, html, RTF, and image support. Clipboard content update monitoring is also supported.
https://crosscopy.github.io/tauri-plugin-clipboard/
MIT License
122 stars 6 forks source link

Missing events/copied items. #4

Closed DandrewsDev closed 1 year ago

DandrewsDev commented 1 year ago

I have a setup very similar to the example page. However I noticed I end up missing a number of items that are getting copied.

This seems to only happen when the window is in the background or hidden using the window.hide(). But in those cases I am losing some copied items.

I works for a little bit of time right after it gets back-grounded, and then always catches the most recent copied item when that window is shown again. But items in-between are not getting caught.

Any tips to mitigate or work-around this issue?

DandrewsDev commented 1 year ago

Found that this is an issue with the actual way the web ui is handled. It just stops getting updated as often. Closing.