Bug 34611 - Incorrect contour handling of shapes after opening a document
Summary: Incorrect contour handling of shapes after opening a document
Status: RESOLVED DUPLICATE of bug 45376
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.3.1 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-23 06:04 UTC by openoffice
Modified: 2012-07-14 13:22 UTC (History)
0 users

See Also:
Crash report or crash signature:


Attachments
Sample document - change the font size or open print preview to see the effect (16.91 KB, application/vnd.oasis.opendocument.text)
2011-02-23 06:04 UTC, openoffice
Details
Similar behaviour for other (simple) shapes - change font size or open print preview to see the effect (18.60 KB, application/vnd.oasis.opendocument.text)
2011-12-23 14:22 UTC, openoffice
Details
Minimal test case (open print preview or change font size to see the effect) (19.85 KB, application/vnd.oasis.opendocument.text)
2012-01-08 04:21 UTC, openoffice
Details

Note You need to log in before you can comment on or make changes to this bug.
Description openoffice 2011-02-23 06:04:20 UTC
Created attachment 43702 [details]
Sample document - change the font size or open print preview to see the effect

When opening a document containing a filled bezier path drawing, 
the text is correctly wrapped around the contour of the drawing.
When changing the text (e.g. font size), the text wraps around 
another "virtual" contour that is different from the contour of the
drawing.

Reproduced on Windows Vista, Windows 7 and Ubuntu Linux


Steps to reproduce: 
Open attached document, click "page preview" -> contour is wrong

Further steps: 
Open context menu of drawing, select Wrap -> Page wrap (which should already
checked), and the contour is correct again.
Save the document and open it again -> contour is wrong again in page preview.
Comment 1 Björn Michaelsen 2011-12-23 11:50:16 UTC
[This is an automated message.]
This bug was filed before the changes to Bugzilla on 2011-10-16. Thus it
started right out as NEW without ever being explicitly confirmed. The bug is
changed to state NEEDINFO for this reason. To move this bug from NEEDINFO back
to NEW please check if the bug still persists with the 3.5.0 beta1 or beta2 prereleases.
Details on how to test the 3.5.0 beta1 can be found at:
http://wiki.documentfoundation.org/QA/BugHunting_Session_3.5.0.-1

more detail on this bulk operation: http://nabble.documentfoundation.org/RFC-Operation-Spamzilla-tp3607474p3607474.html
Comment 2 openoffice 2011-12-23 14:22:41 UTC
Created attachment 54762 [details]
Similar behaviour for other (simple) shapes - change font size or open print preview to see the effect

Confirmed to still happen using LibreOffice 3.5.0 beta1.

The same problem also appears when using simple (polygon) shapes. 

Steps to reproduce: 
- Open testcase2.odt
- Open print preview

Expected result: 
- Text flows correctly right of the triangle.

Actual result: 
- A part of the text appears inside the triangle.

Changing the triangle (fill colour, wrapping) corrects the text wrapping 
(until the document is closed and re-opened).
Comment 3 openoffice 2011-12-23 14:24:33 UTC
Confirmed to still happen using LibreOffice 3.5.0 beta1.
Comment 4 openoffice 2012-01-08 04:21:28 UTC
Created attachment 55283 [details]
Minimal test case (open print preview or change font size to see the effect)

The effect even occurs with a single box shape.

When switching to page preview or changing the font size of the text, the text wraps around an area left of the box shape (leaving a white box there). 

The distance between the box shape and the white box depends on the amount of (gray) margin shown left of the page (so the problem does not occur if the zoom level is so big that the page fills the entire screen). The white box even moves when changing the zoom level and re-entering page preview.

The problem occurs when opening OpenDocument and Word files (so is no pure OpenOffice import problem), and can be fixed by changing the box (e.g. fill style, wrapping, position) or re-loading the file (File->Reload; Close and Open does not work) - but the problem will reappear next time opening the file.
Comment 5 Urmas 2012-07-14 07:39:00 UTC

*** This bug has been marked as a duplicate of bug 48136 ***
Comment 6 openoffice 2012-07-14 13:22:29 UTC

*** This bug has been marked as a duplicate of bug 45376 ***