GNOME Bugzilla – Bug 658490
Unnecessarily many formats are being stored.
Last modified: 2011-09-08 19:14:46 UTC
Apply the patch of bug #658472. in A1 type =today() select A1 Format->Cells->Format go to custom page and in the format code entry type (not paste): mmmm mmm mm m okay after resizing column A you see that the format has been aplied select A1 Format->Cells->Format go to custom page note that "mmmm mmm mm m" is selected. There are also formats: "mmmm mmm mm " "mmmm mmm mm" "mmmm mmm m" "mmmm mmm " "mmmm mmm" "mmmm mm" and so on. These were added to the hash while the format was typed and the preview rendered. Apparently we never remove them from the hash.
With a slightly different patch for bug #658472 now already applied, this can be made visible by commenting out the ref_count check in go_format_refcount_cb.
Created attachment 196018 [details] [review] proposed patch The patch has 2 parts: 1) deletion of code related to avoiding ref_count==1 formats in go_format_for_each 2) check in go_format_unref for formats with only a reference in the hash
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.