Created attachment 47199 [details] Try inserting the green rectangle, that work. Try same with text box. Crash. It is possible to insert a drawing object into a chart. For example draw a rectangle, copy it to clip board, set chart to editing mode and paste the rectangle. Because titles cannot be linked to a cell, but form control "text box" has this feature, I try to insert the form control into the chart. This results in an immediately crash. You may argue, that it is not intended to insert form controls into charts, but then LO shall not crash, but simple refuse to do so.
[Reproducible] with "LibreOffice 3.4.0RC1 – WIN7 Home Premium (64bit) German UI [OOO340m1 (Build:11)]". Steps to reproduce: 1. Menu 'View > Toolbars > Form Controls' to make toolbar visible 2. Design Mode on 3. click the yellow "Insert me" field, it's a form control 4. <ctrl+c> for copy 5. Double click chart Brey border around chart indicates chart edit mode 6. <ctrl+v> for paste Expected: Form control will be inserted Actual: crash No crash if you copy / paste the blue "Insert me" rectangle drawing Paste is not possible in OOo 3.1.1 Paste is possible in OOo 3.4-dev (obsolete version), and it also will crash. @Kohei: I saw you assigned in an least 1 similar "Chart crash" bug report Please feel free to reassign if it's not your area!
I forgot to mention: The crash also happens when I try to copy / paste form field to chart in a WRITER document
Hi Regina, So, I assume this (ability to copy-n-paste a form control into a chart object) is a valid feature? I can change a few things to prevent a crash, but the form control won't get saved to the file. If we need to support this, I need to find a way to save this to the file, and that will take a little more investigation.
Created attachment 47792 [details] this change will at least prevent the crash This change will at least prevent the crash, but it will still not save the form controls to the disk. Better than how it is now, but we may need to go a step further....
No, I do not think, that it is a valid feature now. I came across it by my attempt to get a text inside the chart, which is linked to the spreadsheet. Preventing the crash is enough for now. The real problem is linking Title and Subtitle to spreadsheet cells. And that would be a new feature.
Fixed on master (for 3.5) http://cgit.freedesktop.org/libreoffice/libs-core/commit/?id=6d2ddc29ef3fc8535edfda879404a2f8016e054e and request for review sent to the list for 3.4.1.
RC2 is bit by bit identical with release version, so separate items in the version picker are useless. Changes have been discussed with Michael Meeks.
RESOLVED, FIXED or CLOSED bugs cant be KEYWORD NEEDINFO.
no crash in LO 5.4