Bug 106336 - EDITING: Copying column or row to another one with different width doesn't reposition image correctly
Summary: EDITING: Copying column or row to another one with different width doesn't re...
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: 2025-07-09 03:10 UTC (History)
2 users (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 Comment hidden (obsolete)
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 Comment hidden (obsolete)
Comment 7 Thomas Lendo 2020-09-26 10:38:43 UTC
Issue not only with columns but also with rows.

Still repro with 7.1.0.0.alpha0+ (Build ID: a8c218a52a639b0e7f689dea878a0421702628e0; OS: Linux 4.15; UI render: default; VCL: gtk3; TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-09-25_22:25:07; Calc: threaded).

Adding Samuel Mehrbrodt to CC list as he worked on image anchoring in the past e.g. at bug 114552.
Comment 8 QA Administrators 2022-09-27 03:31:18 UTC Comment hidden (obsolete)
Comment 9 Thomas Lendo 2023-07-09 22:43:29 UTC
Still repro with
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 77fca616e0bd79e0b405fd0b3543cf8e94e15df3
CPU threads: 2; OS: Linux 5.8; UI render: default; VCL: gtk3
Comment 10 QA Administrators 2025-07-09 03:10:51 UTC
Dear Thomas Lendo,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug