<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>265088</bug_id>
          
          <creation_ts>2023-11-18 10:37:19 -0800</creation_ts>
          <short_desc>[GTK4] Ensure that clipboard read operations work synchronously</short_desc>
          <delta_ts>2024-07-11 01:49:10 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>210100</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Claudio Saavedra">csaavedra</reporter>
          <assigned_to name="Carlos Garcia Campos">cgarcia</assigned_to>
          <cc>bugs-noreply</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1993693</commentid>
    <comment_count>0</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2023-11-18 10:37:19 -0800</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1993694</commentid>
    <comment_count>1</comment_count>
    <who name="Claudio Saavedra">csaavedra</who>
    <bug_when>2023-11-18 10:45:23 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/20709</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2044677</commentid>
    <comment_count>2</comment_count>
    <who name="Carlos Garcia Campos">cgarcia</who>
    <bug_when>2024-07-04 07:11:35 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/30490</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2045712</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-07-11 01:49:07 -0700</bug_when>
    <thetext>Committed 280852@main (5db7057e3b2f): &lt;https://commits.webkit.org/280852@main&gt;

Reviewed commits have been landed. Closing PR #30490 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>