I encountered a severe NSColorSampler failure on macOS 27.0 (26A5425a).
After invoking:
NSColorSampler().show { selectedColor in
// Handle selected colour
}
the system colour sampler became stuck. The pointer disappeared and all mouse clicks were captured across macOS.
Pressing Escape did not recover it. Quitting the host application also did not restore clicking.
The Apple-owned process remained active after the application exited:
/System/Library/Frameworks/AppKit.framework/Versions/C/XPCServices/ColorSampler.xpc/Contents/MacOS/ColorSampler
Sending SIGTERM to that process had no effect. Force-terminating it with SIGKILL immediately restored mouse clicking.
Environment:
macOS 27.0, build 26A5425a
MacBook Pro Mac16,8
Apple M4 Pro
SwiftUI content hosted inside a borderless AppKit window
Expected behaviour: selecting a colour, pressing Escape, or terminating the host application should cancel sampling and release all captured input.
Actual behaviour: ColorSampler.xpc survives the host application and continues preventing all mouse clicks system-wide.
Feedback Assistant report: FB24722293
Has anyone else reproduced this with NSColorSampler, particularly from a borderless AppKit window?
0
0
213