Bug 153267 - Writer Document is not correctly saved
Summary: Writer Document is not correctly saved
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-29 09:56 UTC by Dorange-Pattoret Didier
Modified: 2023-01-30 13:17 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A file for test (147.67 KB, application/vnd.oasis.opendocument.text)
2023-01-29 09:57 UTC, Dorange-Pattoret Didier
Details
A file with correctly working macros (159.22 KB, application/vnd.oasis.opendocument.text)
2023-01-30 09:18 UTC, Dorange-Pattoret Didier
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dorange-Pattoret Didier 2023-01-29 09:56:43 UTC
Description:
I wrote a macro which creates a chart with two ellipses.
But if I save and reopen it, one ellipse disappears.

Steps to Reproduce:
1.Open the attached file
2.Click on the Button 
3.Save, Close and Reopen the file

Actual Results:
One ellipse disappears

Expected Results:
Two ellipses


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Version: 7.4.4.2 / LibreOffice Community
Build ID: 85569322deea74ec9134968a29af2df5663baa21
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Comment 1 Dorange-Pattoret Didier 2023-01-29 09:57:58 UTC
Created attachment 184999 [details]
A file for test
Comment 2 m_a_riosv 2023-01-29 13:00:07 UTC
After running the macro, editing the chart, there is only one x-y data.
And doing Menu/Tools/Update - Update all, one ellipse disappear.
Seems you need to rework the macro.
There is https://ask.libreoffice.org/, where if you need you can receive good help about macros.
Comment 3 Dorange-Pattoret Didier 2023-01-30 09:14:58 UTC
Hello,
You are right. My code was not correct. 
This is not a bug.
I attach a file with working macros.
Sorry.
Thanks.
Comment 4 Dorange-Pattoret Didier 2023-01-30 09:18:41 UTC
Created attachment 185009 [details]
A file with correctly working macros