Roadmap 0.13, Fixes
FX.764 CadCraft: Ctrl+V of objects copied in the drawing pastes the objects, not a picture of them
Reported 2026-12-02 (suggestion 2402, CadCraft desktop 0.12.1): "Copy-pasting objects within the drawing now pastes as pngs or svgs than its original vectors, needing to hold shift for it to be able to paste as the original."
Not reproduced yet. Reading of the code: since ORS2.5 (0.12) Copy also puts the selection on the system clipboard as a vector picture and an image, for other programs; a plain Ctrl+V then appears to take that picture (the picture paste of DF.6) instead of CadCraft's own copied objects. Ctrl+Shift+V runs PASTEORIG, which reads our own clipboard, so the objects arrive, at their original place.
Wanted: when the system clipboard holds what CadCraft itself copied, Ctrl+V and Edit > Paste paste the objects (PASTECLIP, following the pointer until placed). A picture is pasted only when the clipboard came from another program. Check the desktop program and the browser, and a copy from one drawing to another.
Owner 2026-12-02: on the roadmap.
lead 0.13 2026-12-02: Built in the lab 2026-12-02. Cause as read: Copy puts a PNG, an SVG and text on the system clipboard, and plain Ctrl+V took the image (DF.6 picture paste). Now Copy records the PNG's pixel size and clip id (localStorage cadcraft.sysclip, shared by tabs; clipexport-ui.js) and Ctrl+V / Edit > Paste paste CadCraft's own objects (PASTECLIP, following the pointer) when the clipboard picture matches the newest clip (cadcraft.js); a picture from another program still pastes as a picture. Browser test tools/cadcraft-test/browser-paste-own-fx764.mjs 16/0 in /lab (real Ctrl+C/Ctrl+V, clipboard permissions): same drawing, second tab, foreign PNG, Ctrl+Shift+V, no console errors. bin/test-cadcraft.mjs 2989/13 (lead re-ran): the 13 are DWG POLYLINE_PFACE comparisons and one Clears check, not clipboard code (no pre-change run to compare). Untested: Studio itself (no clipboard code of its own; same page), a foreign picture of exactly the same pixel size.
Community comments
No comments yet
Add detail as we go: how you would use it, files or steps that show the problem, what other programs do. The team reads every comment.
Sign in or create a free account to add a comment.