Issue 57062

Summary: Writer hangs on file open of a given example
Product: Writer Reporter: andreschnabel <andre.schnabel>
Component: open-importAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: OOo 2.0Keywords: crash, oooqa, regression
Target Milestone: ---   
Hardware: All   
OS: Windows XP   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
Example file none

Description andreschnabel 2005-10-31 16:06:40 UTC
When trying to open the attached example file, OOo 2.0 will hang (CPU-usage goes
to 100% and no interactions is possible anymore).

The file can be openened with OOo 1.1.5 without problems.
Comment 1 andreschnabel 2005-10-31 16:07:16 UTC
Created attachment 31054 [details]
Example file
Comment 2 michael.ruess 2005-11-01 07:53:31 UTC
MRU->OD: the file contains many frames with graphics inside; looks like a
"label" document.
Comment 3 christofarn 2005-11-23 13:20:11 UTC
I've two other files, full of colored changes in text, that makes that 
openoffice 2.0.0 on Windows XP hangs, if you open this file. I can open the 
files without any problems with openoffice 1.3 on Debian. As the document is 
confidential, please send an e-mail to christof.arn@ethikprojekte.ch, when you 
start solving this problem. I'll send you both files. 
Comment 4 Oliver-Rainer Wittmann 2005-11-24 08:25:19 UTC
OD->christofarn :
I would propose to submit a new issue for your documents, because until now it
isn't clear, if its the same defect. If this is the case, we can later mark the
new issue as a duplicate.
You can send your documents via eMail to me (ord@sun.com) or to MRU - your
documents will be handled confidential
Comment 5 Oliver-Rainer Wittmann 2005-12-08 09:12:58 UTC
First investigation reveals that the layout engine loops in method
<SwObjectFormatter::_FormatObj(..)>
Comment 6 stefan.baltzer 2006-01-02 12:23:42 UTC
SBA: Set internal "reference" field (OK in 1.1.5) according to Andres description.
Set Prio to P2 (a loop)
Comment 7 Oliver-Rainer Wittmann 2006-01-30 13:28:06 UTC
fixed in cws swqbf52 - changed file:
/sw/source/core/text/txtfly.cxx, 1.56.152.1

defect cause:
Since OOo 2.0 the text frames containing the graphic and some other text frames
are correct formatted. The empty paragraph in these text frames now wraps
correctly around the inner graphic and text frames. This causes these frames to
have a greater height. Thus, these text frames overlap and its content now wraps
around each other, because these text frames are anchored inside another big
text frame. This wrapping causes the layout loop.
Fixing this layout loop is too risky for OOo 2.0.2. But I decided to adjust the
wrapping behaviour of content of at-paragraph/at-character text frames, which
are anchored inside another text frame, to the wrapping behaviour, when such
text frames aren't anchored inside another text frame --> Now, a content of such
a text frame doesn't wrap around another text frame in the same layout context.
Comment 8 Oliver-Rainer Wittmann 2006-02-01 12:25:44 UTC
OD->MRU: Checked in internal installation set of cws swqbf52 - please verify.

re-open issue and reassign to mru@openoffice.org
Comment 9 Oliver-Rainer Wittmann 2006-02-01 12:25:49 UTC
reassign to mru@openoffice.org
Comment 10 Oliver-Rainer Wittmann 2006-02-01 12:25:57 UTC
reset resolution to FIXED
Comment 11 michael.ruess 2006-02-02 09:55:56 UTC
Verified fix in CWS swqbf52.
Comment 12 andreschnabel 2006-02-18 15:02:30 UTC
ok in 2.0.2RC1 -> close