Apache OpenOffice (AOO) Bugzilla – Issue 105535
Word Processor crashes upon inserting pictures from file
Last modified: 2013-08-07 14:44:07 UTC
Upon inserting pictures into open office word processor, open office crashes, and repeatedly does so (once having reentered open office and recovered the document). I suspect it may have something to do with frames, as if I back up on the document and tend to delete the last frame I inserted that seems to fix the problem.
EDIT: Actually, upon further investigation, frames don't seem to have anything to do with it - I now have no idea why this happens.
I cannot reproduce this problem. Tested it with native OO 3.1 and 3.1.1 on WinXP, ubuntu 9.04 and SUSE 10.1. Do you work on a certain Linux distribution, e.g. ubuntu or Fedora running the by-packed OOo build? In this case, please refer to the distributors support or even run the native OOo builds which can be downloaded from OpenOffice.org.
Closed.
Created attachment 65086 [details] Example of a document in which it occurs.
Thanks you very much; with the attached document, the crash is reproducible.
MRU->OD: just insert a graphic into the attached document -> crash.
MRU->OD: crashreport ID's rvjwrdc for 300m60 and rdjwrdc for 310m19.
Investigation reveals that the built-in Frame Style "Graphics" has been changed - I suspect by accident. The internal anchor attribute of Frame Style "Graphics" is has been changed to "to frame". This causes the crash, when inserting a new graphic, because this Frame Style is used for newly inserted graphics. Workaround: - Open the document - Open the Stylist - Switch in the Stylist to Frame Styles - Modify Frame Style "Graphics" - Switch to pane "Type" in the format dialog of this Frame Style - Hit "Standard" button --> internal anchor attribute changes to "to page" Now, newly graphics can be inserted without crashing. Proposed fix: (A) Handle the situation that the internal anchor attribute is set to "to frame" --> fallback to anchor attribute "to paragraph", if no frame is found at which the newly inserted graphic can be anchored at. (Note: method <SwFlyFrmFmt::MakeFrms(..)>) (B) Assure that the internal anchor attribute of Frame Styles can not be changed via e.g. function Update Style of the Stylist.
Note: Issue 86930 is related to this issue regarding the unwanted possibility to change the anchor attribute is changeable for build-in Frame Styles.
*** Issue 107395 has been marked as a duplicate of this issue. ***
fixed in cws sw33bf02 - changed files: /sw/source/core/layout/atrfrm.cxx, change set 39630218e26b /sw/source/ui/app/docst.cxx, change set 1d7cfd750fe1
OD->MRU: Checked in internal installation set of cws sw33bf02 - please verify.
Verified fix in CWS sw33bf02.
Checked in DEV300m77.