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 510205 - Clipboard is erased after closing Gnucash
Clipboard is erased after closing Gnucash
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: General
2.2.9
Other All
: Normal normal
: ---
Assigned To: Andreas Köhler
Andreas Köhler
Depends on:
Blocks:
 
 
Reported: 2008-01-17 15:50 UTC by Oxmosys
Modified: 2018-06-29 21:59 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Oxmosys 2008-01-17 15:50:30 UTC
Please describe the problem:
when using clipboard to copy some text from Gnucash under Linux, the text stored
in the clipboard will be erased if I close Gnucash. 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

Steps to reproduce:
1. Open Gnucash
2. Copy some text from Gnucash ( description of a transaction, for example )
3. Paste that text in a word editor, it works
4. Close Gnucash, and then paste that text again 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
gnucash : 2.2.1-1ubuntu6
Comment 1 Lukáš Vacek 2008-11-08 17:08:44 UTC
Firefox 3 suffers the same bug.

Other information:
Linux Ubuntu Intrepid 8.10
Comment 2 komputes 2009-06-04 00:44:00 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 3 Pietro Battiston 2010-03-04 15:33:39 UTC
Confirmed for gnucash 2.2.9 (and gimp 2.6, but I'll file a separate bug).

(while Firefox is fixed - but again, it has nothing to do here)

I put "priority" and "importance" back to normal since on one hand this may be a rare problem, but on the other it can cause some (presumably minor) dataloss if a user is trusting on Ctrl+C to keep something he deleted in the meanwhile.
Comment 4 John Ralls 2012-01-30 02:00:10 UTC
Fixed in r21918 in trunk, r21889 in 2.4 (to be released in 2.4.10).
Comment 5 John Ralls 2018-06-29 21:59:41 UTC
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=510205. Please update any external references or bookmarks.