Files
vectorcraft/apps
dotCooCoo 2a0ba09fd3 Paste: a bitmap copied here is found after a late text read on Linux
On Linux and the BSDs, Copy reads the clipboard's text before it writes.
When the app that held the clipboard does not answer that read within its
wait, the read stays open, and the next Paste waits for its answer. Once it
came, Paste read the clipboard again as text only and compared that with
the Copy. A Copy whose SVG markup does not go out as text (art with more
than 1 MiB of placed images) puts only a bitmap on the clipboard, so the
text never matched, and Paste took that bitmap: one picture at 72 ppi in
place of the copied objects, in the same document or another one.

Paste now reads the clipboard as the Copy wrote it (text or bitmap) before
it compares, whatever the late read was, and takes the internal clipboard
when it matches.
2026-12-05 06:53:15 -08:00
..