OpenPencil allows resizing a layer inside an instance, which .fig cannot represent
Resizing a descendant of an instance is allowed in OpenPencil and recorded as a size instance override. Figma has no such edit, so the claim is inert there: reopening the exported .fig shows the layer at its component's size, while OpenPencil keeps the resized value. The document means different things in the two tools.
Evidence that Figma does not support the edit:
resize()through the Plugin API is a silent no-op on any instance descendant — in an imported file and in a component the API creates itself, with and without auto-layout.- The resize handles are unavailable in the Figma UI for a descendant inside an instance.
- Across
gold-preview.fig,material3.figandnuxtui.fig, nosizeclaim targets a descendant that is not an instance. Of the 100 that target a nested instance and differ from its record, 82 restate that instance's own size claim and the rest are hug heights produced by its text.
So a descendant size claim in the format is a restatement of a nested instance's own size, never a free resize.
Options, roughly in order of how much they change:
- Match Figma and stop offering the resize for a layer inside an instance.
- Keep the edit and surface it as a Figma-incompatible override, so exporting says what will not survive.
- Keep it silently, as today.
Whatever we choose, the writer should probably stop emitting the inert claim for non-instance targets, since nothing reads it but us. Context and measurements are in tests/fixtures/reader-reopen.md on the fig-instance-path-interpreter branch (#646).
Source: open-pencil/open-pencil