[Lazarus] Clipboard Data Goes Away
l at c-m-w.me.uk
Thu Apr 1 09:24:58 CEST 2021
This is the way the linux clipboard works - the data is kept with the source program, so goes when the program closes.
> On 01/04/2021 07:58 Anthony Walter via lazarus <lazarus at lists.lazarus-ide.org> wrote:
> On Linux Gtk2, over time I have noticed a problem where data copied to the clipboard by a Lazarus application does not persist on the clipboard after the Lazarus program has exited.
> While writing this application (https://cache.getlazarus.org/images/desktop/capture-tool.png) that captures image data to the clipboard, the data on the clipboard is only available to other applications while mine is running. If I exit my program the clipboard data goes away. The same problem occurs if the clipboard data is text rather than a bitmap.
> Is this a known issue on Linux LCL Gtk2? Is there a workaround?
> Thank you for your attention.
> -- _______________________________________________ lazarus mailing list lazarus at lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus
More information about the lazarus