| Summary: | EDITING Writer crashes when pasting Object from Draw over selected Image | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Milos Sramek <msramek22> |
| Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | critical | CC: | cno, mcavalleri91, michael.stahl |
| Priority: | medium | ||
| Version: | Inherited From OOo | ||
| Hardware: | x86-64 (AMD64) | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Attachments: |
Files demonstrating the bug
backtrace |
||
Interesting :) Usually this action does not crash LibreOffice. (to be sure, I pasted the image in the Writer doc outside the frame first - same problem). I guess it's related to the huge history of such a document ?? Thanks Milos, Cor (In reply to comment #1) > Interesting :) > > Usually this action does not crash LibreOffice. > (to be sure, I pasted the image in the Writer doc outside the frame first - > same problem). > I guess it's related to the huge history of such a document ?? > > Thanks Milos, > Cor You seem to be right. I've noticed now that the images in the odt file are (probably ancient) SVXB (StarOffice bitmap/animation) objects and the images copied from Draw are Draw 8 objects. So these two are probably not compatible and therefore LO crashes. One can find type of the object by using 'paste special'. It looks like the first option in the dialog is the actual object type. Milos (In reply to comment #2) > You seem to be right. I've noticed now that the images in the odt file are > (probably ancient) SVXB (StarOffice bitmap/animation) objects and the > images copied from Draw are Draw 8 objects. So these two are probably not > compatible and therefore LO crashes. > > One can find type of the object by using 'paste special'. It looks like the > first option in the dialog is the actual object type. Ah, that is what I had forgotten :) Usually I do a paste special and then Image (BMP) and that does not crash here ! So a worksforme ;) ? No, still a crash! (Would that still be a problem with newer files??) Created attachment 87452 [details]
backtrace
I can confirm this bug is no more on Win7 64-bit SP1 with LO 4.2.6.3 No crash after following steps to reproduce it and also Paste Special - Draw Format works as expected. No freeze, no crash, nothing... all works well. Set to WORKSFORME. Hi, The most recent LO 4.2.7.1 on Linux still crashes, but in 4.3.2.2 and 4.4.0.0.alpha0+ not. So, it looks like done. Thanks! Milos |
Created attachment 87406 [details] Files demonstrating the bug Writer crashes if pasting images copied from Draw. The aim is to rewrite an original image in writer. Therefore, it is selected. The expected result is that the original image is replaced by the new one. Pasting without having selected the image works with no problem - however, I want the described functionality since its preserves structure of the document. Verified in ApacheOO 3.4, ApacheOO 4.0, LibreOffice 4.0 and 4.1 To reproduce: 1. Open the attached GS4001.odg and GS4001-IntroducingLibreOffice.odt files. 2. In Writer find Figure 1 (the LO splash screen image) 3. In Draw copy one of the files on the first page, select the image in Figure 1 in Writer and hit CTRL-V. LO crashes. The same also with other images in the files The bug is 100% reproducible on all listed systems (64 bit ubuntu Linus) Further observations: The program crashes if using CRTL-V and Paste Special - Draw Format (which are probably the same). It is OK if I select GDI Metafile or Bitmap.