Bug 77940 - Formatting error when use equation insert on the component '=' in relation operation
Summary: Formatting error when use equation insert on the component '=' in relation op...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
Reported: 2014-04-25 17:34 UTC by liangyx25
Modified: 2021-08-31 03:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:

compare on the form of original equation and deduction with bug (16.21 KB, image/png)
2014-04-25 17:34 UTC, liangyx25
"%=" in each line (45.04 KB, image/png)
2015-01-01 02:37 UTC, luis
Example of the bug (16.28 KB, application/vnd.oasis.opendocument.text)
2015-07-18 18:43 UTC, Shimi Chen

Note You need to log in before you can comment on or make changes to this bug.
Description liangyx25 2014-04-25 17:34:46 UTC
Created attachment 97972 [details]
compare on the form of original equation and deduction with bug

When I spread an equation in several sections such as compoud Section1 = Compound Section2 = Compound Section3 = Compound Section 4 ,and so on.
  That's the process of equation deduction from formular one to another and so on.
  So, for the readability, the operation making 'newline' before the the component '='is inevitable ,then the compound Section2 and following will start in the next line ,break the uniform of the total equation.
  That comes the bug :
     It seems that every component '=' needs two formulars in the left and right around ,which construct an entire equation,but as we have start a new line , the left formular around the original component '=' seems to be left floating and not passing its properties to the next line.       
     And what's more the next line (starting with component '=' and the right formular originally around it) seems not inheritting the properties from the originally entire equation ,then the new started next line (formed by the 'newline'operation) needs a new left formular itself ,but actually the left formular is left above, so it left with an unrecognizable character '?',actually in handstand, in the left . 
    See the attached screenshot for vivid view.
Comment 1 luis 2015-01-01 02:37:40 UTC
Created attachment 111601 [details]
"%=" in each line

"%=" in each line. like this:

%=-(1 over 2 + i {sqrt{3}}over{2})
Comment 2 luis 2015-01-01 02:41:43 UTC
fedora 21 
gnome-shell 3.14

Id. de compilación:
Comment 3 Buovjaga 2015-01-02 10:15:08 UTC
Ok, as we got a "no repro" result, I would like the original reporter to test on LibreOffice version 4.3 or 4.4 RC.

If the problem persists, change back to UNCONFIRMED. If not, change to RESOLVED WORKSFORME. Thanks.
Comment 4 QA Administrators 2015-07-18 17:36:02 UTC Comment hidden (obsolete)
Comment 5 Shimi Chen 2015-07-18 18:42:45 UTC
I can confirm this bug.
Let me try and make the issue more clear:
Starting a math object with the "=" sign makes sense sometimes (mathematically), if you are continuing a calculation from the previous line.

Trying to start a new line with the "=" sign results in an inverse red question mark, as the "=" symbol in LO Math objects expects to have elements on both of it's sides.

This is strongly related to bug 41739, yet not a duplicate of it.

As luis tried to convey, there is a workaround, which is to add a "%" sign before the "=".

I'm setting this to NEW but it could be argued that this is not a bug at all. It all depends on what the project believes the behavior of "=" should be. I personally tend to agree with the reporter, as I also use "=" a lot in new lines. It would be much more convenient for "=" to be rendered regardless of the existence of elements on both sides.
Comment 6 Shimi Chen 2015-07-18 18:43:20 UTC
Created attachment 117315 [details]
Example of the bug
Comment 7 QA Administrators 2016-09-20 10:18:21 UTC Comment hidden (obsolete)
Comment 8 Shimi Chen 2016-10-31 09:24:59 UTC
Still occurs in (Arch Linux x86-64).
Comment 9 QA Administrators 2017-11-01 22:12:33 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2021-08-31 03:55:41 UTC
Dear liangyx25,

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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

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

Warm Regards,
QA Team