Skip to content

Colour-space views and stream decode caches miss removals behind indirect references #305

Closed

Description

@michaelstonis

Parent

#231 → #33 Spec: Broadside v1

What is wrong

Low priority, found by #303/#304. (1) ColorSpaceCache._spaces keeps a colour-space view whose family was chosen through a reference (e.g. [/ICCBased 6 0 R]) after that object is removed; stamping it naively would rebuild every view after each AddObject and defeat the converter cache and per-render reference checks. (2) Stream decode caches miss a removal when Filter or DecodeParms is an indirect reference.

Spec clauses

ADR 0004 (live views)

Notes

Deliberately deferred to hardening (owner: don't get stuck on non-critical issues).

Acceptance criteria

  • A design for (1) that keeps view identity stable for unaffected spaces while rebuilding ones whose resolved references changed.
  • (2) handled by stamping decode-cache entries only when Filter/DecodeParms are indirect.
  • Tests per case; rendering allocation tests stay green.

Blocked by

Deliverables (every ticket)

  • A failing test first that reproduces the defect, through the public seam
  • XML docs citing clauses on public types touched
  • Conformance map rows updated in the same PR
  • PublicAPI.Unshipped.txt updated if the public surface changes

Metadata

Metadata

Assignees

Labels

area:cosArea: cosbugSomething isn't workingin-progressClaimed and being worked onphase:7Phase 7ready-for-agentTriaged: an agent can pick this up without further clarificationtrack:7B-hardeningTrack 7B deferred hardening

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions