<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Editing a particular math formula destroys the UI under GTK3"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=127189">127189</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Editing a particular math formula destroys the UI under GTK3
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.0.7.3 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Formula Editor
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jbfaure@libreoffice.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
In the formmula {expression_1} underbrace {expression_2} if expression_1 is
large enough, the UI disappears and it is not possible to recover it without
closing LO.

Steps to Reproduce:
0. download first attachment (test_formula.odf)
1. in a terminal, launch LO with the following command : SAL_USE_VCLPLUGIN=gtk3
libreoffice6.3 test_formula.odf
2. in the command panel, add one letter at the end of first expression
(ABCD...)
3.

Actual Results:
View panel and command panel disappear and it is not possible to recover the
hand on LO. The only thing to do is to close LO using Ctrl+Q or the main menu.

In the terminal, I get several blocs of the following error messages:
(soffice:18182): Gtk-WARNING **: 21:32:09.346: drawing failure for widget
'OOoFixed': error occurred in libfreetype
(soffice:18182): Gtk-WARNING **: 21:32:09.346: drawing failure for widget
'GtkEventBox': error occurred in libfreetype
(soffice:18182): Gtk-WARNING **: 21:32:09.346: drawing failure for widget
'GtkGrid': error occurred in libfreetype
(soffice:18182): Gtk-WARNING **: 21:32:09.347: drawing failure for widget
'GtkWindow': error occurred in libfreetype

No other messages than these ones. 

Same behavior if the math formula is embedded in a text document. If I open a
text document (e.g. the second attachment) containing such a formula with LO
under GTK3, the formula is not visible. If I try to edit the formula the UI
disappears. All formulas that follow the wrong formula become invisible.

If I use the generic backend  (SAL_USE_VCLPLUGIN=gen libreoffice6.3
test_formula.odf) the underbrace becomes invisible when I edit the formula but
the UI is not destroyed. 

Expected Results:
Be able to view and edit a math formula like this one. 


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Even if the formula is not visible, PDF export works as expected.

I reproduce the problem in LO 6.0 (from Ubuntu), 6.1, 6.2, 6.3 and master (all
built at home under Ubuntu 18.04 x86-64).
My version of libfreetype is 2.8.1-2ubuntu2</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>