Bug 128414 - underbrace in math formula is displayed incorrectly without additional sm brackets
Summary: underbrace in math formula is displayed incorrectly without additional sm bra...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
6.3.2.2 release
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2019-10-27 14:48 UTC by AdamWysokinski
Modified: 2021-10-27 03:44 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description AdamWysokinski 2019-10-27 14:48:10 UTC
Description:
In the formula:
{ left [  matrix { a_11 # a_12 # a_13 # a_14 ## a_21 # a_22 # a_23 # a_24 ## bold {a_31} # bold{a_32} # bold{a_33} # bold{a_34}## a_41 # a_42 # a_43 # a_44} right ] } underbrace {A} times{ left [ matrix { b_11 # b_12 # b_13 # bold{b_14} ## b_21 # b_22 # b_23 # bold{b_24} ## b_31 # b_32 # b_33 # bold{b_43} ## b_41 # b_42 # b_43 # bold{b_44} } right ] } underbrace {B}
underbrace B is displayed incorrectly: should be under the second matrix, is displayed below both matrices

Steps to Reproduce:
1. Enter the formula:
{ left [  matrix { a_11 # a_12 # a_13 # a_14 ## a_21 # a_22 # a_23 # a_24 ## bold {a_31} # bold{a_32} # bold{a_33} # bold{a_34}## a_41 # a_42 # a_43 # a_44} right ] } underbrace {A} times{ left [ matrix { b_11 # b_12 # b_13 # bold{b_14} ## b_21 # b_22 # b_23 # bold{b_24} ## b_31 # b_32 # b_33 # bold{b_43} ## b_41 # b_42 # b_43 # bold{b_44} } right ] } underbrace {B}
2. check preview

Actual Results:
underbrace B under both matrices

Expected Results:
underbrace B under the second matrix


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.3.2.2
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 4; OS: Mac OS X 10.14.6; UI render: GL; VCL: osx; 
Locale: en-GB (en_GB.UTF-8); UI-Language: en-US
Calc: threaded
Comment 1 V Stuart Foote 2019-10-27 17:57:57 UTC
Confirmed on Windows 10 Heme 64-bit en-US (1903) with
Version: 6.3.2.2 (x64)
Build ID: 98b30e735bda24bc04ab42594c85f7fd8be07b9c
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

The sm nodes for the initial matrix and underbrace are evaluated correctly, following the '{} times {}' node, the same syntax for the second matrix and underbarce is not--and the underbrace is applied to both sm matrix nodes. 

Simple workaround of entering the the starmath formula with extra grouping of additonal bracket pairs correctly formats the nodes.

{{ left [  matrix { a_11 # a_12 # a_13 # a_14 ## a_21 # a_22 # a_23 # a_24 ## bold {a_31} # bold{a_32} # bold{a_33} # bold{a_34}## a_41 # a_42 # a_43 # a_44} right ] } underbrace {A}} times {{ left [ matrix { b_11 # b_12 # b_13 # bold{b_14} ## b_21 # b_22 # b_23 # bold{b_24} ## b_31 # b_32 # b_33 # bold{b_43} ## b_41 # b_42 # b_43 # bold{b_44} } right ] } underbrace {B}}

Similar to bug 89865 should not need it but we do.

@Regina, does ODF and MathML require more rigorous handling?
Comment 2 QA Administrators 2021-10-27 03:44:28 UTC
Dear AdamWysokinski,

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