Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Intent to Prototype: Clipboard contentsID

134 views
Skip to first unread message

Luke Klimek

unread,
Jan 8, 2025, 12:57:53 PMJan 8
to blin...@chromium.org, Olga Korokhina, Jeffrey Yasskin

Contact emails

zgr...@google.com


Explainer

https://github.com/explainers-by-googlers/clipboard-contents-id


Specification

None


Summary

An API exposing a unique identifier of the current system clipboard contents. It is a supplement to the current Async Clipboard API and enables websites leveraging clipboard access to detect clipboard content changes much more efficiently.



Blink component

Blink>DataTransfer


Motivation

The only somewhat reliable way to monitor clipboard changes is polling it at regular intervals - which is usually not efficient, especially in case of big contents' size.


There already exists a proposal that aims to make this better - clipboardchange event - but the functionality there makes it difficult to differentiate changes done externally from those originating from the app itself, as is the common occurrence in the Virtual Desktop Infrastructure clients. Leveraging any one - and preferably both of those APIs - would make current heuristics for clipboard monitoring much better.


We'll be working with the Web Editing Working Group and the clipboardchange event proponents to ensure the full system is coherent.



Initial public proposal

https://github.com/w3c/clipboard-apis/issues/232


TAG review

None


TAG review status

Pending


Risks



Interoperability and Compatibility

None



Gecko: No signal


WebKit: No signal


Web developers: No signals


Other signals:


WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

None



Is this feature fully tested by web-platform-tests?

No


Flag name on about://flags

None


Finch feature name

None


Non-finch justification

None


Requires code in //chrome?

False


Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5124993439236096?gate=5118994141675520


This intent message was generated by Chrome Platform Status.

Stephen Chenney

unread,
Jan 8, 2025, 4:20:15 PMJan 8
to Luke Klimek, blin...@chromium.org, Olga Korokhina, Jeffrey Yasskin
On Wed, Jan 8, 2025 at 12:57 PM 'Luke Klimek' via blink-dev <blin...@chromium.org> wrote:

Contact emails

zgr...@google.com


Explainer

https://github.com/explainers-by-googlers/clipboard-contents-id


Specification

None


Summary

An API exposing a unique identifier of the current system clipboard contents. It is a supplement to the current Async Clipboard API and enables websites leveraging clipboard access to detect clipboard content changes much more efficiently.



Blink component

Blink>DataTransfer


Does any team own this component? A couple of years ago it was a black hole for bugs because it was not triaged. I'd be happy to learn that's no longer the case, otherwise I'm concerned about adding any additional functionality in this area without clear ownership.

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAG7s_oG8bwAa%2BRLx8MY_%2Bhcn1riUrMpzE%3DmZibRh%2BKNNtR7LWg%40mail.gmail.com.

Johnny Stenback

unread,
Jan 8, 2025, 6:52:43 PMJan 8
to Stephen Chenney, Luke Klimek, blin...@chromium.org, Olga Korokhina, Jeffrey Yasskin
Hey Stephen,

You're correct that the Blink>DataTransfer used to be one of the un-owned components, but it does have an official owner nowadays which may or may not do a lot of work in that component, but is at least responsible for triaging it.

Cheers,
Johnny

Etienne Noël

unread,
Jan 8, 2025, 9:24:23 PMJan 8
to Johnny Stenback, Fergal Daly, Stephen Chenney, Luke Klimek, blin...@chromium.org, Olga Korokhina, Jeffrey Yasskin
Hi,

My team used to own this component but we have now transitioned to Built-In AI work. @Fergal Daly 's team is taking over the responsibilities but we are not expecting to invest in this area during H1. There is a team at Microsoft that is currently working on the ClipboardChangeEvent project, it might be worth it to sync with them. I can connect you if you wish.

Thank you,

Etienne

Luke Klimek

unread,
Jan 9, 2025, 2:16:16 AMJan 9
to Etienne Noël, Johnny Stenback, Fergal Daly, Stephen Chenney, blin...@chromium.org, Olga Korokhina, Jeffrey Yasskin
Hi,

Thanks @Etienne Noël! I know about Microsoft's efforts and am in contact with them on Chromium Slack. I have already both helped a bit with clipboardchange design and queried them for their opinion on contentsID - with intent to collaborate further on making the system work together well.

Best regards,
Luke
Reply all
Reply to author
Forward
0 new messages