Issue 79391

Summary: crash after page style import due to wrongly assigned shape
Product: Writer Reporter: jr
Component: formattingAssignee: michael.ruess
Status: CLOSED FIXED QA Contact: issues@sw <issues>
Severity: Trivial    
Priority: P2 CC: issues
Version: 680m210Keywords: crash, oooqa, regression
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
testdoc with applied page style "Kopie" none

Description jr 2007-07-09 11:06:50 UTC
reproducable with 2.2 and m210 both on Kubuntu or Win XP

- download attached testdocument
- Open a new text document
- Open the styles and formatting dialog (F11)
- Choose "Load styles"
- disable "Text" and enable "Pages"
- Klick on "From File"
- select the testdoc and klick "Open"
- move the inserted grafic

-> OOo crashes, the recovery dialog appears, but cannot be closed
Comment 1 jr 2007-07-09 11:08:29 UTC
Created attachment 46641 [details]
testdoc with applied page style "Kopie"
Comment 2 jr 2007-07-09 11:09:34 UTC
adding keywords
Comment 3 michael.ruess 2007-07-09 16:00:59 UTC
MRU->OS: in the attached document, there is a drawing shape anchored in the
header of page style "Kopie". When "loading page styles" into a new blank
document, the shape will be visible on this default page. So the crash is no
surprise when trying to move this shape now...

Did not occur in OO 1.1.x.
Comment 4 Oliver Specht 2007-07-10 06:41:33 UTC
->od: looks like a layout problem.
>	sw680mi.dll!FindAnchor()  + 0xf bytes	C++
 	sw680mi.dll!SwDoc::ChgAnchor()  + 0x50b bytes	C++
 	sw680mi.dll!SwFEShell::ChgAnchor()  + 0x76 bytes	C++
 	sw680mi.dll!SwFEShell::EndDrag()  + 0x7b bytes	C++
 	sw680mi.dll!SwWrtShell::UpdateLayoutFrm()  + 0x10 bytes	C++
 	sw680mi.dll!SwEditWin::MouseButtonUp()  + 0xbff bytes	C++
Comment 5 Oliver-Rainer Wittmann 2007-07-10 15:00:43 UTC
fix in progress in cws swqbf101
Comment 6 Oliver-Rainer Wittmann 2007-07-11 09:04:57 UTC
fixed in cws swqbf101 - changed file:
/sw/source/core/doc/doclay.cxx, 1.49.86.1
Comment 7 andreas.martens 2007-07-19 14:29:56 UTC
Ready for QA.
Comment 8 michael.ruess 2007-07-23 15:59:24 UTC
Verified fix in CWS swqbf101.
Comment 9 michael.ruess 2007-08-02 11:25:27 UTC
Checked in 680m224.