New issue
Advanced search Search tips

Issue 616604 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Jun 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

[Media Router WebUI] Use per-sink route creation state instead of global dialog state

Project Member Reported by btolsch@chromium.org, Jun 1 2016

Issue description

Version: 53.0.2751.0

The MR dialog is currently built in a fundamentally modal way with respect to route creation: there can only be one sink, the launching sink, with a pending route creation.  This prohibits simultaneous requests to create, join, or replace routes.  This in turn requires extra logic to ensure this invariant.  In particular this impacts the search feature (pseudo sinks) and the route details view's replace route feature.

This bug will track the migration of the dialog towards sink-specific route creation state to allow concurrent route requests of various types.
 
Status: WontFix (was: Assigned)
Because Polymer observers cannot track arbitrary fields of an object, but they instead track a property "path" (object.subobject.property), the dialog can't cleanly add a property to each sink that indicates launch state and have Polymer observers track them.  Instead, maps similar to the current sinkMap_ and routeMap_ would have to be added to track multiple launching sinks, multiple sinks with pending routes, etc.  This adds complexity to many parts of the UI.  Since there are no clear use cases for this now, I'm marking this as WontFix and we can reopen this or use a new bug if this becomes more important for a concrete reason in the future.

Sign in to add a comment