Thanks Michael. It looks as if this problem was fixed in Gtk2 by version 2.6. The developers added this function to work around this problem:
void gtk_clipboard_store (GtkClipboard *clipboard); Stores the current clipboard data somewhere so that it will stay around after the application has quit. Parameters clipboard a GtkClipboard Since: 2.6 Looking at the LCL source, it seems the Gtk3 LCL is using this function to save the clipboard data after the program exists, but it's not being used in the Gtk2 LCL. With this function, the problem I've described should be fixable in LCL Gtk2.
-- _______________________________________________ lazarus mailing list lazarus@lists.lazarus-ide.org https://lists.lazarus-ide.org/listinfo/lazarus