After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 619562 - use the freedesktop / gtk 2.12 clipboard
use the freedesktop / gtk 2.12 clipboard
Status: RESOLVED NOTGNOME
Product: empathy
Classification: Core
Component: General
2.30.x
Other Linux
: Normal normal
: ---
Assigned To: empathy-maint
empathy-maint
Depends on:
Blocks:
 
 
Reported: 2010-05-24 23:03 UTC by Jean-François Fortin Tam
Modified: 2011-08-29 10:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (2.42 KB, patch)
2010-06-20 13:42 UTC, Laurent Bigonville
rejected Details | Review

Description Jean-François Fortin Tam 2010-05-24 23:03:49 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
Comment 1 Guillaume Desmottes 2010-05-25 10:02:59 UTC
Indeed we should fix that.
Comment 3 Laurent Bigonville 2010-06-20 13:57:16 UTC
Caveat, I'm not able to build empathy ATM, so this is not tested.
Comment 4 Laurent Bigonville 2010-06-20 14:11:00 UTC
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
Comment 5 Guillaume Desmottes 2010-06-21 10:59:45 UTC
I just tried copying text from the backlog and that worked fine. Which case doesn't work?
Comment 6 Jean-François Fortin Tam 2010-06-21 22:28:14 UTC
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.
Comment 7 Sarah Strong 2010-06-25 21:30:53 UTC
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.
Comment 8 Laurent Bigonville 2010-06-26 08:34:25 UTC
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/
Comment 9 Sarah Strong 2010-06-28 01:42:42 UTC
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.
Comment 10 Sarah Strong 2010-07-07 09:45:44 UTC
Switching the empathy theme to "classic" fixes this problem so it's probably a problem with the webkit engine used to display the backlog.
Comment 11 Sarah Strong 2010-07-13 01:47:35 UTC
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
Comment 12 Guillaume Desmottes 2010-07-13 07:01:22 UTC
Great, thanks a lot. Closing this bug then.