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

            Bug ID: 162797
           Summary: Images anchored with cell getting stacked at one place
                    at large y positions in xlsx file.
           Product: LibreOffice
           Version: 24.2.5.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

Description:
ref: https://github.com/jmcnamara/XlsxWriter/issues/1089

If I add an image at a position where y > 2147483648 (2**31), the image doesn't
get rendered at the expected position.
Note: The value of y is in the file in character(?) units.

In UI, I can move the image downwards but when I save and reopen, the image
moves back to it's original position.

As I documented in the referenced issue, it appears that we are using a signed
32 bit integer to get this value and probably preventing integer overflow. Just
a guess though.

Steps to Reproduce:
1.Create a blank Spreadsheet
2.Add an image in the last row and anchor it to the cell
3. Save and reopen the file


Actual Results:
Observe that the image has moved somewhere else (near 13212 cell in default row
height)

Expected Results:
The image should stay as it was placed.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 480(Build:3)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-IN (en_IN.UTF-8); UI: en-US
Ubuntu package version: 4:24.8.0~rc3-0ubuntu0.24.04.1~lo2
Calc: threaded

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

Reply via email to