reports icon indicating copy to clipboard operation
reports copied to clipboard

FB17775671: Pasteboard privacy prompt never appears and hangs headless app when trying to access pasteboard

Open lemonmojo opened this issue 6 months ago • 0 comments

Submission Date

2025-06-03

Status

Open

Area

AppKit

Operating System Version

macOS 15.5

Type

Incorrect/Unexpected Behavior

Description

This is in regards to: https://developer.apple.com/documentation/updates/appkit#macOS-pasteboard-privacy

Run the following in the terminal and then run the sample project:

defaults write com.test.PasteboardPrivacyHeadlessTest EnablePasteboardPrivacyDeveloperPreview -bool yes

Instead of showing the pasteboard permission prompt, the app hangs in the line accessing the pasteboard.

Demo Project: https://github.com/lemonmojo/macos-pasteboard-privacy-headless

Keywords

pasteboard privacy permission permissions clipboard

Prerequisites

  • [x] The title follows the format FB<number>: <title>
  • [x] I will keep this issue updated with Apple's responses

lemonmojo avatar Jun 03 '25 08:06 lemonmojo