lib/rendering/components/canvas_objects.dart:229 does if (decoded == null) continue;. lib/rendering/export/pdf.dart:158 awaits ensureDecoded for each reference image first; png.dart and svg.dart do not (SVG only preloads glyphs).
Scenario: an image that is not in the decode cache at export time, for example right after load or import. SVG omits it. PNG paints per tile with awaits in between, so the decode can land mid-export and the image would appear only from some tile onward, cut at a tile boundary. That is another candidate for #56.
Evidence:test/review_probes/render_export_undecoded_image_probe.dart (local, untracked): the first export-style paint draws nothing, a later one draws the image. The sliced PNG consequence is inferred.
Fix sketch: await ReferenceImageDecodeCache.ensureDecoded for every exported image in PNG and SVG as PDF does, and preload GlyphDecodeCache in png.dart too. Related: #55.
From the engineering review on 2026-10-13.
`lib/rendering/components/canvas_objects.dart:229` does `if (decoded == null) continue;`. `lib/rendering/export/pdf.dart:158` awaits `ensureDecoded` for each reference image first; `png.dart` and `svg.dart` do not (SVG only preloads glyphs).
**Scenario:** an image that is not in the decode cache at export time, for example right after load or import. SVG omits it. PNG paints per tile with awaits in between, so the decode can land mid-export and the image would appear only from some tile onward, cut at a tile boundary. That is another candidate for #56.
**Evidence:** `test/review_probes/render_export_undecoded_image_probe.dart` (local, untracked): the first export-style paint draws nothing, a later one draws the image. The sliced PNG consequence is inferred.
**Fix sketch:** await `ReferenceImageDecodeCache.ensureDecoded` for every exported image in PNG and SVG as PDF does, and preload `GlyphDecodeCache` in `png.dart` too. Related: #55.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
From the engineering review on 2026-10-13.
lib/rendering/components/canvas_objects.dart:229doesif (decoded == null) continue;.lib/rendering/export/pdf.dart:158awaitsensureDecodedfor each reference image first;png.dartandsvg.dartdo not (SVG only preloads glyphs).Scenario: an image that is not in the decode cache at export time, for example right after load or import. SVG omits it. PNG paints per tile with awaits in between, so the decode can land mid-export and the image would appear only from some tile onward, cut at a tile boundary. That is another candidate for #56.
Evidence:
test/review_probes/render_export_undecoded_image_probe.dart(local, untracked): the first export-style paint draws nothing, a later one draws the image. The sliced PNG consequence is inferred.Fix sketch: await
ReferenceImageDecodeCache.ensureDecodedfor every exported image in PNG and SVG as PDF does, and preloadGlyphDecodeCacheinpng.darttoo. Related: #55.