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 350222 - Unexpected change of range-reference upon cut-and-paste
Unexpected change of range-reference upon cut-and-paste
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: General
git master
Other All
: Normal normal
: ---
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2006-08-07 04:37 UTC by Reggie Chan
Modified: 2006-10-17 02:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reggie Chan 2006-08-07 04:37:38 UTC
Steps to reproduce:
1. A1 = '1'
2. A2 = '=sum($A$1:A1)'
3. cut A2 and paste B2

Expected result:
B2 = '=sum($A$1:A1)'

Actual result:
B2 = '=sum(A$1:$A1)'

If it is pasted at A2, B2 changes to '=sum($A1:A$1)' instead.

This bug exists in both 1.6.3 and 1.7.
Comment 1 Reggie Chan 2006-08-07 04:41:13 UTC
>>If it is pasted at A2, B2 changes to '=sum($A1:A$1)' instead.

Sorry for typo, this case is for pasting at A3.
Comment 2 Andreas J. Guelzow 2006-08-07 17:36:54 UTC
I can confirm this under Linux too.
Comment 3 Jody Goldberg 2006-10-17 02:28:37 UTC
ahh, I see.

The inversion check was being done relative to the source position rather than the destination.  Which produced a false positive when comparing relative to absolute ref.

Patch is in 1.7.2