Bug 98338 - EDITING cut/paste of relative reference to cell in other document changes referenced cell
Summary: EDITING cut/paste of relative reference to cell in other document changes ref...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.3.7.2 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-02 08:45 UTC by Tilman Vogel
Modified: 2017-03-07 14:42 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tilman Vogel 2016-03-02 08:45:54 UTC
How it should be: When I have a cell with "=A1" in it and I cut/paste it somewhere else, the content stays "=A1". 

However, when I have a cell with "='file://somewhere/sheet.ods'#SheetName.A1" in it and I cut/paste it somewhere else, the reference is changed by the cut/paste offset.

This problem does not occur when I have "='file://somewhere/sheet.ods'#SheetName.$A$1" and cut/paste it.

So, it seems cut/paste with cross-file references behaves like copy/paste (which it should not).
Comment 1 Joel Madero 2016-03-02 20:17:14 UTC
Bodhi Moksha
Version: 5.2.0.0.alpha0+
Build ID: aaca25d67eb5ea252730cdcf555ecc04ce04a5e6
CPU Threads: 2; OS Version: Linux 3.16; UI Render: default; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-02-24_23:58:47
Locale: en-US (en_US.UTF-8)

Verified.


Marking as:
New
Minor - won't prevent high quality work but can slow you down;
Low - default for minor issues.


It would be nice to find out if this is a regression - if you can help test older versions to find out if it ever worked that would be great. You can test 3.3 and if it didn't work there, then it never did ;)
Comment 2 Tilman Vogel 2016-03-03 11:07:08 UTC
Unfortunately, 3.3 crashes here on openSUSE 13.1 x86_64, so cannot tell...

I am not so sure about classification as "minor" because it easily causes breakage of sheet logic, because it breaks the basic user assumptions when using cut/paste on formulas. Also, these errors are hard to spot.
Comment 3 Joel Madero 2016-03-03 16:02:40 UTC
Severity has no impact on when the bug gets fixed so don't stress over that. This is a volunteer project, if a volunteer finds it interesting, they'll take it on (regardless of if it's critical or minor).

Minor is an objective definition: "can slow down but will not *prevent* high quality work. This obviously fits that
Comment 4 Tilman Vogel 2016-03-03 20:12:43 UTC
Ok, don't want to go too far OT but strictly speaking if I do what I always do to move a formula without changing its result and all over sudden, because of a very special detail of the formula, that workflow breaks, it quite profoundly prevents high quality work in my opinion.

Anyway, you know better how to classify issues in this project - just to clarify why I wondered.

And now, I hope this is interesting enough to get fixed!
Comment 5 Joel Madero 2016-03-03 20:18:02 UTC
(In reply to Tilman Vogel from comment #4)
> Ok, don't want to go too far OT but strictly speaking if I do what I always
> do to move a formula without changing its result and all over sudden,
> because of a very special detail of the formula, that workflow breaks, it
> quite profoundly prevents high quality work in my opinion.

Yeah breaking workflow isn't enough to make it "preventing high quality work" - so long as there is a way to get it done (i.e., there is a workaround/different workflow) then it's minor ("can slow down . . . not prevent...")  then it's minor :)


> Anyway, you know better how to classify issues in this project - just to
> clarify why I wondered.

:) Always happy to see users interested in how things are done!
> 
> And now, I hope this is interesting enough to get fixed!

Indeed, just don't hold your breath :) There are several thousand bug reports, just a few dozen really active developers....the job they do is truly incredible
Comment 6 QA Administrators 2017-03-06 15:19:28 UTC Comment hidden (obsolete)
Comment 7 Tilman Vogel 2017-03-07 14:40:55 UTC
Still present in LibreOffice Calc 5.2.2.2 on openSUSE 13.1 (RPMs from libreoffice.org).
Comment 8 Tilman Vogel 2017-03-07 14:42:18 UTC
Hooray! Fixed in 5.3.0.3 (Build ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1) on openSUSE 13.1 (RPMs from libreoffice.org). Thanks a lot!