New issue
Advanced search Search tips

Issue 913422 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug

Blocking:
issue 875168



Sign in to add a comment

[ozone] Make Clipboard APIs to be asynchronous.

Project Member Reported by msi...@igalia.com, Dec 10

Issue description

Nowadays, base::Clipboard offers only synchronous APIs, which forces clipboard_aurax11 [1] and clipboard_ozone [2] to use nested run loops to communicate with asynchronous system clipboards.

This may cause blocks of the whole ui thread.

To resolve this, a big refactor is needed: fix base::Clipboard and fix all the clients, which use these APIs. 

[1] https://cs.chromium.org/chromium/src/ui/base/clipboard/clipboard_aurax11.cc?dr&g=0&l=414
[2] https://chromium-review.googlesource.com/c/chromium/src/+/1361872/12/ui/base/clipboard/clipboard_ozone.cc#115
 
Description: Show this description
Description: Show this description
Blocking: 875168

Sign in to add a comment