Files
vectorcraft/docs
dotCooCoo 241fec3579 Command Palette: commands that cannot run now are dimmed
A result that cannot run now stays in its place in the list and is
drawn in the disabled text color: an engine command whose engine check
fails (Ungroup with nothing selected, Paste with an empty clipboard and
nothing to paste from the system clipboard), a UI command the menus dim,
a filter plug-in or an effect whose menu item is dimmed, and a panel in
Presentation Mode. Tools are never dimmed.

The engine's reason, or that the command is not available right now,
shows on hover, as the row's screen-reader description, and in the
footer while the row is highlighted: beside the count, or on a line of
its own under the recent picks of an empty search. The row's
screen-reader node is marked disabled. Both messages are existing
status messages, so no catalog changes.

Only the drawn rows are checked, each once per state: the key is what
the native menu bar's rows depend on (native_menu::state_hash, now
pub(crate)), plus unsaved changes, the screen mode, an open dialog and
background saves, exports, file reads, plug-in runs and traces, and a
frame with a click. Typing in the search field keeps the answers. One
engine check took 102 ms on a 20,000-object selection in a release
build. The check does not change the ranking, and a pick of a dimmed
result does what it did before.
2026-11-16 10:57:18 -08:00
..