After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 546528 - Formula parser drops () from equations
Formula parser drops () from equations
Status: RESOLVED DUPLICATE of bug 69813
Product: Gnumeric
Classification: Applications
Component: Analytics
1.9.x
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-08-06 07:02 UTC by PathagenX
Modified: 2008-08-06 10:36 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description PathagenX 2008-08-06 07:02:56 UTC
Please describe the problem:
On WinXP, the official 1.9.1 win32 build's formula parser drops the ()s from equations, when entered as a formula from a cell. 
=(A1*2)+6 becomes =A1*2+6
=((A1+A2)+(A2-A1))/6 becomes =(A1+A2+(A2-A1))/6
and the like


Steps to reproduce:
1. Enter or edit an equation from cell
2. Enter or edit an equation in the bar
3. 


Actual results:
Functions correctly, sans some parenthesis entered into the equation.

Expected results:
Expectations would be the correct equation be parsed, unaltered.

Does this happen every time?
yes

Other information:
Windows XP, Official Gnumeric 1.9.1 build, standalone win32-gtk and freetype installations ALSO present on system.
Comment 1 Andreas J. Guelzow 2008-08-06 09:57:44 UTC
What is the problem? The correct equation is parsed and then shown in a standard form.
Comment 2 Jody Goldberg 2008-08-06 10:36:02 UTC
Sounds like he wanted the extra parenthesis to remain.
You are in luck, a patch to retain them just went in, and will be included in 1.9.2

*** This bug has been marked as a duplicate of 69813 ***