Bug 117361 - Changing formula font size destroys view
Summary: Changing formula font size destroys view
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
Reported: 2018-04-30 22:14 UTC by muso
Modified: 2020-02-23 16:45 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

initial state (20.86 KB, image/jpeg)
2018-04-30 22:14 UTC, muso
view after changing base size to 20 pt (15.21 KB, image/jpeg)
2018-04-30 22:15 UTC, muso
view after dragging a corner to increase size of the formula (9.47 KB, image/jpeg)
2018-04-30 22:16 UTC, muso
final result (7.77 KB, image/jpeg)
2018-04-30 22:16 UTC, muso
simple test presentation to reproduce the bug (39.64 KB, application/vnd.oasis.opendocument.presentation)
2018-05-06 15:40 UTC, muso
Changing formula size (9.62 KB, image/png)
2019-09-18 15:17 UTC, Uwe Dippel

Note You need to log in before you can comment on or make changes to this bug.
Description muso 2018-04-30 22:14:34 UTC
Created attachment 141800 [details]
initial state

- double-click on a formula in a slide
- use the menu Format -> Font size and select as base size 20 pt

result: the size of the formula element is too small to see the whole formula, therefore

- try to change the size of the element

result: this is impossible. dragging the element at a corner to increase its size makes it even smaller so that you cannot see anything.

Attached are screenshots documenting what is happening. This bug makes real-life usage of formulas in slides almost impossible. Therefore I set its severity to major.
Comment 1 muso 2018-04-30 22:15:05 UTC
Created attachment 141801 [details]
view after changing base size to 20 pt
Comment 2 muso 2018-04-30 22:16:11 UTC
Created attachment 141802 [details]
view after dragging a corner to increase size of the formula
Comment 3 muso 2018-04-30 22:16:59 UTC
Created attachment 141803 [details]
final result

the final result is a completely unreadable formula
Comment 4 Regina Henschel 2018-04-30 23:11:55 UTC Comment hidden (obsolete)
Comment 5 muso 2018-05-06 15:40:03 UTC Comment hidden (obsolete)
Comment 6 muso 2018-05-06 15:40:46 UTC
Created attachment 141933 [details]
simple test presentation to reproduce the bug
Comment 7 muso 2018-05-06 15:49:37 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2018-06-03 19:23:39 UTC
The formula is resized in the formula editor itself by using the attribute "size". So modify your formula to be:

size 20 { Profit = {Gewinn} over {eingesetztes Kapital} } 

Ignore the displayed box size and exit the formula editor.

Now you see the formula has resized nicely.

*** This bug has been marked as a duplicate of bug 49614 ***
Comment 9 Regina Henschel 2018-06-03 21:55:45 UTC
I consider the behavior a bug and it is not about resizing as in but 49614. If you change the font size in a formula in Writer or in Calc, then the Window, which contains the formula, is resized immediately, while you are in edit mode of the formula. That is not the case in Draw/Impress. 

Tested in Version: (x64)
Build ID: f7f2d03bd6f5aa5dcd0f7976b4a7f2db278c2f03
CPU threads: 8; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-05-25_05:00:28
Locale: de-DE (de_DE); Calc: CL
Comment 10 Buovjaga 2018-06-04 08:01:28 UTC
Fine, lowering severity as size xx {} works OK.
Comment 11 Xisco Faulí 2018-06-04 12:00:46 UTC
Reproduced in

Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

Version (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-
Comment 12 Regina Henschel 2018-06-04 12:52:11 UTC
(In reply to Buovjaga from comment #10)
> Fine, lowering severity as size xx {} works OK.

This issue is not about the finished formula, but about rendering the formula in edit mode. And in edit mode the formula window does not resize, if you change the formula size by using size xx {}.
Comment 13 muso 2018-09-04 12:54:11 UTC
The bug is still in LO 6.1.1.
Comment 14 muso 2018-12-05 01:51:22 UTC
It gets worse because following the steps of the initial comment LO 6.1.3 hangs/crashes now and only with the help of Windows task manager I can end soffice.bin to restart LO.

Here is the crash report.

-> is now a major bug in my opinion.
Comment 15 muso 2019-09-08 22:24:31 UTC
In LO (x64) it does not crash anymore but the problem persists. It is a major issue that one cannot change the size of formulas in Impress.
Comment 16 muso 2019-09-08 22:26:36 UTC
Note also that any change to the formula size cannot be undone.
Comment 17 Uwe Dippel 2019-09-18 15:16:46 UTC
Let me point to bug 49614, where JBF has repeatedly confirmed NOTABUG but a feature. I am unable to write a larger formula that is visible in the frame, and I'd appreciate help with this problem. 
It is true, the Size is 'protected', and it is possible to unprotect. But then, the font is just getting larger when I increase the size manually, though the invisibly hidden beyond the frame existing parts of the formula don't show up any more than before. 

Thanks for any hint, even if only a workaround.

An example formula is 
int from {0} to {2 π} {sin} left (ω t right ) dt = {left none − cos left (ω t right ) right rline} rsub {0} rsup {2 π} = − left (1 − 1 right ) = 0
When I Insert->Object->Formula and insert that formula, a tiny window 2x1 cm is created showing almost nothing. And unlocking the size shows the same part of the formula, though increased in size. See attachment.
Comment 18 Uwe Dippel 2019-09-18 15:17:37 UTC
Created attachment 154265 [details]
Changing formula size
Comment 19 muso 2020-02-07 17:50:06 UTC
Still in 

Version: (x64)
Build ID: b0a288ab3d2d4774cb44b62f04d5d28733ac6df8
CPU threads: 12; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-US
Calc: CL

following the steps in Version: