Description: Sometimes while editing odt document, Math formulas get lost. If you save the document and re-open it, you can: 1)see a puzzle piece icon and label object 1 (object [number of object]) in many of written formulas (I suppose after editing them in visual mode (when edited not in text field in the bottom)) 2) try to copy a formula and paste, nothing pastes and if you try to double-click and edit copied formula, appears dialog about OLE error 3) after re-open file formula looks deformed and when clicked, there is nothing in the editor 4) if you unpack a broken file, there is no object folders with numbers under puzzle, not damaged only Steps to Reproduce: 1.make a writer file in odt (1.3 extended) 2.write a formula 3.try to edit in visual mode 4.try to copy an object and paste 5.if nothing pasted, it is a bug 6.if it's OLE error on double-click on formula, it's that bug Actual Results: Sometimes i get OLE error and lost formulas in files Expected Results: Formulas have to be saved without errors Reproducible: Sometimes User Profile Reset: No Additional Info: [Information automatically included from LibreOffice] Locale: ru Module: TextDocument [Information guessed from browser] OS: Linux (All) Pasted info: OS is 64bit: yes Version: 7.1.7.2 / LibreOffice Community Build ID: 10(Build:2) CPU threads: 12; OS: Linux 5.13; UI render: default; VCL: gtk3 Locale: ru-RU (ru_RU.UTF-8); UI: ru-RU Ubuntu package version: 1:7.1.7-0ubuntu0.21.04.1~bpo20.04.1 Calc: threaded P.S. I tried in many versions: from ubuntu repo (this) (in this version, bug is less often), 7.3.0, 7.2.5 rc 2
Created attachment 178517 [details] a good file a good file
Created attachment 178518 [details] broken file after bug
Do not forget that visual Math editor is still an experimental feature. That said I can't confirm the described behavior. Best regards. JBF
found a new way to reproduce bug: 1.make a writer file in odt (1.3 extended) 2.write a formula 3.try to edit in visual mode 4.try to copy an object and paste 5.edit pasted formula 6.if it's OLE error on double-click on one of others formulas, it's that bug (or save and re-open a file)
and the main problem is that OTHER formulas are lost (not the one what was edited)
[Automated Action] NeedInfo-To-Unconfirmed
No repro with Version: 7.5.0.0.alpha0+ / LibreOffice Community Build ID: fe2d59a0730e60c0196baa46af12440afd343878 CPU threads: 4; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: en-US Calc: threaded
(In reply to Dmitry from comment #4) > found a new way to reproduce bug: > > 1.make a writer file in odt (1.3 extended) > 2.write a formula > 3.try to edit in visual mode > 4.try to copy an object and paste > 5.edit pasted formula > 6.if it's OLE error on double-click on one of others formulas, it's that bug > (or save and re-open a file) I tried this with your good file and the other formulas are not lost. I did not understand it first, but visual editing means you focus the cursor inside the formula object itself. Arch Linux 64-bit, X11 Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: 4172fcb7514ff8a9e9740ff0939e9a2f611edbce CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: fi-FI (fi_FI.UTF-8); UI: en-US Calc: threaded Built on 25 January 2023 Set to NEEDINFO. Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Dear Dmitry, This bug has been in NEEDINFO status with no change for at least 6 months. Please provide the requested information as soon as possible and mark the bug as UNCONFIRMED. Due to regular bug tracker maintenance, if the bug is still in NEEDINFO status with no change in 30 days the QA team will close the bug as INSUFFICIENTDATA due to lack of needed information. For more information about our NEEDINFO policy please read the wiki located here: https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Status/NEEDINFO If you have already provided the requested information, please mark the bug as UNCONFIRMED so that the QA team knows that the bug is ready to be confirmed. Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-NeedInfo-Ping
Dear Dmitry, Please read this message in its entirety before proceeding. Your bug report is being closed as INSUFFICIENTDATA due to inactivity and a lack of information which is needed in order to accurately reproduce and confirm the problem. We encourage you to retest your bug against the latest release. If the issue is still present in the latest stable release, we need the following information (please ignore any that you've already provided): a) Provide details of your system including your operating system and the latest version of LibreOffice that you have confirmed the bug to be present b) Provide easy to reproduce steps – the simpler the better c) Provide any test case(s) which will help us confirm the problem d) Provide screenshots of the problem if you think it might help e) Read all comments and provide any requested information Once all of this is done, please set the bug back to UNCONFIRMED and we will attempt to reproduce the issue. Please do not: a) respond via email b) update the version field in the bug or any of the other details on the top section of our bug tracker Warm Regards, QA Team MassPing-NeedInfo-FollowUp
Same problem, Debian 12 using 24.2.0.3 release in Polish on KDE. It's relatively hard to reproduce, but the Math component on it's own also fails to save .odt files. Seems to be file manipulation issue regarding formula editor component. If any further information is needed, please update the thread.
(In reply to Łukasz from comment #11) > Same problem, Debian 12 using 24.2.0.3 release in Polish on KDE. It's > relatively hard to reproduce, but the Math component on it's own also fails > to save .odt files. Seems to be file manipulation issue regarding formula > editor component. If any further information is needed, please update the > thread. You say it's hard to reproduce, but it would be good to have steps for how it can happen.
(In reply to Buovjaga from comment #12) > (In reply to Łukasz from comment #11) > > Same problem, Debian 12 using 24.2.0.3 release in Polish on KDE. It's > > relatively hard to reproduce, but the Math component on it's own also fails > > to save .odt files. Seems to be file manipulation issue regarding formula > > editor component. If any further information is needed, please update the > > thread. > > You say it's hard to reproduce, but it would be good to have steps for how > it can happen. Currently it's almost permament on my system, by which I mean I am usually unable to save any files using formula editor. Same thing goes for the OLE objects in Writer, as long as the file I'm editing is opened I can see the equations, but saved file lacks the embedded objects. I tried resetting the suite to default settings, opening in safe mode, installing Flatpak package and try using that: same result. It seems to happen at random, sometimes it works when, for example, I put machine to sleep and then wake it back up, but reboot doesn't usually fix the issue. The only clue is that when standalone Math window fails to save a file I get the following error in the logs: kf.kio.core: Malformed JSON protocol file for protocol: "trash" , number of the ExtraNames fields should match the number of ExtraTypes fields