Bug 67997 - Wrapping arround a frame does not work when two frames are nearby
Summary: Wrapping arround a frame does not work when two frames are nearby
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 95695 (view as bug list)
Depends on:
Blocks: Anchor-and-Text-Wrap
  Show dependency treegraph
 
Reported: 2013-08-11 13:05 UTC by Daniel L
Modified: 2023-04-04 01:11 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Frame bugs compilation (17.17 KB, application/vnd.oasis.opendocument.text)
2013-08-11 13:05 UTC, Daniel L
Details
Frame bugs compilation (18.06 KB, application/vnd.oasis.opendocument.text)
2013-08-11 13:06 UTC, Daniel L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel L 2013-08-11 13:05:19 UTC
Created attachment 83937 [details]
Frame bugs compilation

Arrays ignore frame wrapping (page 1)

Sometimes(!), if you put 2 neared frames, the word wrapping of the second frame does not work (expected: page 2 / bug: page 3)

It's imposible to put a frame into the second column of a section anchored to paragraph if the paragraph does not begin into the second column (page 4).
Comment 1 Daniel L 2013-08-11 13:06:50 UTC
Created attachment 83938 [details]
Frame bugs compilation
Comment 2 Cor Nouws 2013-08-11 13:53:59 UTC
Hi Daniel,

Thanks for the report.
I can confirm the issues.
The first is for 'tables'
For the third : I'm not sure if that is really a (large) bug...

I change the summary of this bug for the second one.
Since issues need to be reported seperately, could you pls make a seperate one for the 1st (and 3rd?) issue you mentioned? You may still refer to the attachment in this issue.

Finally: I see the issues are present in LireOffice 3.3.0 already (so probably inherited from OOo). I set the version to 3.3.0, the oldest known version with the issue.

Cheers,
Cor
Comment 3 Cor Nouws 2013-08-11 14:00:25 UTC
To see this issue: 

 - go to the third page of the attachment.
 - shrink the righter frame a bit at the left side
   > the wrapping starts to work
Comment 4 Daniel L 2013-08-11 20:08:47 UTC Comment hidden (obsolete)
Comment 5 Stanislav Horacek 2013-08-19 17:53:47 UTC
Many thanks for this report - pictures are also affected, the bug has been present since OpenOffice.org times.

As an ugly workaround, I put non-breaking space at the beginning of paragraph which is not wrapped, then it works (if you don't mind that space).
Comment 6 QA Administrators 2015-04-19 03:21:12 UTC Comment hidden (obsolete)
Comment 7 Stanislav Horacek 2015-04-20 17:02:01 UTC Comment hidden (me-too)
Comment 8 kengraebe 2015-08-31 16:01:09 UTC
I've experienced similar problems with frame wrapping but 5.0.0.5's predecessors posed no problems. i have several adjacent frames anchored to the page of a 2 column page. I've experimented by arranging the frames to not overlap the heading nor the column separator without success. when a portion of a paragraph is being wrapped, everything is as desired until a new page is displayed. at this point the wrapped text is hidden by spaces but not deleted as re wrapping shows the full paragraph text.
Comment 9 QA Administrators 2016-09-20 10:29:40 UTC Comment hidden (obsolete)
Comment 10 Stanislav Horacek 2016-09-22 18:54:38 UTC
The same behaviour observed in 5.2.1 and current master (Kubuntu 16.04).
Comment 11 Xisco Faulí 2017-09-29 08:50:11 UTC Comment hidden (obsolete)
Comment 12 Daniel L 2017-10-04 15:17:40 UTC
Still reproducible - tested in 5.4.1.2 (Windows 6.1 x64)
Comment 13 QA Administrators 2018-10-05 02:52:26 UTC Comment hidden (obsolete)
Comment 14 Stanislav Horacek 2018-12-30 18:28:20 UTC
Still reproducible in:
6.3.0.0.alpha0+
Build ID: ac7508c31873d79e56b406c9bf931caae63d4975
Time: 2018-12-14_16:04:08
Comment 15 QA Administrators 2020-12-30 03:39:22 UTC Comment hidden (obsolete)
Comment 16 Stanislav Horacek 2020-12-31 13:23:42 UTC
Still reproducible in:
Version: 7.2.0.0.alpha0+
Build ID: 039a87fb1022fe4d6e66e1540e7fb49cb154f08a
CPU threads: 4; OS: Linux 5.8; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-12-07_14:45:11
Calc: threaded
Comment 17 QA Administrators 2023-01-01 03:24:11 UTC Comment hidden (obsolete)
Comment 18 Stanislav Horacek 2023-01-01 17:26:30 UTC
Still reproducible in:
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 29c2bba1f3ef216d226c97197185066880fc1ab5
CPU threads: 4; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ
Calc: threaded
Comment 19 Justin L 2023-03-27 22:41:40 UTC
*** Bug 95695 has been marked as a duplicate of this bug. ***
Comment 20 Justin L 2023-04-04 01:11:15 UTC
The following code change makes this bug report's documents seem to work better. However, it fails lots of unit tests, and some of those look awful. Our algorithms don't work good when the available space is very low - the 1 inch wrap minimum is easily ignored in many situations.

https://gerrit.libreoffice.org/c/core/+/149897

Just providing this patch as a code pointer. Perhaps it - along with many other changes - could be part of a "new wrapping algorithm".