Bug 121446 - FORMCONTROLS: In copied form control the relative cell address for linked cell is not adjusted
Summary: FORMCONTROLS: In copied form control the relative cell address for linked cel...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.3.0 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2018-11-15 16:00 UTC by .
Modified: 2023-12-08 15:23 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test file for Bugs 121443 and 121446. (9.68 KB, application/Calc)
2018-11-20 11:22 UTC, .
Details
Test file for bugs 121443 and 121446 (how result should be) (10.48 KB, application/vnd.oasis.opendocument.spreadsheet)
2021-11-28 11:55 UTC, .
Details

Note You need to log in before you can comment on or make changes to this bug.
Description . 2018-11-15 16:00:16 UTC
Description:
When I copy a form control (check box) which is anchored to cell A1 and has linked cell set to A1 to cell A2 the linked cell is still set to A1 and is not adjusted to A2 which I would expect. I would expect the same behaviour as with formulas which are adjusted when they are copied and relative cell adresses are used. 

Steps to Reproduce:
1. Create a form control (check box) in a new spreadsheet
2. Adjust height to fit in a row
3. Move check box to cell A1
4. Set anchor to cell for the check box
5. Set linked cell for check box to cell A1
6. Copy check box to cell A2

Actual Results:
Linked cell in check box in cell A2 is still set to A1

Expected Results:
Linked cell in check box in cell A2 is adjusted to A2


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with LibreOffice 5.4.7, 6.0.7, 6.1.3, 6.2.0.0alpha1
Comment 1 Joel Madero 2018-11-20 09:22:05 UTC
Please attach a sample document that gets us through step 4 as that seems pretty simple to do. Our team is way too small to create sample documents for features that we're way less familiar with than you are.

Set to UNCONFIRMED once attachment is made. Thanks!

If you wish to help more please test against version 3.3 ("inherited from OOo) to find out if this is a regression: https://downloadarchive.documentfoundation.org/libreoffice/old/
Comment 2 . 2018-11-20 11:22:11 UTC
Created attachment 146820 [details]
Test file for Bugs 121443 and 121446.
Comment 3 . 2018-11-20 11:26:59 UTC
Attached Test file. Included reference values in form control to show usage.
Comment 4 . 2018-11-20 12:36:47 UTC
Tested with LibreOffice 3.3. Here the bug is also present.
Comment 5 Oliver Brinzing 2018-12-08 16:19:32 UTC
i can confirm the described behaviour with lo 6.1.4.1.
Comment 6 Oliver Brinzing 2018-12-08 16:22:43 UTC
also noticed the following behaviour:

after coping the sheet from attached example, the copied form control
references to "Tabelle1.A1".

but a form control linked to a *relative* cell address, should write it's 
reference value to the sheet where the control is placed.
Comment 7 . 2019-11-21 17:08:40 UTC
Tested with LibreOffice 6.2.8 - problem is still present.
Comment 8 QA Administrators 2021-11-21 03:58:25 UTC Comment hidden (obsolete)
Comment 9 . 2021-11-21 11:11:50 UTC
Tested with LibreOffice 7.1.7 - problem is still present.

And it got worse: If I right click on A2 after step 6 calc crashed and does not work properly any more so that I have to close it via Task Manager.
Comment 10 . 2021-11-26 12:00:14 UTC
Tested with LibreOffice 7.2.3 - problem is still present.

But the additional crash in version 7.1.7 is gone.
Comment 11 . 2021-11-28 11:55:19 UTC
Created attachment 176546 [details]
Test file for bugs 121443 and 121446 (how result should be)
Comment 12 . 2021-11-28 11:57:13 UTC
Tested with OpenOffice 4.1.11. Here the problem is also present.
Comment 13 . 2023-08-20 10:37:42 UTC
Tested with LibreOffice 7.5.5. The bug is still there.