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 622049 - Copy-Paste doesn't work if the source is closed before the paste
Copy-Paste doesn't work if the source is closed before the paste
Status: RESOLVED NOTGNOME
Product: tomboy
Classification: Applications
Component: General
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Tomboy Maintainers
Tomboy Maintainers
gnome[moved-to-github]
Depends on:
Blocks:
 
 
Reported: 2010-06-19 03:01 UTC by Sarah Strong
Modified: 2017-07-31 12:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch to close 622049 in Tomboy: save clipboard on quit (801 bytes, patch)
2010-06-19 05:24 UTC, Sarah Strong
none Details | Review

Description Sarah Strong 2010-06-19 03:01:38 UTC
When you quit Tomboy, you lose any data that was on the clipboard. You can find more information about this bug and how to fix it at http://wiki.ubuntu.com/ClipboardPersistence.

Reproducible: Always

Steps to Reproduce:

1. Copy text from a Tomboy note.
2. Paste it to another window, this works as expected.
3. Quit Tomboy entirely, including panel applet.
4. Try to paste, there is now nothing in the clipboard.
Comment 1 Sandy Armstrong 2010-06-19 03:03:12 UTC
From the wiki:

Pure Gnome applications that use standard features like TextViews are automatically supported.

Applications that use GTK+ features can provide persistence by

setting set_can_store on clipboard contents whenever they gain ownership of the clipboard
saving clipboard contents on quit with gtk_clipboard_store
Comment 2 Sarah Strong 2010-06-19 05:24:52 UTC
Created attachment 164060 [details] [review]
Patch to close 622049 in Tomboy: save clipboard on quit
Comment 3 Sarah Strong 2010-06-19 05:25:31 UTC
Here's a patch that works for me as applied to the current Ubuntu Lucid release of Tomboy.
Comment 4 Sarah Strong 2010-06-19 15:23:18 UTC
To clarify: the patch I attached to comment 2 was tested on a build of Tomboy 1.2.1-0 for Ubuntu 10.04.
Comment 5 André Klapper 2017-07-31 12:41:15 UTC
The Tomboy team has moved from GNOME Bugzilla to GitHub for bug reports and feature requests: 
      https://github.com/tomboy-notes/tomboy/issues/
Closing this report as NOTGNOME as part of Bugzilla Housekeeping (bug 781054) to keep tasks in one place. Please feel free to transfer this task to GitHub if this task is still valid in a recent Tomboy version. 
We are sorry for the inconvenience.