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 705950 - wanted to paste a chart to "G21" but pasted on "H22"
wanted to paste a chart to "G21" but pasted on "H22"
Status: RESOLVED OBSOLETE
Product: Gnumeric
Classification: Applications
Component: GUI
1.10.x
Other Linux
: Normal minor
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2013-08-14 01:10 UTC by ryoji.kodakari
Modified: 2018-05-22 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screenshot (15.98 KB, image/jpeg)
2013-08-14 01:10 UTC, ryoji.kodakari
Details
additional screenshot (14.67 KB, image/jpeg)
2013-08-14 17:45 UTC, ryoji.kodakari
Details
gnumeric file being discussed (3.48 KB, application/x-gnumeric)
2013-08-14 17:47 UTC, ryoji.kodakari
Details

Description ryoji.kodakari 2013-08-14 01:10:55 UTC
Created attachment 251556 [details]
screenshot

https://tsrtesttest.appspot.com/wiki/Gnumeric%20position%20shifts%20at%20copy-pasting%20a%20chart

wanted to duplicate a chart. I select cell-G21 and paste the chart but chart created at H22. it's kind of inconvenience.
Comment 1 Jean Bréfort 2013-08-14 17:04:09 UTC
I seem unable to reproduce.
Comment 2 ryoji.kodakari 2013-08-14 17:45:45 UTC
Created attachment 251635 [details]
additional screenshot
Comment 3 ryoji.kodakari 2013-08-14 17:47:07 UTC
Created attachment 251636 [details]
gnumeric file being discussed
Comment 4 ryoji.kodakari 2013-08-14 17:54:32 UTC
screen cast
https://docs.google.com/file/d/0Bxx8FrCtx3TOMnBtU3BQTkdlVTQ/edit

I should mentioned that this phenomenon happens only when the chart is being snapped to grid.
Comment 5 Jean Bréfort 2013-08-14 17:57:08 UTC
OK, seen it now, but it does not occur if the initial chart is in A1 (that's why I did not see it earlier).
Comment 6 Andreas J. Guelzow 2013-08-14 18:07:58 UTC
Using the top left chart, I see in the file:
<gnm:SheetObjectGraph ObjectBound="E6:H12" ObjectOffset="1 1 1 1" Direction="17" Print="1">

So that chart is anchored to E6 and it is placed relative to the cell at ObjectOffset="1 1 1 1", ie. E6's bottom left corner.
So when you copy and paste it it is placed at the bottom left corner of the cell you have selected.

At the moment I am unable to create a file like that from within Gnuemric. When I move a chart to the bottom right corner of a cell the anchor switches to the cell tot eh bottom right.

So copy/paste behaves as expected. the problem is that the anchor of your chart is located in an unexpected location.
Comment 7 Jean Bréfort 2013-08-14 18:11:53 UTC
I could easily create a file showing the issue.
Comment 8 Andreas J. Guelzow 2013-08-14 21:55:45 UTC
Jean, it seems to me that upon snapping to the grid we fail to recalculate the anchor, since I don't think that we should have an ObjectOffset="1 1 1 1".
Comment 9 Andreas J. Guelzow 2013-08-19 19:04:50 UTC
Note that in the sample file of comment #3, deleting column F also deletes the top right chart. We definitely should not have the chart that far removed from its anchor.

Jean, would you please describe how you can create a file showing the issue?
Comment 10 GNOME Infrastructure Team 2018-05-22 14:02:33 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnumeric/issues/230.