Bug 117361 - Changing formula font size does not update object size until clicked out
Summary: Changing formula font size does not update object size until clicked out
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2018-04-30 22:14 UTC by muso
Modified: 2024-11-21 13:22 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


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

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: 6.2.0.0.alpha0+ (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

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
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.
crashreport.libreoffice.org/stats/crash_details/74975f11-273f-4eba-8238-c0d05b36b737


-> is now a major bug in my opinion.
Comment 15 muso 2019-09-08 22:24:31 UTC
In LO 6.3.1.2 (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: 6.4.0.3 (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:
https://bugs.documentfoundation.org/show_bug.cgi?id=117361#c0
Comment 20 QA Administrators 2022-02-23 03:44:06 UTC Comment hidden (obsolete)
Comment 21 QA Administrators 2024-02-24 03:14:14 UTC Comment hidden (obsolete)