Bug 59641 - Tools->Import Formula->MathML copies already entered formula
Tools->Import Formula->MathML copies already entered formula
 Status: RESOLVED FIXED None LibreOffice Unclassified Formula Editor (show other bugs) 3.6.4.3 release All All medium normal Not Assigned target:4.2.0

 Reported: 2013-01-21 00:34 UTC by Mike Kaganski 2013-06-20 14:00 UTC (History) 0 users

Attachments
Sample mml file to test (1.11 KB, application/mathml+xml)
2013-01-21 00:34 UTC, Mike Kaganski
Details

 Note You need to log in before you can comment on or make changes to this bug.
 Mike Kaganski 2013-01-21 00:34:45 UTC 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 newline ", put the caret after the last . 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 newline " Actual result: two lines with ones before the formula: "1 newline 1 newline " This does not happen when importing a .odf formula. Marcos Souza 2013-06-17 14:20:03 UTC I can reproduce this with latest master, and with Linux, so putting this as platform -> All. Marcos Souza 2013-06-19 17:57:47 UTC I sent a patch fixing this: https://gerrit.libreoffice.org/#/c/4369/ Let's wait the guys review :) Commit Notification 2013-06-20 13:58:59 UTC 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. Marcos Souza 2013-06-20 14:00:40 UTC Fixed in master. Thanks for reporting!