Issue 82846 - OOo crashes when pushing a char-anchored frame by expanding another frame.
Summary: OOo crashes when pushing a char-anchored frame by expanding another frame.
Status: CLOSED DUPLICATE of issue 81146
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.3
Hardware: PC Windows XP
: P2 Trivial (vote)
Target Milestone: ---
Assignee: michael.ruess
QA Contact: issues@sw
URL: http://www.ascor.ch/frame_crash.odt
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-22 11:43 UTC by oukourj
Modified: 2007-10-23 15:21 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description oukourj 2007-10-22 11:43:57 UTC
Steps to reproduce:

There are two ways. Either you can download the document I give in example
(http://www.ascor.ch/frame_crash.odt), select the "CORPS DE TEXTE" field and
push enter until it crashes (!), or follow the steps given here =)

1. Create a new document.
2. Create a frame in it. Don't touch the default settings.
3. Create another frame. Place it below the other one.
4. Set "anchor to char" in the second one, and place the anchor in the first frame.
5. Place the cursor inside the first frame and expand it - with carriage returns
(it will push the second one down the page).
6. Continue until you push the frames on the margin.

Expected result:
The first frame should continue to the second page, as the second one, which
sould stay at the same distance from the char it's anchored to.
Or at least, it should stop the carriage returns when it touches the end of the
page.

Actual results:
OOo crashes when the character the second frame is anchored to reaches the limit
of the page.
NB: Sometimes, it won't crash (if the second frame is on the right of the page
for example). To be sure it crashes, set the second frame's width to 100% of the
page writing zone.
Comment 1 discoleo 2007-10-22 17:37:15 UTC
Indeed, the crash happens with OOo 2.3 (stable), BUT is corrected in OOo 2.3 dev
m233.

See issue 81146 for further details.
(http://www.openoffice.org/issues/show_bug.cgi?id=81146)

This issue should be therefore be closed as FIXED.

[PS: I noticed that a 2nd page is NOT created, when the text shifts beyond the
visible page. Is this a *FRAME* bug?]
Comment 2 discoleo 2007-10-22 17:43:32 UTC
Well, I noticed additionally, that (at least in OOo 2.3 dev m233), the frame
does NOT extend only towards the bottom, BUT extends also upwards, pushing
elements on top of it out of the page. Just weird.
Comment 3 michael.ruess 2007-10-23 15:19:54 UTC
Works better with newest Dev build of OO 2.4 branch.
Has been fixed by implementation of issue 81146.

*** This issue has been marked as a duplicate of 81146 ***
Comment 4 michael.ruess 2007-10-23 15:21:21 UTC
Closed, will work fine in OO 2.4.