Skip to content

feat(mac): a clock on the capture, Finder paths, and paste through the menu - #67

Merged
rgdevment merged 1 commit into
mainfrom
mac-core-session
Sep 18, 2026
Merged

rgdevment merged 1 commit into
mainfrom
mac-core-session

Conversation

@rgdevment

@rgdevment rgdevment commented Sep 18, 2026 •

Copy link
Copy Markdown
Owner

No description provided.

@rgdevment rgdevment changed the title feat(mac): clock the capture, real Finder paths, documents as text, and paste through the menu feat(mac): a clock on the capture, Finder paths, and paste through the menu Sep 18, 2026
…e menu

Measured on macOS 27.0 against Preview, Finder, Numbers 15.3, Excel 16.113,
Word 16.113 and Pages 15.3.

Capture
- capture_within(400 ms): the whole read runs on a sacrificial thread. The
  pasteboard server holds a reader for 60 s while a source that promises
  data stays silent, and Excel promises every format it offers.
- Finder offers public.file-url as file:///.file/id=...; it is resolved
  through NSURL.filePathURL, so the kind, the name and missing_paths work.
- A copied file no longer stores its 4 MB icon TIFF (Catalog::decide_in).
- embeddable lists the iWork TSP* and the Office OLE markers, so a range
  copied from a spreadsheet is kept as text, not as the picture of itself.
- An image that arrives with zero bytes is absent, and an item whose image
  never arrived but whose text did is text. Numbers offers empty PNG/TIFF.

Paste
- Route::Menu: when posting events is denied, the target's Edit > Paste
  item is pressed through Accessibility, found by its shortcut (command-V,
  no modifiers) rather than by its localized title.
- request_accessibility() prompts for the second TCC permission.

Probe
- F4 skipped because NSWorkspace.frontmostApplication only updates in a
  process that runs its run loop; the probe pumps it before reading.
- New cases A9-A12, C5 and F5. 62 cases, none skipped.
@rgdevment
rgdevment merged commit 182caca into main Sep 18, 2026
14 checks passed
@rgdevment
rgdevment deleted the mac-core-session branch September 18, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant