Bug 123635 - Changing the default font size only affects certain symbols/expressions
Summary: Changing the default font size only affects certain symbols/expressions
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
6.1.5.2 release
Hardware: x86-64 (AMD64) All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Font-Size
  Show dependency treegraph
 
Reported: 2019-02-21 17:23 UTC by k-riley
Modified: 2022-10-17 18:05 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Impress file to show the two differen appearances of the formula (23.15 KB, application/vnd.oasis.opendocument.presentation)
2019-08-12 19:53 UTC, hardy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description k-riley 2019-02-21 17:23:20 UTC
Description:
If you change the default font size for the Formula editor, certain mathematical symbols and expressions are not initially affected by the change.

Steps to Reproduce:
1. Open Writer
2. On the menu bar, click Insert, Object, Formula...
3. On the Formula Editor menu bar, click Format, Font Size...
4. Change the font base size to a non-default value (not 12). Setting it to a very large value, such as 80, demonstrates this bug more clearly. 
5. Click the "default" button and click "yes".
6. Click "Ok"
7. Exit Writer, do not save the document.
8. Open Writer again
9. On the menu bar, click Insert, Object, Formula...
10. Type "sum a" without the quotes. If you had set the font base size to a relatively large value, you should clearly see that the summation symbol is much smaller than it should be. It appears to be the original default size of 12. The "a" character is the correct size, though.
11. Click on the white page in the Formula editor to exit back into Writer.
12. Save the document as an .odt file.
13. Exit Writer.
14. Open Writer again and open the saved document.
15. Double click on the "sum a" Formula object, thereby entering into the Formula editor.
16. Observe that the size of the summation symbol has been automatically corrected.


Try repeating the above steps, but instead of typing "sum a" in step 10, type in the following:   left[ matrix{ a#b ## c#d } right]

The vertical size of the matrix appears to be correct, but the horizontal size is wrong. The matrix is too narrow. If you go all the way through to step 16, you will see that the matrix's size will widen to the correct amount.

Actual Results:
 

Expected Results:
 


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
Version: 6.1.5.2 (x64)
Build ID: 90f8dcf33c87b3705e78202e3df5142b201bd805
CPU threads: 2; OS: Windows 10.0; UI render: GL; 
Locale: en-US (en_US); Calc: group threaded
Comment 1 Durgapriyanka 2019-02-28 22:05:45 UTC
Thank you for reporting the bug.I cannot reproduce both the bugs.

As you said in step 10, the summation symbol is in the correct size of default value 80.

The size of the matrix also is displayed correctly on the first time only even before saving the file and opening it again.
Comment 2 Durgapriyanka 2019-02-28 22:06:08 UTC
Version: 6.3.0.0.alpha0+
Build ID: b6b28931435e44aca92b8c0e1659f701e3ed1a87
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2019-01-30_06:57:04
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 3 mulla.tasanim 2019-03-14 02:40:04 UTC
Thank you for reporting the bug. I can confirm that the bug is present in


Version: 6.2.1.2 (x64)
Build ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL




Version: 6.3.0.0.alpha0+ (x64)
Build ID: 91cdf22b88a4f7bec243c8fb187627e766d3294c
CPU threads: 4; OS: Windows 6.3; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-08_00:38:10
Locale: en-US (en_US); UI-Language: en-US
Calc: CL
Comment 4 Xisco Faulí 2019-03-22 15:27:19 UTC
I can't reproduce this issue in

Versión: 6.2.2.2
Id. de compilación: 2b840030fec2aae0fd2658d8d4f9548af4e3518d
Subprocs. CPU: 1; SO: Windows 6.1; Repres. IU: predet.; VCL: win; 
Configuración regional: es-ES (es_ES); Idioma de IU: es-ES
Calc: threaded

nor in

Version: 6.3.0.0.alpha0+
Build ID: f8ca6e0a59bff51fcb09af4fa6d9cd458b32f223
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 Xisco Faulí 2019-03-22 15:31:07 UTC
Does it work if you disable OpenGl ? -> https://wiki.documentfoundation.org/OpenGL

I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the issue is still present
Comment 6 Buovjaga 2019-03-23 16:56:14 UTC
No repro

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 218916eb47e35fd14832d8f52225bf1d4d9c80a6
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-03-17_04:56:25
Locale: fi-FI (fi_FI); UI-Language: en-US
Calc: threaded

Arch Linux 64-bit
Version: 6.3.0.0.alpha0+
Build ID: 66b21521a95f7b2053aa99a23e0a4c34438af6c7
CPU threads: 8; OS: Linux 5.0; UI render: default; VCL: gtk3; 
Locale: fi-FI (fi_FI.UTF-8); UI-Language: en-US
Calc: threaded
Built on 22 March 2019
Comment 7 k-riley 2019-04-05 04:28:48 UTC
(In reply to Xisco Faulí from comment #5)
> Does it work if you disable OpenGl ? ->
> https://wiki.documentfoundation.org/OpenGL
> 
> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the issue is still present

The bug still occurs when OpenGL is disabled.
Comment 8 k-riley 2019-04-05 05:29:27 UTC
I'm also getting the bug in the portable version of LibreOffice. Version: 6.1.4.2
Comment 9 Buovjaga 2019-04-05 07:17:04 UTC
Do you see the same in a master build? https://dev-builds.libreoffice.org/daily/master/Win-x86_64@42/current/
Comment 10 k-riley 2019-04-07 14:40:22 UTC
(In reply to Buovjaga from comment #9)
> Do you see the same in a master build?
> https://dev-builds.libreoffice.org/daily/master/Win-x86_64@42/current/

I installed the April 7th master build today, and the bug is occurring in it.

Version: 6.3.0.0.alpha0+ (x64)
Build ID: 421e6fc3cd2e6fe37afbef341e2d0ad7b8edde37
CPU threads: 2; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-04-07_01:12:58
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

When you tried to reproduce the bug, did you close and then re-open Writer after changing the default font size (steps 7 and 8)? The reason I ask is because when I don't perform those steps, and I type "sum a" right after I change the default font size, the fonts are the correct size. The bug only appears after I restart Writer.
Comment 11 Buovjaga 2019-04-07 16:53:42 UTC
(In reply to k-riley from comment #10)
> When you tried to reproduce the bug, did you close and then re-open Writer
> after changing the default font size (steps 7 and 8)? The reason I ask is
> because when I don't perform those steps, and I type "sum a" right after I
> change the default font size, the fonts are the correct size. The bug only
> appears after I restart Writer.

Yes, I closed it.
Comment 12 hardy 2019-08-12 19:53:05 UTC
Created attachment 153327 [details]
Impress file to show the two differen appearances of the formula

I have also hit this bug of the formula editor in Impress (LibreOffice 6.3.0.4). I will attach a slide that shows my two formulas, one generated only with the changed default font size, the other corrected afterwards by changing the formula font size twice.
Comment 13 Buovjaga 2019-08-13 04:13:11 UTC
(In reply to hardy from comment #12)
> Created attachment 153327 [details]
> Impress file to show the two differen appearances of the formula
> 
> I have also hit this bug of the formula editor in Impress (LibreOffice
> 6.3.0.4). I will attach a slide that shows my two formulas, one generated
> only with the changed default font size, the other corrected afterwards by
> changing the formula font size twice.

Ok, let's set to NEW.

Are you using Windows or Linux or macOS?
Comment 14 hardy 2019-08-13 10:43:29 UTC
My observations in comment #12 were done under (Ubuntu) Linux.
Comment 15 QA Administrators 2021-08-13 03:54:56 UTC Comment hidden (obsolete)
Comment 16 hardy 2021-08-13 06:51:06 UTC
As proposed in the mass ping (last comment) I have re-tested this bug. Result: This bug is STILL PRESENT.

Following the steps from the very first comment of this bug report, this bug can still be easily reproduced.

I used the following LO version to check this: (7.1.5.2 under Linux)

Version: 7.1.5.2 / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: threaded