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 114099 - 18.25 -Sheet objects are not copied
18.25 -Sheet objects are not copied
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
1.3.x
Other other
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2003-05-31 03:36 UTC by Chema Celorio
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Chema Celorio 2003-05-31 03:36:01 UTC
1. Add a cell comento to B3
2. Copy B3 to D5

The comment is not copied with the cell
Comment 1 Jody Goldberg 2003-06-01 01:18:23 UTC
This is known, nor are any sheetobjects.  We need to address this
eventually.
Comment 2 Andreas J. Guelzow 2003-06-11 23:47:10 UTC
I am pretty sure this is by design:

copy, paste copies the cell content

copy, paste special/all copies the content and the comment
 
Comment 3 Jody Goldberg 2003-06-12 01:30:39 UTC
Actually it is a bug
The core data structures of the clipboard code where written long long
ago and just don't support objects.  We'll need to fix this one day
when the object framework is stonger.
Comment 4 Andreas J. Guelzow 2003-06-12 03:36:04 UTC
copy/ paste-special-all does copy the comment. I am not sure where the
bug is (with respect to comments)?!

We specifically only copy less in the case of copy-paste.
Comment 5 Andreas J. Guelzow 2003-06-12 03:44:01 UTC
If you look at the code you see that paste specifies:
(PASTE_CONTENT | PASTE_FORMATS) while
paste-special-all specifies (PASTE_CONTENT | PASTE_FORMATS |
PASTE_COMMENTS).
Comment 6 Jody Goldberg 2003-06-12 12:30:08 UTC
I'd forgotten that we'd special cased comments.
Its a small bug that paste is different from paste-special-all, we
should copy comments for normal paste too.

However, the real bug is that we don't handle sheet objects in general.
Comment 7 Chema Celorio 2003-06-12 13:22:15 UTC
I don't know if handling sheet objects in general is desirable, if
there is a shape attached to a cell and I copy and paste de cell i
would feel confused if the shape was copied too.
Comment 8 Jody Goldberg 2003-06-12 13:27:09 UTC
A single cell.  Probably won't have an object, but a region would.
Comment 9 Andreas J. Guelzow 2003-06-12 14:52:53 UTC
Okay. PASTE_DEFAULT has been changed to include comments so copy/paste
will copy comments too. I have also changed the subject to reflect the
general issue of sheet objects. 
Comment 10 Jody Goldberg 2004-09-27 03:15:47 UTC
This has been added