Bug 106336 - EDITING: Copying column to another one with different width doesn't reposition image correctly
Summary: EDITING: Copying column to another one with different width doesn't repositio...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste Calc-Images
  Show dependency treegraph
 
Reported: 2017-03-05 13:26 UTC by Thomas Lendo
Modified: 2019-09-02 11:01 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Test sheet for Bug 106336 (44.87 KB, application/vnd.oasis.opendocument.spreadsheet)
2017-03-05 13:31 UTC, Thomas Lendo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Lendo 2017-03-05 13:26:37 UTC
In a Calc sheet, if you have an image anchored to cell and if you are copying a column to another column with a smaller width in the left of the image column, then the image will not be repositioned correctly.

Steps to reproduce:
1. Create a calc sheet.
2. Change the width of column A, B and D to 5 cm.
3. Insert an image to column B and D and anchor it to the cells.
4. Copy the whole column A to column C (or column B to column C).

Actual result:
The image of column D will not be repositioned and doesn't fit to the anchored cell any more.

Expected result:
The image of column D will be repositioned so that the distance to its cell borders remain the same as before.

In general, inserting a column with different width as before should reposition all following images in the right so that the distance to their cell borders will remain the same as before.
Comment 1 Thomas Lendo 2017-03-05 13:31:03 UTC
Created attachment 131647 [details]
Test sheet for Bug 106336

Created and tested with LibO version: 5.3.0.3
Build ID: 1:5.3.0~rc3-0ubuntu1~trusty1.1
CPU Threads: 2; OS Version: Linux 3.13; UI Render: default; VCL: gtk2; Layout Engine: new; 
Locale: de-AT (de_DE.UTF-8); Calc: group
Comment 2 m.a.riosv 2017-03-05 13:36:38 UTC
Repro.
Version: 5.4.0.0.alpha0+
Build ID: 472f92421b1b15dc765714a7c657704812859868
CPU threads: 4; OS: Windows 6.19; UI render: GL; 
TinderBox: Win-x86@42, Branch:master, Time: 2017-03-02_00:18:28
Locale: es-ES (es_ES); Calc: group
Comment 3 QA Administrators 2018-08-28 02:42:39 UTC Comment hidden (obsolete)
Comment 4 m.a.riosv 2018-08-28 08:28:12 UTC
Still repro.
Version: 6.2.0.0.alpha0+ (x64)
Build ID: 414ef6cb187dd3bbcc917dbedf3c0c1cc8668f60
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-08-21_00:13:04
Locale: es-ES (es_ES); Calc: CL
Comment 5 QA Administrators 2019-09-02 09:22:21 UTC Comment hidden (obsolete)
Comment 6 Thomas Lendo 2019-09-02 11:01:19 UTC
Still repro for columns that will be smaller.
No repro for columns that will be wider.
Version: 6.4.0.0.alpha0+ (x64)
Build-ID: 41cd3e8e817c8c33a13608e62eeb06ce2c6977e4
CPU-Threads: 12; BS: Windows 10.0; UI-Render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-01_22:04:10
Gebietsschema: de-AT (de_AT); UI-Sprache: de-DE