Re: [mediacapture-screen-share] Define CaptureController.setFocusBehavior() (#240)

> The PR language is still tied to a particular selection picker model, which is not the only model available. It seems useful to make this PR work for all know models, including when capture surface focus might be done as part of the surface selection. The API would be a no-op as currently written in that case:
> 
> * Initial focus would be lost as per the current rule.
> * If the web application states that it wants to retain focus, the UA should make an explicit action to refocus the web application, which is not specified by the finalise focus decision algorithm (step 5 would abort and step 6 is only about focusing the captured surface).

@youennf, I have intentionally shaped the PR to be no-op for your case. Namely, at no point does it say that the user agent should avoid switching focus, leaving itself the flexibility to do so for reasons other than the app's request. If that's not enough for you, could you please suggest a concrete change that'd improve the shape in the way you seek?

-- 
GitHub Notification of comment by eladalon1983
Please view or discuss this issue at https://github.com/w3c/mediacapture-screen-share/pull/240#issuecomment-1277194705 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 13 October 2022 08:00:38 UTC