Bug 41731 - FORMATTING: OLE anchoring problems
Summary: FORMATTING: OLE anchoring problems
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.4.3 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-12 13:26 UTC by severoraz
Modified: 2012-09-27 15:21 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
I attached the document I was working on. The bug is represented in several pages. You can see a manifestation through the pages 5-7, and 13-16 (147.41 KB, application/vnd.oasis.opendocument.text)
2011-10-12 13:26 UTC, severoraz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description severoraz 2011-10-12 13:26:36 UTC
Created attachment 52272 [details]
I attached the document I was working on. The bug is represented in several pages. You can see a manifestation through the pages 5-7, and 13-16 

Problem description: 
I have seen that sometimes one anchors an object just below a line, but sometimes the object gets put over the mentioned line.
Also, today I was working on a document with a lot of OLE objects and had to fix a lot of whitespace, including entire pages, created due to OLE objects not following their anchors properly. Or perhaps because Writer needs to improve in calculating whether a space is empty and is big enough to hold a specific object.

Steps to reproduce:
1. Anchor semi-large (I worked with objects about 0.4 times the size of the page) OLE objects "To Paragraph" in a large document
2. Perform some reordering in the document, insert page breaks before the  page with the objects.

Current behavior:
The frames get moved around and sometimes a lot of empty space is wasted because frames do not occupy it when they could and should.

Expected behavior:
The document positioning of objects should remain intact

I am using Ubuntu 11.04
Comment 1 sasha.libreoffice 2012-02-04 05:47:52 UTC
My be this problem can be solved this way:
select OLE object, right click it, select "Object" from context menu
in dialog  "Object" select first tab
there is area "Position" in bottom
Try experiment with settings of this area. My be objects will behave as needed. If no, then tell me again.
Comment 2 Joel Madero 2012-08-05 16:59:59 UTC
In your document I see what you're talking about but when I try to reproduce it seems to work fine. What I did:

1. Copied a couple pages out of your document.

2. Moved the tables into the correct location (ie. fixed the problem that you were seeing)

3. Moved things around a bit

4. Inserted a page break immediately before one of the tables.

Everything seemed to work fine. I'm going to mark this as WORKSFORME, if it still doesn't work for you please reopen the bug and give a bit more detail on how to reproduce. 

Thanks for helping us!
Comment 3 severoraz 2012-08-05 20:38:52 UTC
Yes I don't think it happens anymore. Should this happen again I will reopen the bug; until then, I will mark as fixed.
Comment 4 allen 2012-09-27 15:21:23 UTC
Maybe duplicate ticket:  https://www.libreoffice.org/bugzilla/show_bug.cgi?id=43038

I'll need to confirm whether this behavior still exists.