https://bugs.documentfoundation.org/show_bug.cgi?id=167450

            Bug ID: 167450
           Summary: With ODF version "1.2 extended (compatibility mode)",
                    moving a sheet from an ODS file to another, causes the
                    images to move
           Product: LibreOffice
           Version: 7.6.7.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Calc has an option to "Move or copy sheet" from an ODS file to another. Doing
so should result in the exact same sheet, with no changes at all, just moved
from one document to another. However, there is a bug causing the images to
change their position, when using the ODF format version "1.2 Extended
(compatibility mode)".

The issue did NOT happen in Calc version 7.5.9.2. It probably was introduced
somewhere in the 7.6 branch, because it can be reproduced in Calc 7.6.7.2, and
in every version since then up to the latest 25.2.4.3.

It does NOT reproduce in Calc 25.2.4.3 with ODF format version to "1.4 Extended
(recommended)".

Steps to Reproduce:
1. In Calc, go to Tools > Options... > Load/Save > General, and change the "ODF
format version" value to "1.2 Extended (compatibility mode)".
2. Create a new blank ODS file and save it as "first.ods".
3. Create a second new blank ODS file, and on it:
4. Increase the width of column A (by dragging the column header separator).
For the bug to be more noticeable, make the column at least double its original
width.
5. Copy any image (or take a screenshot), click on cell B1, and paste the
image.
6. Right click the image and make sure it has selected "Anchor > To cell" (it's
the default option anyway).
7. Right click the "Sheet1" in the tabs bar, and select "Move or copy
sheet...".
8. In the popup window, select "first.ods" and press "Copy".
9. Go back to the "first.ods" file, save it, close it, and reopen it.
10. Switch to the "Sheet1_2" tab. The image should be in the cell B1, but it's
instead in the middle of A1.

Actual Results:
In the moved or copied sheet, the images lose their position.

Expected Results:
The moved or copied sheet should be identical to the original one.


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 25.2.4.3 (X86_64) / LibreOffice Community
Build ID: 33e196637044ead23f5c3226cde09b47731f7e27
CPU threads: 8; OS: Windows 11 X86_64 (10.0 build 26100); UI render:
Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to