Files
skylartaylor dde232da4a nightly: a refused launch exits 2 on macOS instead of hanging
A refused launch profile printed its reason and then, on a macOS desktop
session, opened rfd's message box before eframe's event loop existed. That
alert needs the AppKit run loop this start never reaches, so the process sat
in an invisible modal and had to be killed instead of exiting (seen on
GridCraft's nightly Mac smoke, run 45749038918).

The refusal now adds the box only where one renders without the app's event
loop (Windows' MessageBox, GTK on X11/Wayland) and otherwise leaves the reason
on standard error, so the caller's exit(2) is reached. The rule is a pure
function with a unit test.

PhotoCraft's clap `launch_args` already absorbs the Launcher's `--`, and its
own Mac smoke passed: this is the dialog part only, applied preventively.
2026-11-26 06:35:35 +01:00
..