Roadmap 0.11, Owner Research Suggested

ORS.27 Say when a drawing is already open somewhere else, and by whom

  • Feature
  • Built · in the lab
  • CadCraft
  • Studio

Partly built in the lab 2026-11-12: a lock file beside the drawing (who, since, version; refreshed each minute, removed on close; stale after 5 minutes), Open read-only / Open anyway / Cancel on someone else's lock, a question before saving over it, WHOHAS. Works against a stand-in desktop bridge only. In the real shell a drawing opened by dialog or double-click grants that one file, so the lock file beside it is refused: today locks work only in a folder the person chose. Tests bin/test-drawing-lock.mjs 81/0, browser run with the stand-in 22/0. Never run in a real Studio build.

a Discord member Suggested (their open pull requests). Pull request 1018 adds drawing locks and WHOHAS. Ours: nothing in the lab build; two people on a shared office folder can save over each other in Studio.

studio-11 2026-11-20: Both shell changes made: files.rs Grants::allows lets the page reach a granted file's own <file>.cclock (lock_ops.rs lock_target, nothing else beside it), and cc_device_name / cadcraftDesktop.deviceName() gives the computer's name (the sign-in's hostname rule; tablets: the device name). lock_ops rustc --test 5/0, bridge tests 137/0, cargo test --lib on workstation11a (jammy chroot) 156 passed, 0 failed, 5 ignored; cargo xwin check --target x86_64-pc-windows-msvc clean. Not run in a real Studio.

SEEN 2026-11-20 (studio-checks-11): in real Windows Studio a .dwg opened by double-click / launch argument gets a drawing.dwg.cclock beside it (who, computer, since). NOT seen: the lock file going away when the window closed (closed by script; it stayed; stale after 5 minutes). (studio-checks-11)…

Verified 2026-11-20 (0.11 close-out): node bin/test-drawing-lock.mjs -> 83 passed, 0 failed (lock file, read-only/anyway/cancel, save question, WHOHAS, release on pagehide). Studio shell changes tested by studio-11; studio-checks-11 saw the lock file in real Windows Studio. Only the two-computer check remains. The hand check is ORS.27-HAND (file and community row already exist).

From: a Discord member

Add a comment

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.