Bug 265088

Summary: [GTK4] Ensure that clipboard read operations work synchronously
Product: WebKit Reporter: Claudio Saavedra <csaavedra>
Component: WebKitGTKAssignee: Carlos Garcia Campos <cgarcia>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 210100    

Claudio Saavedra
Reported 2023-11-18 10:37:19 PST
Often clipboard operations are triggered as a result of a button press event, which is handled with synchronous messages between web and UI process. GTK4 clipboard reads are asynchronous, and this can easily cause deadlocks when the UI process is both waiting for the press event to be handled by the UI process before returning to the main loop and the GTK4 clipboard is waiting for the GAsyncReadyCallback to read from its stream at the same time.
Attachments
Claudio Saavedra
Comment 1 2023-11-18 10:45:23 PST
Carlos Garcia Campos
Comment 2 2024-07-04 07:11:35 PDT
EWS
Comment 3 2024-07-11 01:49:07 PDT
Committed 280852@main (5db7057e3b2f): <https://commits.webkit.org/280852@main> Reviewed commits have been landed. Closing PR #30490 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.