Bug 159140 - FILEOPEN: save to .odt and reload causes figures on objects to be reordered
Summary: FILEOPEN: save to .odt and reload causes figures on objects to be reordered
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.3.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:odf, regression
Depends on:
Blocks: Writer-Images Z-Order
  Show dependency treegraph
 
Reported: 2024-01-11 21:27 UTC by Scott franco
Modified: 2024-06-04 06:52 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
This file demonstrates the issue. (493.11 KB, application/octet-stream)
2024-01-11 21:29 UTC, Scott franco
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott franco 2024-01-11 21:27:11 UTC
Description:
In a document for libreoffice writer, .odt format, the figures on the page are reordered on the page. The result is I have to fix the order before printing every time I open the file.

Steps to Reproduce:
1.Load the indicated file.
2. Notice that the picture, arranged at the back, is in front, and thus covers all other figures and text in the document.
3.Send the image to the back and save to .odt again.
4. Reload and notice that the image has come to the front again.

Actual Results:
Libreoffice writer does not keep the figure stacking order in the document.

Expected Results:
Should keep order in the saved document.


Reproducible: Always


User Profile Reset: No

Additional Info:
This causes the need to "fix" the document every time I load it.

Document is a single page, and exists at:

https://github.com/samiam95124/Pascal-P6/blob/master/doc/The_Pascal-P6_Compiler_cover.odt
Comment 1 Scott franco 2024-01-11 21:29:00 UTC
Created attachment 191882 [details]
This file demonstrates the issue.

This file demonstrates the issue. It is also available online at:

https://github.com/samiam95124/Pascal-P6/blob/master/doc/The_Pascal-P6_Compiler_cover.odt
Comment 2 Stéphane Guillou (stragu) 2024-01-11 23:02:12 UTC
Thank you for the report. Reproduced in:

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3cb1ed4339fc9aec414c0f112a69705a7a4d9cc6
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 3 Scott franco 2024-01-12 06:06:48 UTC
Yes, I have seen it in two different releases. The other one is 7.6.3.2/Ubuntu 20.04.6.
Comment 4 Stéphane Guillou (stragu) 2024-01-12 12:17:16 UTC
Not reproduced in:

Version: 7.2.0.4 / LibreOffice Community
Build ID: 9a9c6381e3f7a62afc1329bd359cc48accb6435b
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Reproduced in:

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

-> regression

Bibisected with linux-64-7.3 repository to first bad build [] which points to:

commit 504d78acb866495fd954fcd6db22ea68f174a5ab
author	Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>	Fri Aug 13 14:11:24 2021 +0200
committer	László Németh <nemeth@numbertext.org>	Wed Sep 01 10:09:37 2021 +0200
tdf#143574 sw: textboxes in group shapes - part 1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/120452

Attila, can you please have a look?
Comment 5 Stéphane Guillou (stragu) 2024-01-12 12:18:26 UTC
(In reply to Stéphane Guillou (stragu) from comment #4)
> to first bad build []
[4397b295075bc17dfbc91dc80e190fee9850dceb]