mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 09:42:01 +00:00
Moving a shape of a copy group that a layout places changes the group's bounds, and the layout moves the group back: the moved shape ends where it was and its siblings move the other way. Nothing was marked, so the next sync put the siblings back and the user's move was lost. When a transform moves some copy shapes of the outermost group or bool a layout places and leaves others, every copy shape in that group now authors its geometry. A transform of the whole group or of its board marks nothing more. The harness model authors the same shapes, and transforms of copy shapes in groups inside layouts are generated again. Benchmark (lower quantile, ms): | world | baseline | now | mean | ratio | |------------------------------------+----------+---------+---------+-------| | deepest-edit-through-three-levels | 35.215 | 23.506 | 23.987 | 0.67 | | edit-through-a-chain-of-dependents | 68.931 | 40.749 | 42.565 | 0.59 | | library-update-into-copies | 83.083 | 49.609 | 50.752 | 0.60 | | main-edit-among-many-shapes | 4.837 | 2.344 | 2.551 | 0.48 | | main-edit-into-10-copies | 1.79 | 1.103 | 1.179 | 0.62 | | main-edit-into-100-copies | 15.415 | 10.109 | 10.492 | 0.66 | | main-edit-into-1000-copies | 153.086 | 103.527 | 107.994 | 0.68 | | variant-switch-into-copies | 32.052 | 21.691 | 22.453 | 0.68 | AI-assisted-by: claude-opus-5-5