https://bugs.documentfoundation.org/show_bug.cgi?id=132112

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |stephane.guillou@libreoffic
                   |                            |e.org
             Blocks|                            |135859
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=15
                   |                            |1089
           Severity|normal                      |major
            Summary|Maths Formula on            |UI broken, Writer unusable
                   |Libreoffice writer          |when formula is wider than
                   |                            |the page (gtk3, gen)
            Version|6.4.2.2 release             |6.2.0.3 release

--- Comment #4 from Stéphane Guillou (stragu) 
<[email protected]> ---
I could reproduce the issue with creating a formula that overflows the page
width:

Steps:
1. Open Writer
2. Insert > Object > Formula
3. Paste in formula editor:
{~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~}
underbrace {vec v_e}

Result: Formula area is a grey block, many parts of the UI disappear. Even
though parts of the UI still can be interacted with, Writer is unusable.

This happens with gtk3 VCL.

With the gen VCL, the UI is completely unresponsive.

No issue with gtk2 nor with kf5 VCLs.

Console warnings for gtk3 (unique lines):

warn:vcl.gdi:77103:77103:vcl/source/outdev/font.cxx:1083: Font fallback to the
same font, but has missing codes
warn:legacy.osl:77103:77103:starmath/source/rect.cxx:81: GetTextBoundRect
failed
warn:starmath:77103:77103:starmath/source/rect.cxx:226: Ooops... (Font
missing?)
warn:vcl:77103:77103:vcl/unx/generic/gdi/cairotextrender.cxx:394: rendering
text failed with stretch ratio of: 428, error occurred in libfreetype
warn:vcl:77103:77103:vcl/unx/generic/gdi/cairotextrender.cxx:394: rendering
text failed with stretch ratio of: 10, error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'GtkDrawingArea': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'ImmobilizedViewport': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'GtkScrolledWindow': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'GtkBox': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'GtkGrid': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'GtkViewport': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'OOoFixed': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'GtkEventBox': error occurred in libfreetype
(soffice:77103): Gtk-WARNING **: 22:36:24.573: drawing failure for widget
'GtkWindow': error occurred in libfreetype

Console warnings for gen (unique lines):

warn:vcl.layout:77307:77307:vcl/source/window/layout.cxx:2172: desired border
at paint 3 is larger than expected 2
warn:vcl.gdi:77307:77307:vcl/source/outdev/font.cxx:1083: Font fallback to the
same font, but has missing codes
warn:legacy.osl:77307:77307:starmath/source/rect.cxx:81: GetTextBoundRect
failed
warn:starmath:77307:77307:starmath/source/rect.cxx:226: Ooops... (Font
missing?)
warn:vcl:77307:77307:vcl/unx/generic/gdi/cairotextrender.cxx:394: rendering
text failed with stretch ratio of: 428, error occurred in libfreetype
warn:vcl:77307:77307:vcl/unx/generic/gdi/cairotextrender.cxx:394: rendering
text failed with stretch ratio of: 10, error occurred in libfreetype
warn:legacy.osl:77307:77307:xmloff/source/core/SettingsExportHelper.cxx:176:
this type is not implemented now
warn:legacy.osl:77307:77307:xmloff/source/text/txtparae.cxx:387: hyperlink
without a URL --> no export to ODF
warn:vcl:77307:77307:vcl/unx/generic/gdi/cairotextrender.cxx:394: rendering
text failed with stretch ratio of: 426, error occurred in libfreetype

The warnings that are not seen with kf5 are the Gtk-WARNINGs and
cairotextrender.cxx / libfreetypes ones, making it look similar to bug 151089.

Tested with:

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: d36145d7cf6ca4d6072d4ab0a709bb8fe866336c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: threaded

Caolán, thought you might be interested.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=135859
[Bug 135859] [META] Formula-related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to