Bug 161761 - Wrap of object overlapping two linked frames does not apply to second frame's text
Summary: Wrap of object overlapping two linked frames does not apply to second frame's...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Anchor-and-Text-Wrap Frame
  Show dependency treegraph
 
Reported: 2024-06-24 11:30 UTC by Pit Zaclade
Modified: 2024-06-26 06:31 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
example of the incorrect graphic and figure wrap if places in two connected frames (155.26 KB, application/vnd.oasis.opendocument.text)
2024-06-24 11:34 UTC, Pit Zaclade
Details
minimal ODT (90.65 KB, application/vnd.oasis.opendocument.text)
2024-06-26 04:30 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pit Zaclade 2024-06-24 11:30:17 UTC
Description:
There are two connected frames with text and a graphic or/and an image, positioned on the lower border of frame1 and upper border of frame2.
The wrap with spacing is only correct in that frame, where the anchor is placed.

Actual Results:
there is no correct wrap in the other frame as in the frame with anchor of figure or graphic

Expected Results:
correct wrap in both frames


Reproducible: Always


User Profile Reset: No

Additional Info:
produce correct wrap in every frames
Comment 1 Pit Zaclade 2024-06-24 11:34:09 UTC
Created attachment 194925 [details]
example of the incorrect graphic and figure wrap if places in two connected frames
Comment 2 m_a_riosv 2024-06-24 23:12:13 UTC
You want an imaged anchored in a frame, applying the wrap in a different frame.
Doesn't look to me as a bug, but a not implemented possibility. Which BTW doesn't seem too easy having it implemented. How many things needs to be taken in account to get it up.
Comment 3 Stéphane Guillou (stragu) 2024-06-26 04:29:46 UTC
I can see one expects the wrap setting to also "overflow" to the next linked frame just like the text does. And how that would help with composing some layouts.

Same in OOo 3.3, so inherited.

Mike, I thought you might have an opinion on this?
Comment 4 Stéphane Guillou (stragu) 2024-06-26 04:30:15 UTC
Created attachment 194967 [details]
minimal ODT
Comment 5 Mike Kaganski 2024-06-26 06:31:22 UTC
it is of course inconsistent. It is natural to expect wrapping to work also in other objects. On the other hand, it is really complex, because here, the objects may overlap and have Z-order that is different from their anchoring order; their overlap settings could conflict, and so on. The anchor inside a frame establishes a direct relation between the objects, making implementation of the existing behavior much more straightforward.

I couldn't get MS Word to do any kind of wrapping of one shape's text around another. We have two kinds of objects (text box implemented using edit engine, and frame implemented using Writer layout engine), and only the latter allows nested anchoring; in Word, the text objects are of the same kind, and in this regards, they behave like our text boxes. So it is not an interoperability bug.

I set to new, enhancement, and low prio.