Bug 160566

Summary: formula object crops subscript
Product: LibreOffice Reporter: Potassium1
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: armlopez, miguelangelrv
Priority: medium    
Version: 7.6.5.2 release   
Hardware: All   
OS: Linux (All)   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: some examples of cropped subscript
single character formula subscript cropped
sample_document

Description Potassium1 2024-04-06 14:59:35 UTC
Description:
When I try to create a formula object with a single character and add a subscript,
the subscript gets cropped.
This also affects fractions, in this case, the subscript on the denominator is cropped.

Steps to Reproduce:
1.open libreoffice writer
2.create a single character formula object with subcript

Actual Results:
formula object with cropped subscript appear

Expected Results:
subscript should not be cropped


Reproducible: Always


User Profile Reset: No

Additional Info:
[Information automatically included from LibreOffice]
Locale: ko
Module: TextDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Potassium1 2024-04-06 15:01:25 UTC
Created attachment 193547 [details]
some examples of cropped subscript
Comment 2 Potassium1 2024-04-06 15:01:59 UTC
Created attachment 193548 [details]
single character formula subscript cropped
Comment 3 m_a_riosv 2024-04-07 20:58:31 UTC
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.
Comment 4 Potassium1 2024-04-08 03:54:50 UTC
Version: 7.6.5.2 (X86_64)
Build ID: 60(Build:2)
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ko-KR (ko_KR.UTF-8); UI: ko-KR
Calc: threaded
Comment 5 Armondo Lopez 2024-04-12 23:56:23 UTC
Thank you for reporting the bug. 

Please attach a sample document, as this makes it easier for us to verify the bug. I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' once the requested information is provided. 

(Note that the attachment will be public, remove any sensitive information before attaching it.)
Comment 6 Potassium1 2024-04-16 06:32:22 UTC
Created attachment 193701 [details]
sample_document
Comment 7 m_a_riosv 2024-04-16 18:16:09 UTC
The issue seems to be with paragraph format.
Go to the paragraph below to the formula with the issue.
Select up, including the formula.
Use [Ctrl+M] to clear the direct formats.
Now it is show fine.

If you have active Menu/View/Formatting Marks, you can see the different heights of the paragraphs.

So not a bug, but a formatting issue.