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 510230 - Clipboard is erased after closing GIMP
Clipboard is erased after closing GIMP
Status: RESOLVED DUPLICATE of bug 510204
Product: gtk+
Classification: Platform
Component: .General
2.10.x
Other All
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2008-01-17 17:27 UTC by Oxmosys
Modified: 2010-08-11 04:12 UTC
See Also:
GNOME target: ---
GNOME version: 2.21/2.22



Description Oxmosys 2008-01-17 17:27:47 UTC
Please describe the problem:
According to Sven Neumann comment in bug #510204, I file this bug against gtk+

when using clipboard to copy some text from GIMP under Linux, the text stored
in the clipboard will be erased if I close GIMP. A lot of programs does have
that bug right now and this is due to a recent change in the Freedesktop
Clipboard Manager specification which you can find here :

http://www.freedesktop.org/wiki/ClipboardManager

Programs such as Pidgin and gedit already comply with this specification and don't have this bug.

Steps to reproduce:
1. Open GIMP and a new template
2. Type some text and copy that text in the clipboard
3. Try to paste that text in a word editor, it works
4. Close GIMP and try to paste again the same text in a word editor

Actual results:
nothing is pasted

Expected results:
The clipboard should still contain the copied text and paste should be
successful.

Does this happen every time?
Yes

Other information:
Linux Ubuntu Hardy 8.04 Alpha 3
GIMP : 2.4.2-1ubuntu2

Thanks for your work!
Comment 1 komputes 2009-06-04 00:43:58 UTC
I can confirm that clipboard is erased after closing programs (GnuCash,Firefox, Gimp) of this behavior on the following programs. Can the bugsquad please test, confirm and mark this as a high priority bug as it is affecting multiple programs and many users. 
 
GnuCash:
http://bugzilla.gnome.org/show_bug.cgi?id=510205

Mozilla Firefox:
https://bugzilla.mozilla.org/show_bug.cgi?id=311340

The Gimp:
http://bugzilla.gnome.org/show_bug.cgi?id=510230

Ubuntu bug:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/21202

Spec:
http://standards.freedesktop.org/clipboards-spec/clipboards-0.1.txt

May also be related:
http://bugzilla.gnome.org/show_bug.cgi?id=564165
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/27430
Comment 2 Sarah Strong 2010-06-18 19:17:06 UTC
The spec posted above (clipboard-0.1.txt) is obsolete, but the other links are great. The specification that Gnome settings daemon's clipboard manager implements is the freedesktop.org ClipboardManager specification. GTK+ actually has functions set up to fix just this problem, but they're quite difficult to use and require explicit action on the part of the developer.

You can get more information about the bug at http://wiki.ubuntu.com/ClipboardPersistence
Comment 3 Matthias Clasen 2010-08-11 04:12:22 UTC

*** This bug has been marked as a duplicate of bug 510204 ***