Status bar: a Show menu chooses what the info field displays

A click on the status bar's info field, which showed only the tool in
use, opens a Show menu. Its items choose the readout: Artboard Name
(the artboard the navigator shows), Current Tool (the default), Date
and Time (local on the desktop, UTC on the web), Number of Undos (the
active document's undo and redo step counts) and Document Color
Profile (the profile the document's colors use for its color mode: the
assigned one, else that mode's working space). The choice is kept with
the UI state.

The new command view.statusBarShow {show} sets the readout and rejects
any other value. The labels have rows in every catalog, and
docs/mcp.md and docs/ui-parity.md describe the command.
This commit is contained in:
dotCooCoo
2026-11-14 22:17:40 -08:00
parent 0c1ac3bdc5
commit b731e426af
40 changed files with 590 additions and 13 deletions
+16
View File
@@ -6393,6 +6393,22 @@ Reset Rotate View is the command `view.rotateReset`:
the angle the selected objects share (`selectionRotation` in `document.inspect`, 0 when their angles differ), so their
bounding box is square to the window. It returns `{angle}`, and with nothing selected it returns "nothing selected".
`view.statusBarShow` (desktop app, the Show menu that a click on the status bar's info field opens) chooses what that
field shows, with `show` set to one of these values:
- `artboardName`: the name of the artboard the status bar's navigator shows.
- `currentTool`: the name of the tool in use. This is the default.
- `dateTime`: the date and time, as `2026-11-15 14:03`. The desktop app shows local time, and the web build shows UTC
with ` UTC` after it.
- `undos`: the active document's undo and redo step counts, as `Undos: 3 Redos: 1`.
- `colorProfile`: the profile the active document's colors use. That is the profile assigned for its color mode
(Edit › Assign Profile), or that mode's working space (Edit › Color Settings) when none is assigned or the
assigned one is not available.
It returns the value set. The choice is kept with the UI state. A missing or other `show` fails with
``` `show` must be one of artboardName, currentTool, dateTime, undos, colorProfile ``` and leaves the choice as it was.
Without a document, the readouts that need one show a dash.
The Smart Guides preferences (Preferences › Smart Guides) apply to `pointer_gesture` with Smart Guides on (the
default view) and to the mouse; they change what the tools show and how far a target pulls, and only Construction
Guides change where a snapped point lands:
+1
View File
@@ -453,6 +453,7 @@ next unit in the order a right-click on a ruler lists them, from Feet back to Po
| Workspaces (save, reset, switch); each remembers the layout changes made in it across switches and restarts until Reset <name> | done | `UiState::workspace_changes` |
| Opening a file: after 0.4 s a progress window with the file name, a moving bar (reading counts no steps), how many more files wait, Cancel (Esc: the file doesn't open) and Continue in Background; never over another dialog or progress window | done | #5930; `opening::show`, `file.cancelOpen`, `file.openInBackground`. Save, Place and Close still show only the status bar's spinner (Place and Save run off the UI thread; Close is immediate) |
| Window › Help Bar shows or hides the tool-help strip apart from the status bar; kept with the preferences and in saved workspaces; Presentation Mode hides both bars | done | `window.helpBar`; `help_bar_toggle_is_independent_and_saved_in_workspaces`, `help_bar_and_status_bar_render_independently`, `legacy_help_bar_visibility_follows_each_layouts_status_bar` |
| Status bar: a click on the info field opens a Show menu that chooses its readout: Artboard Name, Current Tool (the default), Date and Time, Number of Undos (undo and redo counts) or Document Color Profile; kept with the UI state | done | `view.statusBarShow`; [public behavior reference](https://web.archive.org/web/2014/https://helpx.adobe.com/illustrator/using/workspace-basics.html); `the_status_bar_info_field_shows_the_chosen_readout`, `a_click_on_the_info_field_opens_the_show_menu`, `the_status_bar_show_choice_is_checked_and_saved`. The menu labels are VectorCraft's own |
| Background Export: a progress dialog with the file name, the artboard count and a bar (busy for one artboard and for formats made in one go), Cancel (Esc) and Continue in Background; it opens after 0.4 s and never over another dialog. A cancelled export writes no file | done | #2564; on the shared `vectorcraft_doc::cancel` token (#2546), so a cancelled render keeps no half-drawn pattern tile or effect raster. The bar moves between artboards, not within one. Save As, Export for Screens and Export Selection don't show it yet |
| Swatch, graphic style and symbol library panels: each library opens in a panel of its own, several at once, that floats, groups, docks and closes like any panel; opening an open library brings its panel forward; Previous / Next Library change the library in place; the panel menu's Persistent reopens the panel at startup with its view and find field (a library loaded from a file is read again; when its file is missing the panel reopens showing the file's path with Locate Library…, and the status bar names the file) | done | #2603; panel ids `library:<kind>:<id>`, `ui.libraryPanel {panel, library?, view?, showFind?, persistent?}`, `ui.libraryPanel.locate {panel, path?}`; the library panels have no sort option, as before |
| DXF export/import preserves intended curve closure | done | #1299; R13–2018 closed SPLINE bit set/read; an open curve ending at its start stays open; knots and control points unchanged; circular cubic paths export as native CIRCLE/ARC where stroke semantics permit; DXF Options' Preset menu and `document.exportDxf`'s `dxfPreset: "cnc"` set the CNC / CAM options (#5500) |