Bug 72171

Summary: Other: Regression: LO Formulas cannot be broken in their components
Product: LibreOffice Reporter: Callegar <sergio.callegari>
Component: Formula EditorAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED WORKSFORME    
Severity: normal CC: ilmari.lauhakangas, rb.henschel
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard: BSA
Crash report or crash signature: Regression By:

Description Callegar 2013-11-30 13:48:29 UTC
Problem description:

In AOO (and in older versions of LO) it was possible to insert a formula and then to select it and break it into its textual components. In current LO this is not possible anymore. Once a formula is selected (e.g. in draw or impress) it is possible to open a contextual menu that includes the entry 'break'. However, breaking does not work. After break one still has an embedded formula object in the document. In AOO the formula can be broken into its textual elements.  Similarly, in current LO, formulas cannot be converted to polygons, even if the conversion entry appears in the contextual menu. In current AOO, this works.

Being able to break formulas is quite useful to apply colors or modifications to formula elements, or to design formulas and then to be able to use their parts as 'shapes' to build complex graphics.

Recently this functionality has been broken in LO, even if I would not be able to say when this regression has been introduced.  This means that to manipulate formula elements as shapes, one needs to use AOO (or at least to have AOO installed in parallel to LO).

Steps to reproduce:

1. start libreoffice draw or libreoffice impress
2. use insert -> object -> formula to open the formula editor and insert a formula (any formula can be used here)
3. exit the formula editor and select the formula
4. right click to open the contextual menu. Select 'break'

Current behavior:

Nothing happens. The formula object is still a formula object.  This is quite evident by double clicking on it. The formula editor opens.

Expected behavior (and AOO behavior)

The formula is broken into its textual and graphical components.
After the break the individual parts of text can be selected, converted to curves or polygons, etc.
Operating System: All
Version: unspecified
Comment 1 Regina Henschel 2013-11-30 19:20:18 UTC
I can confirm the problems.

If I use Version: 4.2.0.0.alpha1+
Build ID: 0adea894d6d55ead0ff58c76ce142f5d4e1014a4 on Windows 7, then I get this behavior: 
If I use the tool "Break" or the tool "Convert to Curve" or tool "Convert to Polygon" or tool "Convert to Contour", I get the text "!!br0ken!!"

If I use those tools in Version: 4.1.3.2
Build ID: 70feb7d99726f064edab4605a8ab840c50ec57a, then nothing happens and the object remains an OLE, as reported.
Comment 2 Buovjaga 2014-11-05 07:26:00 UTC
It works now.

Win 7 64-bit 4.3.3.2 and Version: 4.4.0.0.alpha1+
Build ID: b7d8a58ff2698ffc6e22943f64aa97c5ea253bd9
TinderBox: Win-x86@42, Branch:master, Time: 2014-11-05_00:40:38