[Lazarus] Clipboard Data Goes Away

Anthony Walter sysrpl at gmail.com
Thu Apr 1 08:58:24 CEST 2021


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20210401/326a81b7/attachment.html>


More information about the lazarus mailing list