Bug 151089 - Formula with underbrace blocks slide display (when the formula contains more than 17 characters) (Cairo & FreeType?)
Summary: Formula with underbrace blocks slide display (when the formula contains more ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Object
  Show dependency treegraph
 
Reported: 2022-09-20 15:09 UTC by Dominique
Modified: 2025-04-03 03:11 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dominique 2022-09-20 15:09:52 UTC
Description:
Problem with math formula

LibreOffice 7.3.5.2
Linux 5.15 (Xubuntu 22.04.1)

On libreoffice impress, some formula with underbrace block libreoffice

Examples:

The two following formula works fine:
color green{ {vec d = -(Ze² vec E_0 over {m_e ω²}) } underbrace {toto}}
color green{ {vec d = cos[ωt] } underbrace {toto}}

The following one fails and block libreoffice in diaporama mode. Unpredictable graphic behaviour in edition mode, have to close libreoffice.
color green{ {vec d = -(Ze² vec E_0 over {m_e ω²}) cos[ωt] } underbrace {toto}}

The following formula works fine:
color green{ { aaaaaaaaaaaaaaaaa } underbrace {toto}}

The following one fails and block libreoffice in diaporama mode. Unpredictable graphic behaviour in edition mode, have to close libreoffice.
color green{ { aaaaaaaaaaaaaaaaaa } underbrace {toto}}

The formula that do not work on linux work well on Libreoffice 7.3.5.2 running on Mac OS X 11.6.8

Steps to Reproduce:
1. open impress on a new document
2. insert / object / object formula
3. type: color green{ {vec d = -(Ze² vec E_0 over {m_e ω²}) cos[ωt] } underbrace {toto}}
4. go back to the slide

Actual Results:
Impossible to continue to work with libreoffice. One have to quit and restart.

Expected Results:
Display the formula


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
The problem only occurs on Linux (Xubuntu 22.04.1, tested on two computers) with 7.3.5.2 version of libreoffice.
Works fine with the same libreoffice version on Mac OS X 11.6.8
Comment 1 Rafael Lima 2022-09-20 18:11:12 UTC
Not repro with

Version: 7.3.6.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.6-0ubuntu0.22.04.1
Calc: threaded

The formula works as expected in Linux. Is it maybe a MacOS-only issue?
Comment 2 V Stuart Foote 2022-09-21 11:19:08 UTC
no issue on Windows builds recent master
Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: a3bbdfab809609bec3475613a918eda699fbdc29
CPU threads: 8; OS: Windows 10.0 Build 19044; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 3 Dominique 2022-09-21 11:59:10 UTC
Dear Bugzilla staff,

Thanks for your quick reply. The problem I have is on Linux, not on Mac OS (it works on Mac OS with the same libreoffice version):

Detailed version info (it differs from the one you have tested):

Version: 7.3.5.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 6; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-US (fr_FR.UTF-8); UI: fr-FR
Ubuntu package version: 1:7.3.5-0ubuntu0.22.04.1
Calc: threaded

May be I should update, but I am using the latest update available with ubuntu.

Thanks a lot in advance for your help,

Best
Dominique
Comment 4 Rafael Lima 2022-09-21 14:13:46 UTC
(In reply to Dominique from comment #3)
> May be I should update, but I am using the latest update available with
> ubuntu.

The version you're using is recent enough.

The problem is that I cannot reproduce the bug. I'm on Kubuntu 22.04 and I tested both with kf5 and gtk3, but the formulas are inserted as expected and when I return to the slide, everything is fine.

Let's wait and see if anyone else can reproduce this issue.

Do you have another PC to test this bug?
Comment 5 Jean-Baptiste Faure 2022-09-30 15:30:17 UTC
Not reproducible for me with Version: 7.4.3.0.0+ / LibreOffice Community
Build ID: 316549de11552a6e719b3d7231fcc4adbfda27f3
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Ubuntu_20.04_x86-64
Calc: threaded

Best regards. JBF
Comment 6 Buovjaga 2023-02-15 14:24:43 UTC
I reproduce a non-catastrophic result on my main system Arch Linux. The slide is not shown, the screen is black. 

This seems to be about some change in our dependencies because I can not reproduce in a container with Fedora 30 testing 7.3, 7.4, 7.5. I see these warnings in the console of my debug build:

warn:vcl:102291:102291:vcl/unx/generic/gdi/cairotextrender.cxx:391: rendering text failed with stretch ratio of: 65, error occurred in libfreetype
warn:vcl:102291:102291:vcl/unx/generic/gdi/cairotextrender.cxx:391: rendering text failed with stretch ratio of: 10, error occurred in libfreetype
warn:canvas.cairo:102291:102291:canvas/source/cairo/cairo_canvashelper.cxx:1196: cairo_paint() failed: error occurred in libfreetype
warn:canvas.cairo:102291:102291:canvas/source/cairo/cairo_canvashelper.cxx:1196: cairo_paint() failed: error occurred in libfreetype
warn:vcl:102291:102291:vcl/unx/generic/gdi/cairotextrender.cxx:391: rendering text failed with stretch ratio of: 65, error occurred in libfreetype
warn:vcl:102291:102291:vcl/unx/generic/gdi/cairotextrender.cxx:391: rendering text failed with stretch ratio of: 10, error occurred in libfreetype

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9ee1b714c13db308c199172ffa0199405ca3d9c3
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 14 February 2023

Arch Linux 64-bit, X11
Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: 50(Build:3)
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
7.5.0-1
Calc: threaded
Comment 7 QA Administrators 2025-04-03 03:11:10 UTC
Dear Dominique,

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