Bug 153682 - FORMATTING: Objects are moved in LibreOffice Draw even if I group them
Summary: FORMATTING: Objects are moved in LibreOffice Draw even if I group them
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
7.3.6.2 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-17 06:20 UTC by Wilhelm Erth
Modified: 2023-03-29 12:47 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
A screenshot of a slide after I've reopened the file. All the objects are moved. The writing, however, should be covered by white rectangles. (194.09 KB, image/png)
2023-02-17 06:23 UTC, Wilhelm Erth
Details
A screenshot of the PDF viewer of the slide when it was exported to PDF. It shows how the slide actually should look like. (107.00 KB, image/png)
2023-02-17 06:24 UTC, Wilhelm Erth
Details
A LibreOffice Draw drawing for testing (487.69 KB, application/vnd.oasis.opendocument.graphics)
2023-03-04 22:25 UTC, Wilhelm Erth
Details
The original file which caused the bug (14.77 MB, application/vnd.oasis.opendocument.graphics)
2023-03-04 22:28 UTC, Wilhelm Erth
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wilhelm Erth 2023-02-17 06:20:01 UTC
Description:
I used LibreOffice Draw to create some structures. Therefore I pasted a screenshot into a new slide and added some rectangles to the slide and placed them over parts of the screenshot. To avoid moving some objects, I grouped them for each slide and saved all. After opening the file again, the screenshot is looking different (it's larger than the area I cut and chose) and all the objects on the slide were moved so the slide doesn't look like I made it.

Steps to Reproduce:
1. Paste a screenshot or an other image file into LibreOffice Draw.
2. Right-click on the object and choose "Cut".
3. Cut the image. 
4. Choose some rectangles from the toolbar and add them onto the image.
5. Mark all objects on a slide using Ctrl+A and right-click choosing "Group".
6. Save the file.
7. Close the file.
8. Reopen the file again. 

Actual Results:
The rectangles aren't at the position where I have placed them the last time I have worked with the file. Furthermore, the images are cut in another way than I cut them.

Expected Results:
The slide looks the same as it looked when I saved it the day before. All the objects are on the position where they should be.


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: de
Module: DrawingDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
[Information added manually]
Version: 7.3.6.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 4; OS: Linux 5.14; UI render: default; VCL: kf5 (cairo+xcb)
Locale: de-DE (de_DE.UTF-8); UI: de-DE
Calc: threaded
Comment 1 Wilhelm Erth 2023-02-17 06:23:17 UTC
Created attachment 185422 [details]
A screenshot of a slide after I've reopened the file. All the objects are moved. The writing, however, should be covered by white rectangles.
Comment 2 Wilhelm Erth 2023-02-17 06:24:10 UTC
Created attachment 185423 [details]
A screenshot of the PDF viewer of the slide when it was exported to PDF. It shows how the slide actually should look like.
Comment 3 Stéphane Guillou (stragu) 2023-03-04 15:58:56 UTC
Hi Willhelm!

Could you please:
- test a version that is currently supported, 7.4 or 7.5
- if you can still see the issue, provide an example document for us to test, which you can attach here

Thank you!
Comment 4 Wilhelm Erth 2023-03-04 22:25:36 UTC
Created attachment 185764 [details]
A LibreOffice Draw drawing for testing

Hi, here's a file I created using LibreOffice 7.5.0.3. I reopened it several times but the objects stayed at their position. However, in the document created with LibreOffice 7.3, they are moved after reopening. I will add this file in advance.
Comment 5 Wilhelm Erth 2023-03-04 22:28:11 UTC
Created attachment 185765 [details]
The original file which caused the bug

Hi, here's the original file I created with LibreOffice 7.3 as described in the report. When I reopen it, nearly all the rectangles as well as the screenshots are moved. This happen both using LibreOffice 7.3 (in the computer lab of my university) or 7.5 (at home on my private computer).
Comment 6 QA Administrators 2023-03-05 03:33:39 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2023-03-05 08:12:47 UTC
Thank you, Willhelm.

I can't reproduce the issue with attachment 185765 [details] and:

Version: 7.5.1.2 (X86_64) / LibreOffice Community
Build ID: fcbaee479e84c6cd81291587d2ee68cba099e129
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Elements display just as in the PDF you provided.

If the issue only happens with a file created with LO 7.3, I'm wondering if this should be closed as "resolved - works for me" given that that version won't see any further bug fixes.

I can't even reproduce the issue by ungrouping, re-grouping and saving with LO 7.3:

Version: 7.3.7.2 / LibreOffice Community
Build ID: e114eadc50a9ff8d8c8a0567d6da8f454beeb84f
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded
Comment 8 Buovjaga 2023-03-29 12:47:47 UTC
Yep, let's close