Skip to content

macOS engine: a pointer joining a held activation entry that never activated gets a plain click into a background app (re-evaluate the entry) #540

Backlog

Description

@SSFSKIM

Problem

HeldActivations.acquire and refresh (MenuSpan.swift ~:330, ~:382) treat only a stale entry as replaceable. A pointer that joins a standing held entry whose activation never ran (activated == false, the key-focus early exit) gets a plain click into an app that may no longer be active. After #538's (b) that click is guarded for window order, but it may not be delivered: a view that refuses first mouse drops it.

Fix direction

Treat an entry with activated == false as replaceable. If the app still believes it has focus, the new run exits early again and nothing changes. Otherwise the joiner gets a real activation. Kept out of #538's lane on purpose (ruling 1172).

From #538's design note (/Users/new/.local/share/187/design-538.md), ruling 1172.

Update (ruling 1173)

#538 is fixed by refusing shared pointer delivery in the key-focus-only state (option (c)), so a joiner of a never-activated standing entry is now refused while that state lasts, not delivered. Re-evaluating the entry here would turn those refusals into real activations, which makes this ticket worth more. P2 unless #538's hosted probe shows the case occurs.

Activity

  1. added
    enhancement
    status:ready-for-architect
    priority:P2
    on Nov 23, 2026
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

    enhancementpriority:P2status:ready-for-architect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions