<?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>135210</bug_id>
          
          <creation_ts>2014-07-23 14:25:44 -0700</creation_ts>
          <short_desc>[GTK] clipboard data lost on exit (redux)</short_desc>
          <delta_ts>2018-01-02 12:48:10 -0800</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>420+</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>180122</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jim Nelson">jim</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>adam</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>igaldino</cc>
    
    <cc>mcatanzaro</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1024329</commentid>
    <comment_count>0</comment_count>
    <who name="Jim Nelson">jim</who>
    <bug_when>2014-07-23 14:25:44 -0700</bug_when>
    <thetext>After closing Epiphany (being sure that the process has exited), any clipboard data I copied from Epiphany is lost.  I found an older bug about this that is marked as fixed (bug #27411), so I assume this is a regression.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1385151</commentid>
    <comment_count>1</comment_count>
    <who name="Isaque Galdino">igaldino</who>
    <bug_when>2018-01-02 09:48:36 -0800</bug_when>
    <thetext>Ok, this might not be the same related issue, but anyway.

Wayland clipboard support [0] doesn&apos;t allow clipboard content to be used after application quits.

For X11, that issue was really fixed on [1], but removed in [0].

Bijiben uses webkit_web_view_execute_editing_command function to deal with clipboard, but it only keeps content after application quits on X11, not Wayland [2].

[0] https://bugs.webkit.org/show_bug.cgi?id=146574
[1] https://bugs.webkit.org/show_bug.cgi?id=27411
[2] https://bugzilla.gnome.org/show_bug.cgi?id=775312</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1385201</commentid>
    <comment_count>2</comment_count>
    <who name="Michael Catanzaro">mcatanzaro</who>
    <bug_when>2018-01-02 12:48:10 -0800</bug_when>
    <thetext>I think it was broken again in X11 around the time Jim reported this bug. Anyway, yes, nowadays this is a mutter issue; to fix it, someone needs to add a clipboard manager protocol to either Wayland or xdg-shell, and implement it in mutter and GTK+. Nothing more to do here in WebKit.

*** This bug has been marked as a duplicate of bug 180122 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>