persist_options now skips the write when the saved entry already equals the options, so the menu can persist on every pick. A pick of the checked row writes nothing unless the saved entry is missing or stale. Adds a test for the missing-entry case and saves an entry first in the unchanged-value test.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Main added Effect, Attribute, Color, Smart Object and Artboard to the Layers
panel filter. Group is now the last type in the list, and works like Artboard:
`Filter::with_selection` fills the listed rows once per frame from
`group::listed`, so the panel, the deselect-on-apply step (#10879) and the
control channel all see the same rows; `shows_in`/`group_ids` and the
layers.rs change are gone. This also removes the duplicate `mod group;` and
`mod tests;` lines (E0428) and the rustfmt issues from the review.
- `group::listed` walks the tree with a stack instead of recursion and
returns `LayerId`s.
- `Filter::show_all` is documented: Group keeps each group open or closed.
- Tests go through `Filter::of_app` and `panel_rows`, as the panel does,
plus a deselect-on-apply case and a document without groups.
- control-protocol.md: `group` added to main's `layerFilter` entry.
Co-Authored-By: Nurana100 <Nurana100@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Converting a document (layer copy to another mode/profile, Image > Mode,
Convert to Profile with or without dither, Duotone inks) converted run colours
but not the colours set by character/paragraph styles and Basic Paragraph, so
converted runs showed a false local override and stopped following later
style edits. Duplicate Layer > New Document dropped the source's Basic
Paragraph, giving inheriting type false overrides.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
transform_fx::work_layer scales a style to the preview's work resolution
with scale_effects, so the 1..1000 % clamp turned a 2 % pattern at a
quarter of the size into 1 % instead of 0.5 %, and an imported 2000 %
pattern into 1000 % at full size. scale_effects_preview scales patterns
exactly; Scale Effects and Image Size's Scale Styles keep the clamp.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The bar's background choice is a tool option for every board the tool makes, but the placing click of Add New Artboard (#11386) sent only the rect, so its board was always white. The click now builds its params through bar::with_background like the drag does, and without takeBackground, which #11387 asks for only on the drawn board.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Main carries this branch's earlier commits (merged with #5533) and then
removes their changes again (82f5a11067), so a plain merge would drop the
whole fix. This merge is main's tree plus the branch's own diff, with
main's blend-group separators (#5532) in combo_list's list and the
crop preset dropdown kept above its parent layer (#7113).
Add the missing Hindi rows for Camera Raw... and Reveal in Explorer/Finder. Make Working CMY Plates plural and drop the document wording from New Window in the catalogs that kept them. Skip re-persisting an unchanged thumbnail size in the Layers empty-area menu. Tighten two tests there and add a test for the Hindi rows.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Opening and measuring the folder ran under the config lock, which the UI
takes every frame, and could run on the UI thread itself. They now run on
a short-lived thread, one per folder and question and 16 overall; callers
wait at most 2 s, and a late answer applies if the folder is still current.
No answer counts as unmeasured, or pauses spilling if nothing is open yet.
With 1 GiB or less of free RAM, or 512 MiB or less of commit headroom, the
hard limit was exactly 0, so even a small file was refused with a message that
didn't say memory was low.
The reserve now shrinks with the measurement: up to a quarter of free RAM opens
automatically, the rest goes to approval, and an approved import always leaves
at least 256 MiB free. Limits are unchanged for automatic opening above 4/3 GiB
free and for approval from 4 GiB free. A refusal set by measured memory now
gives the free amount and says to close other apps and try again, and the
approval prompt warns when little memory would be left.
An unreadable cgroup still measures Some(0) and stays refused.
A guard that is a temporary in an if condition drops before the body runs, so a configuration change
could still land between the two.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Windows queries the verbatim path, as stripping the prefix can change what a trailing dot means. A
slow query no longer overwrites the status of a folder configured meanwhile. macOS recognises the
listed volume by its mount point's statvfs numbers, not the total alone. Tests no longer assume the
temp volume reports capacity or compare live readings, and a real failed measurement is covered.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
* Single Row / Column Marquee: a drag from inside the selection moves it (#11392)
`selection_drag_kind` lists the Single Row and Single Column Marquee with the
other marquees, so a plain drag that starts inside the selection moves the
outline (one step, as the Rectangular Marquee's move) instead of replacing it
with one new line. A click inside without moving still selects a line
(`finish_gesture`), never deselects, and snaps it as a click outside the
selection does (`snap_ui::snap_click`: guides, grid, layers and document bounds,
not the selection's own edges, which would pick the line beside a 1 px one). A
click on a floating piece drops it where it is first, then selects the line.
⇧ / ⌥ and drags from outside are unchanged.
A selection drag is a click only when the pointer, before snapping, never left
the press by half a pixel or more (`Drag::left_press`, `selection_release`); a
click ends where it was pressed, unsnapped, as with snapping off. With View ›
Snap on, a click inside a selection whose edge sat within reach of a guide or
the canvas edge moved it onto that edge instead of selecting the line (or, with
the Rectangular and Elliptical Marquee, deselecting). `tool_input` passes the
classification on (`finish_release`), so a drag that snapping pulls back to
where it started, or that comes back there, leaves the selection as it was
instead of taking the click's path.
Fixes#11392
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Selection drags: judge a press inside the selection before snapping (#11392)
The press handler asked `selection_drag_kind` about the snapped press point. With
View › Snap on, a press just outside a selected row snapped onto the row's edge
and counted as inside, so a Single Row / Column Marquee drag from there moved the
selection instead of selecting a new line. It now asks about the press as it
was, as `snap_ui::begin` does when it picks the drag's snapping.
The Move tool's click shortcut also needs the pointer never to have left the
press (`Drag::left_press`): a drag that snapping held at the press point and that
came back there dropped a floating piece. A drag that ends unmoved without being
a click now clears the floating piece's move preview, which nothing else
releases on that path.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: FredApps <153173854+FredApps@users.noreply.github.com>
Windows network folders reported unknown because sysinfo doesn't list them, and an unlisted Linux
NFS or CIFS mount used the numbers of its listed parent. GetDiskFreeSpaceEx (Windows) and statvfs
(Unix) on the directory fix both. macOS keeps sysinfo's figure, which counts purgeable space, when
the listed disk is this volume. A mount that reports no space is flagged in Preferences, in the
hard-limit refusal and in spill::stats, with a hint to set a Scratch Size Limit or use a local disk.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
The new `"stepName":"Transform Path"` parameter made the registry probe in
registry_filesystem_path_params_are_classified count edit.transform as a
command that takes a host filesystem path. Add it to the vector-path list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>