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 525107 - formulas imorted from text files are not evaluated.
formulas imorted from text files are not evaluated.
Status: RESOLVED FIXED
Product: Gnumeric
Classification: Applications
Component: import/export Text
git master
Other All
: Normal normal
: ---
Assigned To: Morten Welinder
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2008-03-30 11:33 UTC by Jean Bréfort
Modified: 2008-03-30 13:45 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (470 bytes, patch)
2008-03-30 12:02 UTC, Jean Bréfort
none Details | Review

Description Jean Bréfort 2008-03-30 11:33:44 UTC
I tested with a file containig the following two lines:

 =sqrt(1);=sqrt(2)
 =sqrt(3);=sqrt(4)

The formulas are correctly interpreted, but nothing is displayed until F9 is hit. Calling workbook_recalc_all instead of workbook_recalc makes things work (in stf_read_workbook, stf.c, line 213), but I'm not sure it's the best solution.
Comment 1 Jean Bréfort 2008-03-30 12:02:27 UTC
Created attachment 108265 [details] [review]
proposed patch
Comment 2 Morten Welinder 2008-03-30 12:54:29 UTC
Looks good.  Please commit to both branches.
Comment 3 Jean Bréfort 2008-03-30 13:13:24 UTC
Hmm, seems in does not work in all cases. Needs some more work before commiting.
Comment 4 Jean Bréfort 2008-03-30 13:45:46 UTC
Applied a slightly enhanced patch (same change in stf_read_workbook_auto_csvtab) so that it now seems to work in all cases.