Bug 137317 - Cell anchored shape is copied not moved, if its anchor cell is moved.
Summary: Cell anchored shape is copied not moved, if its anchor cell is moved.
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.1.0.0.alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 134543 (view as bug list)
Depends on:
Blocks: Shapes
  Show dependency treegraph
 
Reported: 2020-10-07 16:49 UTC by Regina Henschel
Modified: 2023-04-24 05:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
File for reproducing the bug (10.83 KB, application/vnd.oasis.opendocument.spreadsheet)
2020-10-07 16:49 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Regina Henschel 2020-10-07 16:49:29 UTC
Created attachment 166167 [details]
File for reproducing the bug

Open attached file. It contains a shape, which is anchored to cell B4.
Mark the cell range B4 to C6 and drag it to position G4 for example.
The shape will be as expected with its anchor at cell G4. But the shape is not moved but copied. There is still a shape at the original place.

Expected behavior: If the anchor cell is moved, then the shape moves too.
Comment 1 m_a_riosv 2020-10-07 17:01:29 UTC
Confirmed.
But it happens if the select area to drag doesn't cover the whole cells where the shape it's visible.

Moving C3:D8 works fine for me.

BTW the shape doesn't appear on the navigator.

Version: 7.1.0.0.alpha0+ (x64)
Build ID: a883002d8e2fd77f80c43b7b2e6ac329d83d929d
CPU threads: 4; OS: Windows 10.0 Build 20180; UI render: Skia/Vulkan; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: threaded
Comment 2 Regina Henschel 2020-10-07 17:21:43 UTC
(In reply to m.a.riosv from comment #1)
> Confirmed.
> But it happens if the select area to drag doesn't cover the whole cells
> where the shape it's visible.
> 
> Moving C3:D8 works fine for me.

We can discuss, whether the shape should only move, if the entire shape is inside the marked cell range.

> 
> BTW the shape doesn't appear on the navigator.

Only named shapes appear on the navigator in Calc, and Calc does not automatically name shapes.
Comment 3 m_a_riosv 2020-10-08 07:50:20 UTC
(In reply to Regina Henschel from comment #2)
> ....
> 
> We can discuss, whether the shape should only move, if the entire shape is
> inside the marked cell range.
> 
I think if anchored to cell it should be always moved with the cell.
> > 
> > BTW the shape doesn't appear on the navigator.
> 
> Only named shapes appear on the navigator in Calc, and Calc does not
> automatically name shapes.
There is a very old bug report tdf#34828
Comment 4 Regina Henschel 2021-01-27 13:02:56 UTC
*** Bug 134543 has been marked as a duplicate of this bug. ***
Comment 5 QA Administrators 2023-01-28 03:25:22 UTC Comment hidden (obsolete)
Comment 6 Regina Henschel 2023-01-28 12:10:19 UTC
The shape is still copied and not moved in Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f1830bff71847a9c17715cff52383956719847fe
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL threaded