Bug 135199 - OOXML round-trip sm Formula objects are nameless objects in the Navigator
Summary: OOXML round-trip sm Formula objects are nameless objects in the Navigator
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
3.5.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: filter:ooxml
Keywords:
Depends on:
Blocks: DOCX-Formula
  Show dependency treegraph
 
Reported: 2020-07-27 14:42 UTC by Telesto
Modified: 2024-08-02 03:15 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file ODT (42.86 KB, application/vnd.oasis.opendocument.text)
2020-07-27 14:42 UTC, Telesto
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Telesto 2020-07-27 14:42:44 UTC
Description:
FILEOPEN DOCX: OLE Formula objects are nameless objects in the navigator

Steps to Reproduce:
1. Open the attached file
2. Save to DOCX
3. File reload
4. Sidebar -> Navigator -> Expand Ole Objects

Actual Results:
List of nameless items

Expected Results:
Some object name (similar to DOC). Even generate something if DOCX doesn't support it


Reproducible: Always


User Profile Reset: No



Additional Info:
Found in
Version: 7.1.0.0.alpha0+ (x64)
Build ID: <buildversion>
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: Skia/Raster; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
3.5.7.2
Comment 1 Telesto 2020-07-27 14:42:59 UTC
Created attachment 163636 [details]
Example file ODT
Comment 2 V Stuart Foote 2020-07-27 17:32:49 UTC
Confirmed. Except...

The exported OLE sm Formula is written out directly as OOXML Office Math Markup Language OMML formula "runs". The annotations applied to the ODF draw:frame holding the sm Formula OLE is not filter exported into OOXML.

That is to say, IIUC, the draw:name attribute is not present in the export to OOXML--so it can not be restored after round trip which converts the OMML back to MathML and then StarMath syntax needed for the OLE formulas. 

Just not clear why they would not receive an OLE object name to display on filter import into the UI.

@Regina, Miklos?
Comment 3 V Stuart Foote 2020-07-27 17:47:17 UTC
(In reply to V Stuart Foote from comment #2)
> Confirmed. Except...

And, noticed that if I "touch" each object via its context menu -> Properties menu, when the OOXML has been opened and formulas filter imported that each will take on an object name in the Navigator.  But that on save/export back to OOXML on reopening the default object names are again blank to the UI.
Comment 4 QA Administrators 2022-08-02 03:30:57 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2024-08-02 03:15:29 UTC
Dear Telesto,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug