[Libreoffice-bugs] [Bug 143881] FORMULA: abs{x}^2 is formatted with unexpected operator precedence

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Aug 22 17:27:29 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=143881

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever confirmed|0                           |1

--- Comment #7 from Mike Kaganski <mikekaganski at hotmail.com> ---
This is definitely an inconsistent behavior, and a bug. However, fixing this is
naturally a compatibility problem.

There are two options:
1. Do what Dante suggests in comment 4 (the braces around the function).
Somewhat ugly, but the least intrusive solution keeping backward and forward
compatibility.
2. Introduce a compatibility flag, that would signal that abs priority is
changed. That would allow to use new precedence in new documents, and allow to
keep the formula layout in existing documents without the flag, but will break
the formula in older versions of software (or AOO). Also users would face
different behavior of formulas in different cases (maybe even inside the same
ODT, if two formulas internally have two different flag values).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210822/d3a7e838/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list