Bug 92369 - Lost position of a line drawing object after reopening .ods
Summary: Lost position of a line drawing object after reopening .ods
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: x86-64 (AMD64) All
: medium major
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-27 02:12 UTC by jihuan_tian
Modified: 2015-06-27 07:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Test Calc document for the above (123.17 KB, application/vnd.oasis.opendocument.spreadsheet)
2015-06-27 02:12 UTC, jihuan_tian
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jihuan_tian 2015-06-27 02:12:02 UTC
Created attachment 116857 [details]
Test Calc document for the above

1. If a line drawing object's position is anchored to cell in Calc, after saving the document and reopening it, the line's position will be lost. Usually, the line will jump to cell A1 in the sheet. It seems the cell anchoring information has not been saved with the drawing object.

2. In the above reopened document, in which the line object jumps to cell A1, if we use the mouse to drag the line object to some other cell, then save the document and reopen it, the line object completely disappears.

In addition, if the line drawing object's position is anchored to page, this anchoring position will be saved and remembered after each document reopening. For other types of objects, at present there seems to be no such problem.
Comment 1 tommy27 2015-06-27 07:14:40 UTC
bug is reproducible under Win8.1 x64 using LibO 4.4.3.2 
I confirm that on opening the file the line it's at A1 position and after moving, saving and reloading the line disappears

however both issues are not reproducible anymore in LibO 5.1.0.0.alpha1+ (*) where line is at the expected position at first load (as depicted in the screenshot inside the .ods file) and you can move it without disappearance of change in position after save and reload

so the bug persists in the 4.4.x codeline but is RESOLVED WORKSFORME at least in the 5.1.x branch

please test LibO 5.0.0 RC1 to see if the good news apply to the 5.0.x branch as well.


(*) Build ID: df7595a5f5871f8343e4ee3869ad153e3ae4a7f3
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-25_14:29:31
Locale: en-US (it_IT)