Skip to content

fix(docs): Bluetooth matrix promises automatic Wi-Fi promotion for clipboard pictures #3

Open

Description

@coygeek

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: main at 50125ca0c4f73ab3253e739dd8a6ec9cf1a8444b.
  • 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:

  1. Read the README Connections matrix: the Bluetooth cell for the row containing clipboard pictures says “moves to Wi-Fi Direct”.
  2. Compare the Pictures hint in mac/ui-clipboard.js, which says “Not over Bluetooth”.
  3. Trace a new image-only clipboard copy in Instant mode through mac/clipboard.js: the clipboard event calls sendIfChanged, empty text reaches _picture, and _picture returns if images.canSend is false.
  4. Inspect shared/clipimage.js: even with clipboard send, Pictures, peer image support, and a connected session enabled, canSend requires !this.o.ble(). The macOS adapter derives that flag from the actual session transport.
  5. 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 call need before 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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions