Repository navigation
Description
Summary
The README connection matrix groups clipboard pictures with features that move a Bluetooth session to Wi-Fi Direct. The clipboard UI instead says pictures are not sent over Bluetooth, and the image-copy path returns before sending or requesting a network link while the session uses Bluetooth. The documentation therefore gives inconsistent instructions for a Bluetooth-only session. This report concerns the documented transport behavior; no live Bluetooth image transfer was tested.
Runtime or environment
- Latest stable source inspected: v2.5.0 at
00850e7810a2279273d7cf768721d6ae0e521bdc. - Default branch inspected:
mainat50125ca0c4f73ab3253e739dd8a6ec9cf1a8444b. - Source inspection only, centered on the macOS one-to-one clipboard path with Multi-device off. No DuoDesk process, Bluetooth pairing, Wi-Fi Direct negotiation, or image transfer was run. The cited implementation files are identical between these baselines; the relevant README matrix claim remains in both.
Steps to reproduce
These source-inspection steps were executed against both baselines:
- Read the README Connections matrix: the Bluetooth cell for the row containing clipboard pictures says “moves to Wi-Fi Direct”.
- Compare the Pictures hint in
mac/ui-clipboard.js, which says “Not over Bluetooth”. - Trace a new image-only clipboard copy in Instant mode through
mac/clipboard.js: the clipboard event callssendIfChanged, empty text reaches_picture, and_picturereturns ifimages.canSendis false. - Inspect
shared/clipimage.js: even with clipboard send, Pictures, peer image support, and a connected session enabled,canSendrequires!this.o.ble(). The macOS adapter derives that flag from the actual session transport. - Inspect
shared/netlink.js: the automatic outgoing-message hold path triggers for file offers and drag starts, not clipboard images. The image-copy path above does not callneedbefore returning.
Expected behavior
The README should distinguish clipboard pictures' actual connection prerequisites from features that request an automatic Wi-Fi Direct upgrade. The README matrix and the clipboard UI should describe the same behavior for copying a picture while only Bluetooth is connected.
Actual behavior
The matrix implies automatic promotion for clipboard pictures. In the inspected one-to-one macOS path, a new image-only copy on a Bluetooth session returns at the transport guard, without offering the image or requesting promotion. The clipboard UI explicitly documents the Bluetooth exclusion. This static observation does not establish whether a particular adapter can create Wi-Fi Direct successfully or whether image transfer succeeds after a separate manual connection.
Evidence
- Expected source: README Connections explanation and matrix.
- Failure source: Clipboard UI Bluetooth exclusion, clipboard event entry and transport adapter, image-only routing and early return, image-send transport guard, promotion message set, and promotion dispatch.
- Evidence provenance: static
- Local verification: static-proof
- Reproduction completeness: complete
The static proof concerns documentation consistency and the reachable clipboard branch with a Bluetooth transport, no simultaneous screen/file workflow requesting promotion, and otherwise enabled clipboard-image settings. Runtime reproduction was not run.
Restoration check
Compare the README Bluetooth matrix with the clipboard UI and the one-to-one image-copy path. A reader should be able to tell whether copying a picture requests Wi-Fi Direct or requires establishing an IP connection first, without relying on a separate screen/file workflow. This report does not prescribe changing transport implementation or promise successful operation on untested hardware.
Triage assessment
- Impact level: P3
- Assessment status: supported
- Impact basis: The verified defect is contradictory transport documentation. No live transfer failure, data loss, or consequential user incident was measured.
- Workaround status: available
- Workaround basis: The shipped clipboard UI already states the Bluetooth exclusion. Consulting that hint resolves the documentation conflict; successful transfer after manually connecting over IP was not tested.
Activity