Bug 134135 - UI:EDITING: Combining objects is not done correctly
Summary: UI:EDITING: Combining objects is not done correctly
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
6.4.3.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-18 22:18 UTC by disabled_20201025
Modified: 2020-07-14 04:06 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample of the bug (1001.03 KB, application/pdf)
2020-06-18 22:18 UTC, disabled_20201025
Details

Note You need to log in before you can comment on or make changes to this bug.
Description disabled_20201025 2020-06-18 22:18:15 UTC
Created attachment 162191 [details]
Sample of the bug

When combining two objects (e.g. two images A and B), the result is the image B connected to A, but the content of B is stretched across A and B (or the content of A stretched across A and B, depending on the selection order.)

It also happens when connecting two objects (rendering wrongly) or merging (the same as combining, but I'm not sure about what's expected).
Comment 1 Xisco Faulí 2020-07-13 16:34:10 UTC
Thank you for reporting the bug.
Unfortunately without clear steps to reproduce it, we cannot track down the origin of the problem.
Please provide a clearer set of step-by-step instructions on how to reproduce the problem.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the steps are provided
Comment 2 disabled_20201025 2020-07-13 23:44:25 UTC
Good evening, sorry for taking too long to answer back.

I discovered this bug when I was editing an existing document, but the bug happens for created documents as well.

Here's what I did:

*Combining

1. Selected two pictures to combine
2. Right clicked on the selected pictures and clicked on Shapes > Combine
3. The result is a single object with one of the pictures stretched across the joined object

*Connecting

1. Selected two pictures to connect
2. Right clicked on the selected pictures and clicked on Shapes > Connect
3. The result is an object with one of the pictures looking as if it was twisted or something like that.
Comment 3 Regina Henschel 2020-07-14 00:07:16 UTC
All these operations work on path-objects (= polygons and Bézier curves). Other objects are converted to path-objects before the operations are applied.

When converting an image to a path-object, you get a rectangular path, where the image is a background fill.

These operations build one object from the set of selected objects. The background for the resulting object is taken from that object, which has the lowest z-order. That is, which would be behind all other objects, if the objects would have the same position.

LibreOffice is not and will not be a picture processor.

For to join two images you might use this workaround: Align the images so that they touch each other. Select them together and export the selection (Checkbox 'Selection'!) to a new picture, e.g. as png-file.