GNOME Bugzilla – Bug 114099
18.25 -Sheet objects are not copied
Last modified: 2004-12-22 21:47:04 UTC
1. Add a cell comento to B3 2. Copy B3 to D5 The comment is not copied with the cell
This is known, nor are any sheetobjects. We need to address this eventually.
I am pretty sure this is by design: copy, paste copies the cell content copy, paste special/all copies the content and the comment
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.
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.
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).
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.
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.
A single cell. Probably won't have an object, but a region would.
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.
This has been added