GNOME Bugzilla – Bug 619562
use the freedesktop / gtk 2.12 clipboard
Last modified: 2011-08-29 10:12:37 UTC
http://www.freedesktop.org/wiki/ClipboardManager https://bugs.launchpad.net/ubuntu/+bug/11334 To reproduce: 1- select and copy some text from empathy 2- quit empathy 3- try to paste
Indeed we should fix that.
Created attachment 164142 [details] [review] patch http://git.bigon.be/?p=user/bigon/empathy.git;a=commitdiff;h=682d5517961f38bca787fb60d10852708d8a552f
Caveat, I'm not able to build empathy ATM, so this is not tested.
Well actually after looking at gtk code is seems that gtk_clipboard_set_text() is already calling gtk_clipboard_set_can_store(). Same thing for the GtkTextBuffer funtions. So I would be tempted to say that this is INVALID
I just tried copying text from the backlog and that worked fine. Which case doesn't work?
I tested again, it doesn't work when copying from either the conversation archives or an active conversation. Note that to reproduce this bug, you *must* exit empathy before trying to paste.
Tested on: empathy 2.30.1-0ubuntu on Ubuntu 10.04 Lucid empathy 2.31.3-1ubuntu on Ubuntu 10.10 Maverick empathy 2.30.0.1-0ubuntu3 on Ubuntu 10.10 Maverick Copies persist for text copied from the input window on a chat, but are lost on copy from the incoming chat section. To reproduce: 1. Open a chat window, for instance for a google talk account. Copy sent/received messages from the upper section - the chat box, not from the input box. Use right click or ctrl-C to copy to the clipboard buffer. 2. Paste to another application. This works as expected. 3. Quit empathy with ctrl-Q or from the Chat menu. You can make sure it has completely quit by using `ps -e | grep empathy` if you like. 3. Attempt to paste the text to another program. There is now nothing to paste in your copy buffer.
I've just retested (with 2.31.3-1~ppa10.04+1 from telepathy ppa[0]) and I've no problem at all Could you try to install the packages from this ppa and let us know? [0] https://edge.launchpad.net/~telepathy/+archive/ppa/
I just tested empathy 2.31.3-1+ppa10.1 in a fresh installation of Ubuntu Desktop (maverick-amd64) installed through testdrive and was able to reproduce the problem. Note that you won't be able to reproduce it if you're running KDE (because it has Klipper installed) or any of Glipper, Parcellite, or Clipman.
Switching the empathy theme to "classic" fixes this problem so it's probably a problem with the webkit engine used to display the backlog.
I submitted a patch to webkit that fixes the issue in empathy 2.31.4.20100703 for me using the Ubuntu theme: https://bugs.webkit.org/show_bug.cgi?id=27411
Great, thanks a lot. Closing this bug then.