With the Background among the selected layers, a press on a Move-tool
transform handle showed the locked-layer alert but was still forwarded
to the Move tool as Down (and, for a click, the tap and Up), so
Auto-Select could change the layer selection. begin_transform_controls_at
now returns ControlsPress (Missed / Started / Refused); the canvas press
and click paths and the ui.pointer path drop a Refused press. Tests drive
real canvas frames (click and drag) and ui.pointer, with an unselected
layer under the handle.
Co-Authored-By: NaufalDzz <NaufalDzz@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A box now records the Layers panel's selection when it opens and is applied when that
selection changes. Comparing the layers it moves with the selection's targets closed a box
over a linked layer at once (main's #11217 adds the link group to the box), and missed a
group's child leaving the selection (CodeRabbit).
- Move > Show Transform Controls frames the Background among several selected layers, and a
handle press shows "Could not transform because the layer is locked." and changes nothing,
as measured in #11101. The Background alone still gets no box.
- The new alert is translated in every catalog that has the Free Transform one.
- Stale comments and edit.transform's params doc no longer say the Background is left out.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Free Transform of several selected layers left the Background out
without a word, where Photoshop refuses with its locked-layer alert. And
with the box open, taking a layer out of the selection (or adding one)
without changing the active layer left the box open, still moving the
layers it started with.
- targets_of keeps the Background; edit.transform's selection default
refuses with `layer "Background" is locked`, and Ctrl+T / Edit ›
Transform show the same alert as a position-locked layer. An explicit
`layers` list and the Background alone keep today's behaviour.
- Move › Show Transform Controls shows no box for that selection either.
- Any change to the selected layers while a layer box is open applies
the box to the layers it moves, and doesn't open it again.
Fixes#11101