Studio: Install Elements into the sole connected tab without requiring focus
Author: samohovetsCreated Sep 28, 2026Updated Sep 28, 2026
Problem
Clicking Use on an Element can return no-installable-target even when exactly one connected, writable Remotion Studio tab is available. A Studio tab that has never been focused reports lastFocusedAt: null; target selection filters it out rather than sending the installation request.
ElementInstallRequestHandler is mounted at the Studio root, so selecting a composition is not required. Focus should disambiguate multiple targets, not be required when there is only one eligible tab.
Desired behavior
- If exactly one connected, writable Studio tab can receive the Element, use it even if it has no focus history.
- If multiple eligible tabs exist, continue to prefer the most recently focused one. Do not guess when multiple tabs have no focus history.
- Do not treat discovery of a Studio server alone as sufficient: it may have no connected tab or multiple tabs.
- Preserve the read-only and target-expiry safeguards.
Related: #11431 (fallback guidance when Studio installation fails).
Source: remotion-dev/remotion