| Summary: | Tools->Import Formula->MathML copies already entered formula | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Mike Kaganski <mikekaganski> |
| Component: | Formula Editor | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | medium | ||
| Version: | 3.6.4.3 release | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | target:4.2.0 | ||
| i915 platform: | i915 features: | ||
| Attachments: | Sample mml file to test | ||
I can reproduce this with latest master, and with Linux, so putting this as platform -> All. I sent a patch fixing this: https://gerrit.libreoffice.org/#/c/4369/ Let's wait the guys review :) Marcos Paulo de Souza committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=41de10f5fd181dc45b487d2ac29cd2b4fbb34710 Fix fdo#59641 - Duplication in formula when import mathml The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. Fixed in master. Thanks for reporting! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.
Created attachment 73352 [details] Sample mml file to test When using Import Formula feature, if some formula is already entered in the editor, importing a MathML file first copies the current formula, and then pastes the MathML content. This makes the preceeding formula to show twice. 1. Open Math 2. Enter the following: "1 <ENTER> newline <ENTER>", put the caret after the last <ENTER>. 3. Menu Tools -> Import Formula -> MathML 1.01 -> select some .mml file (attached is a sample mml file created from an example from mathjax site) Expected: there should be symbol One followed by newline followed by the newly imported formula: "1 <ENTER> newline <ENTER> <Imported formula>" Actual result: two lines with ones before the formula: "1 <ENTER> newline <ENTER> 1 <ENTER> newline <ENTER> <Imported formula>" This does not happen when importing a .odf formula.