Files
photocraft/docs
Claude d8360a1e77 Layers: New Group button groups the selection, New Group dialog, groups from layers start collapsed (#2561)
The Layers panel's New Group button now does what Photoshop CC 2014 and later do:
- a click with two or more layers selected puts them in a new group (Group Layers); with one
  layer or none it adds an empty group; ⇧-click groups the selection, as before;
- ⌥-click asks first in Photoshop's New Group dialog (Name, Color, Mode, Opacity), New Group from
  Layers with several layers selected;
- ⌘-click adds an empty group below the active layer (never under the Background).

The same dialog opens from Layer › New › Group… and Group from Layers…, from the Layers panel
menu's new New Group… / New Group from Layers… items (above Collapse All Groups) and from the row
menu's Group from Layers…, now offered for a multi-layer selection too. Group Layers (⌘G) stays
immediate; explicit params from Actions, CLI and MCP run the engine directly.

layer.new.group, layer.groupLayers and layer.new.groupFromLayers take name, color, mode and
opacity (percent; new engine module group_options.rs), so the dialog's OK is one history step;
layer.new.group also takes below. Bad values are refused without touching the document. A colour
labels the layers inside too, like Layer › Layer Color.

Groups made from layers start collapsed (PSD closed folder), as in Photoshop; selecting a layer
inside still opens the group. Grouping refuses artboards: inside a group they would stop being
boards. Russian: Layer › New › Group… reads «Группа…». New strings in every complete catalog.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NyBcWJNZ3eRotC5HNZuwge
2026-10-12 15:02:47 +00:00
..