What problem does it solve?
This document captures the lifecycle invariants, ownership rules, and adapter responsibilities required to correctly open, attach, resize, and close editor views for Pulp plugins so hosts and plugins avoid resource leaks, duplicated processors, and dangling pointers.
Core Features & Use Cases
- Two-step open/attach protocol: explains why adapters must call open() then notify_attached() to guarantee balanced on_view_opened/on_view_closed calls.
- Ownership and release semantics: details release_view() usage for handing a view to container widgets and the caller responsibilities to keep the view alive until bridge.close().
- Secondary and remote views: describes attaching inspectors, remote views, view roles, and the Phase 4 remote-view protocol plus associated tests and examples.
- Adapter author guidance: per-format attach points, common pitfalls, and test references for VST3, CLAP, AU v2, AU v3, and Standalone adapters.
Quick Start
Open the ViewBridge documentation and implement the open then notify_attached then resize then close protocol when overriding Processor::create_view or building a new adapter.