Bug 159685 - FILEOPEN PPTX: Mathematical Equation is missing (which works in 7.6.4.1 and broken in 24.2.0.3 (Win10))
Summary: FILEOPEN PPTX: Mathematical Equation is missing (which works in 7.6.4.1 and b...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.2.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2024-02-12 06:12 UTC by SATYA SRINIVAS K
Modified: 2024-08-29 04:15 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Miscellaneous insert tools power point 2010.pptx (130.98 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2024-02-12 06:16 UTC, SATYA SRINIVAS K
Details
7.6.4.1_Vs_24.2.0.3.png (731.03 KB, image/png)
2024-02-12 06:17 UTC, SATYA SRINIVAS K
Details
fonts_used_formula (187.01 KB, image/png)
2024-08-28 04:18 UTC, SATYA SRINIVAS K
Details

Note You need to log in before you can comment on or make changes to this bug.
Description SATYA SRINIVAS K 2024-02-12 06:12:02 UTC
Description:
Mathematical Equation is missing when Open the attached pptx file in Libre office.

Steps to Reproduce:
1. Open the attached "Miscellaneous insert tools power point 2010.pptx" file in Libre office.
2. Observe that, the mathematical equation is missing.

Actual Results:
Mathematical equation is missing

Expected Results:
Content should not miss.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
Attachments : "Miscellaneous insert tools power point 2010.pptx" and "7.6.4.1_Vs_24.2.0.3.png"
Comment 1 SATYA SRINIVAS K 2024-02-12 06:16:50 UTC
Created attachment 192511 [details]
Miscellaneous insert tools power point 2010.pptx
Comment 2 SATYA SRINIVAS K 2024-02-12 06:17:10 UTC
Created attachment 192512 [details]
7.6.4.1_Vs_24.2.0.3.png
Comment 3 Xisco Faulí 2024-02-12 08:30:44 UTC
Not reproduced in

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 181f4c5ac9834c15fe0acc4b6e92f064e95ab32c
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 4 Rafael Lima 2024-02-12 13:27:13 UTC
I am unable to reproduce the issue as well.

It's working fine both in 7.6 and 24.8.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 3fc0eb2bc8b439bda286e0c87a9814d90cc9d9d5
CPU threads: 12; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+wayland)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL threaded

Let's wait and see if anyone else can reproduce this bug.
Comment 5 V Stuart Foote 2024-02-12 17:44:25 UTC
Can't reproduce Win11 with current master against 24.8.

The imported OLE formulas are fully rendered to Impress canvas using default OpenSymbol fonts.

Please check the font you are using, double click a formula and check the Format -> Fonts... dialog for the OLE.

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 17fc445938dedb05125a6d6a5b4ce7f34ea95f59
CPU threads: 8; OS: Windows 10.0 Build 22621; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 6 QA Administrators 2024-08-26 03:15:50 UTC Comment hidden (obsolete)
Comment 7 SATYA SRINIVAS K 2024-08-28 04:18:01 UTC
I am able to reproduce the issue , I don't know if I am missing anything here, I have atached the information about the fonts being used for this formula. Please check "fonts.png"
Comment 8 SATYA SRINIVAS K 2024-08-28 04:18:37 UTC
Created attachment 196056 [details]
fonts_used_formula
Comment 9 V Stuart Foote 2024-08-28 11:30:40 UTC
(In reply to V Stuart Foote from comment #5)

Hmm, strangely on a Win10 desktop (was fine on my Win11 a laptop) I am able to reproduce issue when opening the OOXML .pptx into Impress on each of these builds:

Version: 24.2.5.1 (X86_64) / LibreOffice Community
Build ID: 2ccb78ad6bdfe3f3356a7a7f294ec388775c5816
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

Version: 24.8.0.3 (X86_64) / LibreOffice Community
Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded


Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: f9b5dad09dbdd56ff064096695a946b03e9e2914
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

But on this Win10 system it also is wrong in
Version: 7.6.6.3 (X86_64) / LibreOffice Community
Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded

This is weird.

@Regina, any insight to what might be happening?
Comment 10 SATYA SRINIVAS K 2024-08-28 14:13:23 UTC
(In reply to V Stuart Foote from comment #9)
> (In reply to V Stuart Foote from comment #5)
> 
> Hmm, strangely on a Win10 desktop (was fine on my Win11 a laptop) I am able
> to reproduce issue when opening the OOXML .pptx into Impress on each of
> these builds:
> 
> Version: 24.2.5.1 (X86_64) / LibreOffice Community
> Build ID: 2ccb78ad6bdfe3f3356a7a7f294ec388775c5816
> CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
> Locale: en-US (en_US); UI: en-US
> Calc: CL threaded
> 
> Version: 24.8.0.3 (X86_64) / LibreOffice Community
> Build ID: 0bdf1299c94fe897b119f97f3c613e9dca6be583
> CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
> Skia/Vulkan; VCL: win
> Locale: en-US (en_US); UI: en-US
> Calc: CL threaded
> 
> 
> Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
> Build ID: f9b5dad09dbdd56ff064096695a946b03e9e2914
> CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 19045); UI render:
> Skia/Vulkan; VCL: win
> Locale: en-US (en_US); UI: en-US
> Calc: CL threaded
> 
> But on this Win10 system it also is wrong in
> Version: 7.6.6.3 (X86_64) / LibreOffice Community
> Build ID: d97b2716a9a4a2ce1391dee1765565ea469b0ae7
> CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL:
> win
> Locale: en-US (en_US); UI: en-US
> Calc: CL threaded
> 
> This is weird.
> 
> @Regina, any insight to what might be happening?

Whatever the screenshots, I have attached is on Win11, For me It is happening on win11 as well.
Comment 11 SATYA SRINIVAS K 2024-08-28 14:41:18 UTC
Appologies for my previous comment, I tested only on win10 and the screenshots attached is from win10 only. Sorry for confusion.
Comment 12 Regina Henschel 2024-08-28 14:56:40 UTC
I have tested 7.6.4. The Math object is faulty there for me (on Windows 11) and it is faulty in the mentioned versions 24.2, 24.8, 25.2 and 7.6.6.

If it works for you in a version, please look whether it is really a Math object. In earlier versions of LibreOffice the image of the equation was used and put as background fill of a text box.

Does there exist any version where the import of an pptx equation as Math object has ever worked?

In version 5.4.3, for example, a Math object was generated and at the same time a text box with the equation image as background. The Math object was already faulty there for me in 5.4.3 (on Windows 11). I do not know, when having the additional text box was fixed.

Michael Stahl had worked on the import of equations from pptx in https://cgit.freedesktop.org/libreoffice/core/commit/?id=332a796366b7cb91dff41de4b9ffb17843112a3e
Looking at the date, that is likely in version 5.2

Perhaps Michael has an idea.

More in regard to equation import is in bug 129061.
Comment 13 V Stuart Foote 2024-08-28 21:17:13 UTC
Pulled out my Win11 laptop to retest. Downloaded attachment 192511 [details] again to that system. And...

All three OLE formulas render. Even if I open the OLE and change the example formula from the Element deck of the SB.

Same handling of textbox 5, textbox 6, textbox 7 all labeled in SB Navigator as OLE objects on Win11 with both 24.2.4.2 (51a6219) and recent 25.2.0 (dda85e2 2024-08-15)

So I'm really confused now.
Comment 14 Regina Henschel 2024-08-28 22:00:47 UTC
I have tested with a new user profile. The variables in the Math formulas are still missing.