Bug 112038 - when importing docx, formula are created at default font size
Summary: when importing docx, formula are created at default font size
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: DOCX-Formula
  Show dependency treegraph
 
Reported: 2017-08-26 07:37 UTC by john
Modified: 2023-09-20 03:05 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A DOCX with a simple formula (11.58 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2017-08-26 10:05 UTC, Mike Kaganski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description john 2017-08-26 07:37:41 UTC
Description:
The default size set in the Formula Editor is used when creating new formulae in an imported .docx Word file. In my case, if I have recently set my default font size to 28 pt, for the purpose of creating presentations with Impress, then my imported Word file will have many oversized formulas in it, and it's quite annoying to have to manually update them all.

The workaround is to dump the imported file, set the default Formula size, and then import again. However surely it should be possible to obtain the correct formula size from the .docx file? What if the imported file has formulae of differing sizes?

What needs to be fixed: the way the Writer sets the font size in Formulas in an imported .docx file.


Steps to Reproduce:
Tested on a clean install of Ubuntu 17.04 64-bit.

Actual Results:  
As above

Expected Results:
As above


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0
Comment 1 Mike Kaganski 2017-08-26 08:43:36 UTC
Please attach a test DOCX document with formula which demonstrates described behavior. Otherwise you expect those who would want to reproduce and fix it to have MS Word to create a reproducer themselves (most are on Linux). Also note that Word formulas can have different representation when created with different versions of Word, which could make reproduction even harder.
Comment 2 Mike Kaganski 2017-08-26 10:05:26 UTC
Created attachment 135803 [details]
A DOCX with a simple formula

Reproducible with Version: 5.4.0.3 (x64)
Build ID: 7556cbc6811c9d992f4064ab9287069087d7f62c
CPU threads: 4; OS: Windows 6.19; UI render: default; 
Locale: ru-RU (ru_RU); Calc: group

and LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

Previous versions (up to 3.4) cannot import the formula at all.
Comment 3 QA Administrators 2019-04-03 02:57:10 UTC Comment hidden (obsolete)
Comment 4 john 2019-09-19 14:25:55 UTC
This bug is still present. Formulae are still created at the default text size, rather than inheriting a meaningful text size from the imported Word file.

Version: 6.2.6.2
Build ID: 1:6.2.6-0ubuntu0.18.04.1~lo1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-AU (en_AU.UTF-8); UI-Language: en-US
Calc: threaded
Comment 5 QA Administrators 2021-09-19 03:43:11 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2023-09-20 03:05:57 UTC
Dear john,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug