WebKit Bug Leaves Copy Menu Enabled With No Selection

WebKit enables the Copy menu item in Safari, Mail, and third-party apps even when nothing is selected on the focused page or message.

WebKit Bug Leaves Copy Menu Enabled With No Selection

*WebKit enables the Copy menu item in Safari, Mail, and third-party apps even when nothing is selected on the focused page or message.*

The defect sits in WebKit itself. When a web view receives focus, the menu item reports itself as available whether or not any text or content is highlighted. The same behavior appears in the Mail app once an email message is selected.

Jeff Johnson confirmed the problem after John Gruber reported it in Safari. Johnson traced the enabled state to WebKit’s public API rather than to any application-level code. Because the framework is exposed to third-party developers, the bug surfaces wherever WebKit renders content.

RSS readers illustrate the scope. NetNewsWire, which Gruber uses, and Vienna, which Johnson uses, both display the Copy command as active as soon as an article loads. No selected text is required.

Scope of the flaw

The issue is not limited to Apple’s own applications. Any macOS or iOS program that embeds a WKWebView inherits the incorrect menu state. The menu item remains enabled across the main menu bar, not only inside the web view’s contextual menu.

No workaround exists at the app level. Developers cannot override the enabled state without replacing WebKit’s menu-handling logic, which the framework does not expose.

Why it matters

A persistent false positive in a core menu command erodes trust in the platform’s attention to detail. Users who rely on the menu bar for keyboard-driven workflows encounter an always-available action that does nothing. The bug also shows how a single framework defect propagates to every dependent application once that framework is published as a public API.

---

Sources:

{
  "excerpt": "A WebKit defect keeps the Copy menu item enabled in Safari, Mail, and RSS readers even when no content is selected.",
  "suggestedSection": "software",
  "suggestedTags": ["webkit", "apple", "safari"],
  "imagePrompt": "An empty desktop workspace with a single floating contextual menu bar casting soft shadows on a matte surface, no text or icons visible. Abstract code-like lines fade into the background plane. muted color palette, cinematic lighting, 16:9"
}

No comments yet