Since 3.0, we should now create a new Clipboard, use it, then drop it right away on Windows.
However, I'm getting reports that that same code doesn't work on Linux X11, and that we there instead need to create a Clipboard once and then keep it around for the life of the program: emilk/egui#2138
If true, this makes using arboard suddenly very annoying as I need different paths depending on what platform I am compiling for (which is exactly what I want arboard to help me abstract).
From a users point of view, I just want access to functions to copy and paste text and images. I don't want to think about the lifetime of the Clipboard resource.
Since 3.0, we should now create a new
Clipboard, use it, then drop it right away on Windows.However, I'm getting reports that that same code doesn't work on Linux X11, and that we there instead need to create a
Clipboardonce and then keep it around for the life of the program: emilk/egui#2138If true, this makes using
arboardsuddenly very annoying as I need different paths depending on what platform I am compiling for (which is exactly what I wantarboardto help me abstract).From a users point of view, I just want access to functions to copy and paste text and images. I don't want to think about the lifetime of the
Clipboardresource.