Undo keeps the selection after Image Size
Undo and Redo of Image Size keep your selection. Invert mask reads as one History line.
- Photo editing
- 0:30
- November 2026
- Episode 488
Related clips
- A selection becomes the smart filter's maskSmart filter under a selection: 0 px change outside it. Mask off, delete, PSD round trip.
- Canvas Size undo and redo keep each side's selectionUndo and Redo of Canvas Size bring back the selection from each side, even a cut one.
- Cloud documents now take stroke_selection with target mask and set_grid_settings, live on prod (build 0cd0ec0c, train #2059; API run over /api/mcp on a throwaway cloud document). On a 240 x 160 solid raster with a Reveal All mask, stroke_selection (width 6, centred, black, target mask) over a 120 x 80 rect took (60,80) from 40,110,200,255 to 0,0,0,0: 2,380 pixels hidden, the other 36,000 pixels outside the band and inside the rect unchanged. After clear_mask the export was byte-identical to the source. set_grid_settings (32 px, 2 subdivisions, dashed) ran as a ready job at rev_7 and read back from the document graph, not refused. The before (422 not_yet_supported on both) is quoted from the PRs, not re-run (PR #2038, issue #2026; PR #2031, issue #1974)Cloud docs now stroke a selection onto a layer mask and save Grid Settings.
- Cloud documents now take mask painting and Edit > Stroke: on prod, through the API, a 200 x 200 solid red PNG became a cloud document (rev_3). A reveal-all mask (set_mask_from_selection) moved it to rev_4. After selecting an 80 x 80 square, apply_edit fill with target mask in black was accepted (rev_5): the fetched render had 6,400 transparent pixels and 33,600 red. apply_edit stroke_selection, width 8, outside, blue, was accepted (rev_6): the render had 2,724 blue ring pixels, rgb(0, 51, 255), from x 52 to 59 on the middle row, and the 6,400 pixel hole stayed transparent. Before, the sequencer refused both with 422 not_yet_supported: "Painting a layer mask can't be done in a cloud document yet." (PR #1945) and "Edit > Stroke can't be used in a cloud document yet." (PR #1946). Only fill on a mask and stroke_selection were run on prod; mask paint_stroke and fill_gradient are covered by the PRs' tests. The named fill tool does not advertise target; the run used apply_editCloud documents can paint masks and stroke selections.