Dictate: make copy and manual paste obvious when Accessibility approval is unavailable
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- macos, swift
- Ambito
- accessibility, desktop, desktop-dev
Direzione di ricerca
Start in Sources/LocalVoice/TextDelivery.swift around the Accessibility-unavailable copy path, then Views.swift, QuickControls.swift and WorkbenchHome.swift for delivery labels and Home saved-transcript actions. Reuse Delivery and ClipboardReceipt so copy plus ⌘V is the supported mode without nags; keep automatic-paste preference for later approval. Coordinate wording with Prompts in #159. Done when a restricted account can record, copy, and paste manually, copy vs paste labels match the real outcome, and a focused test asserts no paste events without resetting trust.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Outcome and evidence
P2, user-reported managed-Mac friction with the current manual-paste route tested. A person whose IT policy prevents Accessibility approval should still understand how to dictate, copy and paste. Automatic paste should be an optional later convenience.
The user's work Mac showed an administrator prompt while enabling Workbench's Accessibility access. That machine's app build and policy are unknown; the screenshots' Recent transcripts/Handoffs layout must not be attributed to current Preview.
Local native test: Workbench Preview 2.3.0 (20260928054038), clean source 00be555139f87d4557f48fcffc132b8621c251a2, macOS 26.5.1, Apple M5.
- From Home, open Dictate. Delivery is below the transcript, recovery and saved-recording controls.
- Change Delivery from Paste automatically to Copy to clipboard. Guidance becomes “Finished transcripts are copied. Paste with ⌘V.”
- Use a temporary synthetic draft, click Copy text, then press ordinary ⌘V in a new TextEdit document.
- Exact text appears once. Original draft and delivery preference were restored; existing recovery audio/history remained intact.
- The shorter panel → Dictate Options route was also verified; it offers both delivery modes.
This proves mode discovery and Copy/manual paste on the current trusted Mac. It does not prove a fresh microphone-to-text run or actual OS denial, since permissions were not revoked.
Existing mechanism and gap
- TextDelivery.swift:96–107 copies first and returns before paste events when Accessibility is unavailable. The failure text still directs people to Workbench Settings.
- Views.swift:164 promises automatic return based on the preference alone.
- QuickControls.swift:75 says “Allow Accessibility once”.
- WorkbenchHome.swift:300 offers Enable automatic paste in the guide without an equally clear manual-paste choice.
Reuse Delivery and ClipboardReceipt. Without Accessibility, copy is the normal supported delivery mode. Show “Copied” and the immediate ⌘V action beside recording/result, without repeating an instruction to enable Accessibility after every capture. On Home's saved-transcript reuse action, use Copy when only copying is available; do not label a copy-only outcome as Paste. Preserve the user's automatic-paste preference for later permission approval without falsely promising it now. Make optional automatic-paste setup discoverable later, with accurate “your organisation may need to approve this” guidance when appropriate. Do not require MDM detection.
Apple documents app-specific Accessibility approval and managed privacy permissions. IT may approve the signed app under its policy; a workaround should not require granting the user general administrator access or bypassing that policy.
Acceptance
- A restricted account completes record → saved text → copied receipt → manual ⌘V without requiring Accessibility approval. Microphone/model readiness remain separate.
- Deny/cancel/admin restriction leaves Start and copied text usable, with no repeated nag.
- Fresh and existing users can find manual delivery at the action/result; panel, Home and Dictate agree. Home's saved-transcript action names its actual Copy/Paste outcome; no repeated permission nag after successful copying.
- Coordinate the same copy/receipt wording with Prompts in #159. Missing Accessibility and an unreadable target are distinct reasons; neither promises insertion.
- Copied, confirmed pasted, uncertain insertion and copy failure remain distinct. A stale clipboard never claims readiness.
- Later permission approval and automatic-paste opt-in preserve history, drafts, shortcuts and other settings; retain guarded destination validation.
- Add a focused unavailable-permission seam asserting no paste events; do not reset trust on a live user's Mac for tests.
- Verify a real managed/standard-user account separately and record exact build and receiver.
Related: #15 for resumable first dictation, #134 for surface ownership, #162 for the separate stale-target risk, #164 for audit coverage. No new engine, account, elevated helper or permission bypass is needed.
- Lingua principale
- Swift
- Stelle
- 0
- Fork
- 1
- Merge medio
- 18h 19m
- PR unite (30g)
- 114
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di Ship-Work/workbench
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
I maintainer di solito rispondono entro 1 giorno
-
documentation good first issue help wanted
Difficoltà 2/5 Mezza giornata Idoneità per principianti 74/100
Ship-Work/workbench#29 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
A second copy held at "Another Workbench is already running" still runs the pack update checkAperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di Ship-Work/workbench
Issue simili
-
addition
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 83/100
jaywcjlove/awesome-mac#4259 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
VictorKildahl/cra#192 ·
I maintainer di solito rispondono entro 1 giorno
-
area:docs phase:release priority:p0 type:test
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
openwallet-foundation/multipaz#2161 ·
I maintainer di solito rispondono entro 1 giorno
-
[Type] Bug Accessibility Notifications
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wordpress-mobile/WordPress-iOS#26340 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno