Bug 138088 - EDITING shape don't keep adapted to the size of merged cells
Summary: EDITING shape don't keep adapted to the size of merged cells
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
7.0.3.1 release
Hardware: All Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-09 12:26 UTC by bastien
Modified: 2020-11-30 12:45 UTC (History)
3 users (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 bastien 2020-11-09 12:26:31 UTC
Description:
When I create a shape in background of a cell, I can ask in the contextual menu "adapt to the size of the cell".For the anchor, I can choose "to the cell, resize with the cell"
And it work fine

When i do it with 3 merged cells, it first change the size of the shape. Then when i changed the size of the first or second cell, the shape is resized correctly, but not with the third one.

When i change the size of the third column, the shape don't change.

The shape I use is a rectangle with rounded edges.

Steps to Reproduce:
1.create a rectangle shape in calc
2.choose anchor to the cell resize with cell
3.select the cell to which the shape is anchored (I will called cell "A1" )
4.merge the 3 cell "A1" "B1" "C1"
5.with the draw tool arrow select the shape
6.choose "adapt to the size of the cell
7. change the size of the column A
8. change the size of the column B
9. change the size of the column C



Actual Results:
the last change of size for column C don't change the size of the shape

Expected Results:
The size change of the shape change with


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 7.0.1.2 (x64)
Build ID: 7cbcfc562f6eb6708b5ff7d7397325de9e764452
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); Langue IHM : fr-FR
Calc: CL
Comment 1 bastien 2020-11-09 22:22:54 UTC
also happen on this version :

Version: 7.0.3.1 (x64)
Build ID: d7547858d014d4cf69878db179d326fc3483e082
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: fr-FR (fr_FR); Langue IHM : fr-FR
Calc: threaded
Comment 2 Regina Henschel 2020-11-10 13:55:42 UTC
A shape anchored "To cell (resize with cell)" has in its "anchor" a start address and an end address. If you insert the shape in A1, start and end address is A1. If you merge A1,A2 and A3, this does not change the anchor in the shape. So the shape still only reacts on width changes of cell A1.

You should first enter the shape from A1 to A3 and anchor it "To cell (resize with cell)". Now the shape has a start address A1 and an end address A3. Then you can merge the cells, and the shape will follow width changes in e.g. A2 too.
Comment 3 Regina Henschel 2020-11-10 13:59:42 UTC
In addition: If you make the end cell smaller, then it is the intended behavior, that first the distance to the cell border is reduced. Only if that distance is zero, the shape itself will become smaller.
Comment 4 Xisco Faulí 2020-11-30 12:45:11 UTC
Closing as RESOLVED NOTABUG based on comment 2 and comment 3